Re: Symbolic link needed with mysql and PHP?
| From: | Keith Roberts | Date: | Fri, 26 Oct 2012 19:40:23 +0000 |
| Subject: | Re: Symbolic link needed with mysql and PHP? | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-20203@lists.php.net to get a copy of this message | ||
On Centos 5.8, I have changed the default path to the MySQL socket file using this setting in php.ini:
; Default socket name for local MySQL connects.
; If empty, uses the built-in ; MySQL defaults.
; http://www.php.net/manual/en/mysql.configuration.php#ini.mysql.default-socket
mysql.default_socket = /var/lib/databases/mysql/mysql.sock
If you are running PHP as an apache module, don't forget to stop and start apache to make it re-read any changes you make to the php.ini file.
HTH
Keith
-----------------------------------------------------------
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk
All email addresses are challenge-response protected with
TMDA [http://tmda.net]
-----------------------------------------------------------