Re: Problem with PHP and MySQl after install

From: Date: Thu, 03 Apr 2003 15:17:27 +0000
Subject: Re: Problem with PHP and MySQl after install
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-142149@lists.php.net to get a copy of this message
At 17:09 03.04.2003, Don spoke out and said: --------------------[snip]-------------------- >The expected MySQL section is not even listed in the phpinfo() page. This >would explain my "undefined function" errors when attempting MySQL >functions. What I can't figure out is why MySQL is not being recognized by >PHP. --------------------[snip]-------------------- I believe it's a directory mismatch between your mysql build and php build. Usually the mysql build is either located in /usr or /usr/local (check for directories /usr/include/mysql and /usr/lib/mysql), you need to specify the correct directory when configuring php. The next issue may be if you have multipls PHP versions (from RPM, or from your own builds) on your system - check which version Apache is using. Check your httpd.conf what installation it uses. -- >O Ernest E. Vogelsinger (\) ICQ #13394035 ^ http://www.vogelsinger.at/

« previous php.general (#142149) next »