I just installed litespeed and my site returns that it can not connect to mysql.
The server is CentOS 5 64 bit
Here is the info
There is the php.ini file in the /usr/local/lsws/php, I edit to this code
but it still don't work
Can you please help?
Thanks
The server is CentOS 5 64 bit
Here is the info
PHP:
root@361399-live2 [~]# /usr/local/lsws/fcgi-bin/lsphp5 -i|grep default_socket
mysql.default_socket => no value => no value
default_socket_timeout => 60 => 60
PHP:
root@361399-live2 [~]# ps -ef|grep mysql
root 5697 7164 0 12:24 pts/1 00:00:00 grep mysql
root 8196 1 0 Jul25 ? 00:00:00 /bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --pid-file=/var/lib/mysql/361399-live2.boxlive.tv.pid
mysql 8220 8196 14 Jul25 ? 1-01:32:09 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/361399-live2.boxlive.tv.pid --skip-external-locking
There is the php.ini file in the /usr/local/lsws/php, I edit to this code
PHP:
; Default socket name for local MySQL connects. If empty, uses the built-in
; MySQL defaults.
mysql.default_socket = /var/lib/mysql/mysql.sock
Can you please help?
Thanks
Last edited by a moderator: