Re: AIX

From: Date: Thu, 26 Apr 2001 20:15:20 +0000
Subject: Re: AIX
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-2901@lists.php.net to get a copy of this message
What version of MySQL did you install, and what version does "phpinfo" say is installed ?? (remember, PHP comes with an old 'generic' version pre-builtin) Also, did you install MySQL using RPM's ? If you used the 'source' method (as I did) the line from "phpinfo" might say something like "--with-mysql=/usr/local/mysql" 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

« previous php.install (#2901) next »