ZM console stoped & not get started,with apache php upg
Posted: Sat Jul 31, 2004 7:49 pm
I have RedHat 9.0, and zm 1.19.3. Due to the so-called memory leak, after a while, the pc is crawling to a halt. The PHP, Mysql and apache were installed from the RH9.0 CD using the rpm. The zm worked fine except for this problem.
So, I upgraded the apache2.0.40 to apache2.0.50 , and also the php to php4.3.8, because I do not know how to connect the new apache2.0.50 to the old php.4.2.2-17.
---------
I installed the php by doing the following.
root@PC3LRH9-a5 php-4.3.8]# ./configure --with-apxs2=/usr/local/apache2/bin/apxs
--with-mysql
And then
make
make install
And then
cp php.ini-recommended /usr/local/lib/php.ini
then add the following to httpd.conf
LoadModule php4_module modules/libphp4.so
AddType application/x-httpd-php .php .phtml
AddType application/x-httpd-php-source .phps
and then change the http.conf file for doucment directory and others
and then restart the httpd
/usr/local/apache2/bin/apachectl start
--------
The apache started ok, but I got the following error, when connecting to zm.php in the mozilla browser.
Could not connect to database: Can't connect to local MySQL server through socket '/tmp/mysql.sock'
So, I searched the forum, and did the link to the mysql.sock with following command.
ln -s /var/lib/mysql/mysql.sock /tmp/mysql.sock
THen it lists the Zm console properly. But when I try to start the run status to 'start' from 'stop', it will just refresh the console screen with 'stop' status.
Where can I look for this problem, how can I start the debug process?
Thank you for your help.
So, I upgraded the apache2.0.40 to apache2.0.50 , and also the php to php4.3.8, because I do not know how to connect the new apache2.0.50 to the old php.4.2.2-17.
---------
I installed the php by doing the following.
root@PC3LRH9-a5 php-4.3.8]# ./configure --with-apxs2=/usr/local/apache2/bin/apxs
--with-mysql
And then
make
make install
And then
cp php.ini-recommended /usr/local/lib/php.ini
then add the following to httpd.conf
LoadModule php4_module modules/libphp4.so
AddType application/x-httpd-php .php .phtml
AddType application/x-httpd-php-source .phps
and then change the http.conf file for doucment directory and others
and then restart the httpd
/usr/local/apache2/bin/apachectl start
--------
The apache started ok, but I got the following error, when connecting to zm.php in the mozilla browser.
Could not connect to database: Can't connect to local MySQL server through socket '/tmp/mysql.sock'
So, I searched the forum, and did the link to the mysql.sock with following command.
ln -s /var/lib/mysql/mysql.sock /tmp/mysql.sock
THen it lists the Zm console properly. But when I try to start the run status to 'start' from 'stop', it will just refresh the console screen with 'stop' status.
Where can I look for this problem, how can I start the debug process?
Thank you for your help.