is PHP configured with --with-mysql ?
Hi there, my name is Cesar Rodriguez and I am trying to upgrade from Caldera
Linux Server 2.3 into RedHat Server 8.0. The problem I encounter is that
after testing different scripts, php is working, except when I make an MySQL
call like mysql_connect() or mysql_pconnect().
The call is as follows:
$link = mysql_connect('localhost', 'user1', 'passwd')
or exit();
mysql_select_db ('mydb')
or exit ();
$result = mysql_query ('SELECT COUNT(*) FROM clients')
or exit ();
if ($row = mysql_fetch_array ($result))
..... etc ......
The message I get is:
"Fatal error: Call to undefined function: mysql_pconnect() in
var/www/html/lesson/firsta.php"
Seems that PHP4 does not find the MySQL library. I checked php.ini and
httpd.conf files and everything is in its place apparently. I re-installed
everything from scratch with no positive result. I would appreciate advice
on this issue.
Thanks
Cesar Rodriguez
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php