Re: building php, using mysql for apache2
| From: | Steve Brown | Date: | Wed, 01 Jun 2005 13:39:07 +0000 |
| Subject: | Re: building php, using mysql for apache2 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-216147@lists.php.net to get a copy of this message | ||
> 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