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: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]