Forum Moderators: coopster
thanks
roberto
Configuration File (php.ini) Path/etc/php.ini
Scan this dir for additional .ini files/etc/php.d
additional .ini files parsed/etc/php.d/mysql.ini,
/etc/php.d/snmp.ini
As for restarting httpd, try something like /etc/init.d/httpd graceful
Sean
I have checked /etc and /etc/php
there is php.ini in both folders with the following setting:
register_globals = On [Security, Performance] so what's left is
; comments...
register_globals = On
; comments...
; comments... then I did as you told me:
/etc/init.d/httpd graceful the computer said:
Reloading httpd2: [ OK ] sometimes one feels like getting nuts!
roberto
Thank you so much for your help, now I'm a big step ahead...
Amitiés
roberto
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?
I've made a ne topic on this since it's not the same subject anymore.
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
If mysql works from the command line and the mysql stuff is in php, I don't see where there could be a problem with your setup.
Sean
all the php scrips I use have been working perfectly.
soa I expectet when doing a clean reinstall it would start to work again.
after reinstalling linux which had PHP active, I installed the mysql applications:
MySQL-4.0.11a-5mdk
MySQL-client-4.0.11a-5mdk
php-mysql-4.3.0-2mdk ... what's going wrong...
roberto