Re: [PHP-DB] Problem with PHP connectivity with mySQL (RedHat package)
If that works fine, check out for the php-xxx rpms including the php-mysql- one. CK Raju ** Message from InterScan E-Mail VirusWall NT ** ** No virus found in attached file noname.htm This is a virus free message scanned by Zyberway * End of message *** -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP-DB] Problem with PHP connectivity with mySQL (RedHat package)
For the future, run this very simple and make sure that MySQL support (or whatever is part of your build). Scott -Original Message- From: CK Raju [mailto:[EMAIL PROTECTED]] Sent: Saturday, March 30, 2002 7:40 AM To: Saulo Silva; [EMAIL PROTECTED] Subject: Re: [PHP-DB] Problem with PHP connectivity with mySQL (RedHat package) On Saturday 30 March 2002 08:12, Saulo Silva wrote: >Hi everybody > >I can't get PHP to work with mySQL. I'm using PHP as an Apache module >(RedHat) and the error message I get is the following message: Check out all the mysql- rpms and install the correct ones. They would work, if you can login in to the mysql monitor. Raju -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DB] Problem with PHP connectivity with mySQL (RedHat package)
On Saturday 30 March 2002 08:12, Saulo Silva wrote: >Hi everybody > >I can't get PHP to work with mySQL. I'm using PHP as an Apache module >(RedHat) and the error message I get is the following message: Check out all the mysql- rpms and install the correct ones. They would work, if you can login in to the mysql monitor. Raju ** Message from InterScan E-Mail VirusWall NT ** ** No virus found in attached file noname.htm This is a virus free message scanned by Zyberway * End of message *** -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DB] Problem with PHP connectivity with mySQL (RedHat package)
On Saturday 30 March 2002 10:42, Saulo Silva wrote: > Hi everybody > > I can't get PHP to work with mySQL. I'm using PHP as an Apache module > (RedHat) and the error message I get is the following message: Are both apache & php installed from RedHat rpms? > Fatal error: Call to undefined function: mysql_connect() in > /var/www/html/other/test.php on line 10 It's telling you that you don't have mysql support compiled into php (which you know). > I've tried to recompile PHP with mySQL support and restart httpd but > nothing changed. The problem is not with the mySQL database because I also > use Perl in our website and it works fine. If you're mixing RPMs installs with source tarball installs you have to make sure that the paths they use are the same. Check where your recompiled PHP installs its files (libphp4.so etc) Check in your httpd.conf that apache is loading those same files. -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk /* The only difference in the game of love over the last few thousand years is that they've changed trumps from clubs to diamonds. -- The Indianapolis Star */ -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DB] Problem with PHP connectivity with mySQL (RedHat package)
Hi everybody I can't get PHP to work with mySQL. I'm using PHP as an Apache module (RedHat) and the error message I get is the following message: Fatal error: Call to undefined function: mysql_connect() in /var/www/html/other/test.php on line 10 I've tried to recompile PHP with mySQL support and restart httpd but nothing changed. The problem is not with the mySQL database because I also use Perl in our website and it works fine. Can anyone help me? Best regards -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php