|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
mysql config problem
I got my php and mysql setup in Linux9, can do phpinfo, can create database & table in shell, can select, but when I do a mysql_connect in php, i got the following message
Fatal error: Call to undefined function: mysql_connect() in /var/www/html/php/php_practise/ch04/showmsg.php on line 9 I don't know what's wong, i checked i have php-mysql install in linux. In the config of mysql, i found that the Path to mysql shared library directory is set to None, is that the problem? if yes, where should i find the correct path. Thanks |
|
#2
|
|||
|
|||
|
RE: mysql config problem
Unfortunately I don't know to much about Linux but I would check that PHP is compiled with the MySQL part (if that's a factor) and check that your php.ini is set properly.
That's all I can suggest. |
|
#3
|
|||
|
|||
|
RE: mysql config problem
I just went through the same problem. Look at the following link, section 11.4.1 Common problem with MySQL and PHP. comes down to it, your going to need to reinstall PHP with the --with-mysql option
http://www.mysqlfreaks.com/mysql/manual_Clients.html#PHP |
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Database Help > mysql config problem |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|