Have you actually enabled the MySQL extension? You should have a line in your php.ini that says:
extension=mysql.so By the way, the Apache that comes with RH8 when combined with PHP does not give you a production-quality solution. So if you are running this thing for any sort of important service, you really need to upgrade your web server to Apache 1.3.27. -Rasmus On Tue, 4 Mar 2003, Darren Young wrote: > I have an app that runs just fine on RedHat 7.2 with compiled Apache and > PHP along with MySQL binaries installed from MySQL's site. I have a new > machine running RedHat 8.0 that is completely "generic", i.e only RedHat > Apache, PHP and MySQL RPM's installed. The error message I'm getting is: > > [04-Mar-2003 23:38:46] PHP Fatal error: Call to undefined function: > mysql_pconnect() in /var/www/html/zzmysql.php on line 49 > > That's in the app log file by the way, we all the errors there. The page > displayed is completely blank at the moment in time the error fires. > > > Persistent MySQL connections are disabled in the RedHat RPM's? > > RPM's installed are currently (via rpm -qa): > > httpd-2.0.40-11 > php-devel-4.2.2-8.0.7 > php-imap-4.2.2-8.0.7 > php-odbc-4.2.2-8.0.7 > php-snmp-4.2.2-8.0.7 > php-ldap-4.2.2-8.0.7 > php-pgsql-4.2.2-8.0.7 > php-4.2.2-8.0.7 > php-manual-4.2.2-8.0.7 > php-mysql-4.2.2-8.0.7 > > I'd really like to keep the RedHat install generic and would prefer no > compile from source for this app. The onIy other change I've made is to > copy the php.ini from the 7.2 machine over to /etc/php.ini to get the > config the same. If I restore the original php.ini back the page > displays but the app just does not work. It seems as though the mysql > functions just don't work quite right. > > Thoughts would be most appreciated. > > thx. > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php