
01-02-2007, 08:23 PM
|
|
New Member
|
|
Join Date: Jan 2007
Posts: 8
|
|
Quote:
Originally Posted by mistwang
You need to fix the default MySQL Socket address, in Apache it is /var/lib/mysql/mysql.sock, in LSWS it is /var/tmp/mysql.sock.
lsphp could not find a valid php.ini, maybe due to permission problem. Anyway, you can change the commnd of lsphp external app to give the path of php.ini with command line option "lsphp -c <path_to_php.ini>".
|
I changed the MySQL Socket Address in php.ini as such-
mysql.default_socket = /var/tmp/mysql.sock
I even tried the -c statement above but it does not seem to help..
I also reinstalled LiteSpeed into /usr/local/lsws.. but the issue remains..
I use CentOS 4 and MySQL 4.1
|