Re: AIX
| From: | Andi Gutmans | Date: | Thu, 26 Apr 2001 21:09:28 +0000 |
| Subject: | Re: AIX | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-2900@lists.php.net to get a copy of this message | ||
The MySQL client library comes with the latest versions of PHP 4 so you are probably best off configuring your PHP installation without specifying anything about MySQL in the ./configure line. And if you really want to or have to use the libraries under /usr/local use --with-mysql=/usr/local (nuke the shared,)
Andi
At 03:08 PM 4/26/2001 -0500, Jacob Steinberger wrote:
Slowly but surely I was able to install PHP4, Apache, and MySql. All of which work, just not together. MySql is working fine, PHP4+Apache works, though when I try and have PHP access MySql I get: Fatal error: Call to undefined function: mysql_pconnect() in /usr/local/share/apache/htdocs/mainfile.php on line 17 Most of the sites I find this error on say that my PHP doesn't have support for MySql compiled in. Though, under phpinfo, I find this: --with-mysql=shared,/usr/local I've found numerous sites that have Linux RPMs that have a PHP4-MySql Package. Obviously, I can't make use of this because I'm running on AIX. I'm just curious if anyone knows what is correct? Do I need an added package to run PHP with MySQL? Or is the configuration of PHP with the MySql switch enough? Oy! Thanks... Jacob -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net For additional commands, e-mail: php-install-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net