Re: [PHP-INSTALL] Symbolic link needed with mysql and PHP?
[email protected] (Keith Roberts) Fri, 26 Oct 2012 20:40:23 +0100 (BST)
| Newsgroups | php.install |
|---|---|
| Message-ID | <alpine.LRH.2.02.1210262036530.20280@karsites> |
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] -----------------------------------------------------------