Forum Moderators: coopster
I probably did a wrong manipulation and PHP doesn't recognize MySql anymore.
It worked fine but now it's down.
Separately PHP works fine and MySQL works on the command line. I'm on a Linux Mandrake platform.
I have uninstalled an reinstalled "rpm php_mysql"l. I verified the presence of "/etc/php/34_mysql.ini" and it contains the line "extension = mysql.so" the way it should. But something else must be wrong?
Has someone an ide on this.?
Thanx
roberto
So everything works PHP, and also MySQL on the command line. I managed to create a base and enter some tables with some content. All that is fine...
But when I try to connetct to MySQL with
mysql_connect($server,$user,$passw); or die ("error"); mysql_pconnect() thanks for your help
roberto
/etc/init.d/httpd graceful everything becomes normat and PHP connects properly to thr MySql base. But I wanted to implement php.ini with "register_globals = On" to be able to test my older websites which arte not using the
$_POST['some_var'] variable. Now there must be some instruction in"php.ini" which deactivates the communication between PHP and Mysql.
I deactivated the following instructions:
mysql.default_socket =
mysql.default_port =
mysql.default_host =
mysql.default_user =
mysql.default_password =