php.ini, mysql, recompiled php
| From: | Richard Baskett | Date: | Fri, 10 Jan 2003 19:18:23 +0000 |
| Subject: | php.ini, mysql, recompiled php | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-131173@lists.php.net to get a copy of this message | ||
For some reason the php.ini file is not being compiled into php on runtime
with Apache 2.. I tried to make a change within the php.ini
mysql.default_socket or something similar to change where php looked for the
mysql socket and it wouldn¹t show up on phpinfo.. so I changed it within the
httpd.conf file, but php still didn¹t want to take the change. So finally I
had to create a my.cnf file and that worked. I havent tried other values in
the php.ini file, but I am guessing it will not reflect those changes
either.
Now another problem.. for some reason phpMyAdmin can not access the mysql
database, due to:
Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
Now that I have changed the socket file to be created in the /tmp directory
it still gives me that error.. any ideas?
Also I recompiled php and phpinfo still shows the first compile as the build
date.. plus the build flags/options are still the same as the original also,
instead of the new build.. does this mean that php was indeed not updated?
Having problems!
Rick
"When a man won't listen to his conscience, it's usually because he doesn't
want advice from a total stranger." - Lindsey Stewart