Re: Symbolic link needed with mysql and PHP?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]




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]
-----------------------------------------------------------


[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux