You are here: Re: [PHP] building php, using mysql for apache2 « PHP « IT news, forums, messages
Re: [PHP] building php, using mysql for apache2

Posted by Steve Brown on 06/01/05 16:39

> trying to build php4 with mysql4.1-12, for use in apache2. i have the
> following "./compile" that works for php5. however, when i try to use it for
> php4, i get a msg, stating that it can't find the MySQL Headers...

From http://us3.php.net/manual/en/ref.mysql.php:

===
For compiling, simply use the --with-mysql[=DIR] configuration
option where the optional [DIR] points to the MySQL installation
directory.

This MySQL extension doesn't support full functionality of MySQL
versions greater than 4.1.0. For that, use MySQLi.

If you would like to install the mysql extension along with the mysqli
extension you have to use the same client library to avoid any
conflicts.
===

PHP4 doesn't support the mysqli extension, so you must compile PHP w/
--with-mysql=/your/mysql/prefix/dir

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация