View Single Post
  #3  
Old 05-04-2004, 12:46 PM
stefan stefan is offline
Member
 
Join Date: May 2004
Posts: 24
Default yes, but.. here's what happend

Quote:
Originally Posted by mistwang
It is a PHP, MySQL problem, but not related to litespeed.
I saw it was no problem of litespeed, but just in case I dropped the question to be sure of it.

Quote:
Originally Posted by mistwang
Please make sure the mysql socket is configured properly in php.ini (mysql.default_socket), check the phpinfo.php page, make sure mysql socket can be accessed by the user that php process runs as.
Socket was good configurated, also the php.ini, due to the fact I (still) run apache I had php enable, so as it was not working with Mysql I drop the php.ini from my "apache" installation into the configured dir. of litespeed. I did a compare for some comments only the file was the same.
Only about what you told me about the user account I was not sure of, but after checking I saw it should could execute it and should run nicely. In fact it did cause all other none mysql php scripts worked fine.
Also after some changes made into the config files of php.ini I restarted the lsws through the admin panel. It didn't change things.
- So I just stopt the lsws through the init.d/lsws stop command
- killed all other admin_php and php processes in my ps -ef list.
- restartted the lsws
- added into mysql a specific user for the database of phpbb2 with all rights
- and retried the configuration of phpBB2.
- in the configuration I now used my real hostname (of the machine, not the domainname like eislon.nl)
- the script executed fine and the user for administration was made
- removed the required dirs (which phpbb2) told me too and you can feel it phpBB2 worked!

Quote:
Originally Posted by mistwang
You probably noticed that we are using phpBB2. :-)
George
Oh is it true? Just kidding, I noticed it, but I didn't look at it in the heat of battle with the php<->mysql failure...

Can it be that the stop of lsws isn't stopping everything? That it leaves something "hanging" into memory? I should tell you straight that I didn't see anything wrong. But if I start lsws I see the processes of lsws not the php ones, they come in later, but with a stop of lsws the php processes stay in the system.... maybe all the time it was just those processes which kept hanging? Still wondering.

BTW: I'm using Mandrake Linux 10 Offical, on a 2.4 kernel (later on 2.6) with Mysql 4.01xx and php 4.3.4

Thanx again for the quick response, hope you have something of the above things... futhermore litespeed rocks on... 8)
Reply With Quote