LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > PHP problem

Reply
 
Thread Tools Display Modes
  #1  
Old 10-18-2009, 05:05 PM
Kurogane Kurogane is offline
Member
 
Join Date: Mar 2009
Posts: 11
Default PHP problem

Hello,

I have a really serious problem with php, when i try to load php sites give me 503 error on the html sites load without any problem. Also i have a problem to login admin site when i try to go here http://123.45.67.890:7080 no respond (not have any firewall).

So here my doubts

1. How i can solve the problem with php content
2. How i can solve to log in the admin site

I dunno how i can solve this if i can't log on the admin site. Where is restore the default php config? is because i use a custom php build.

Thanks.
Reply With Quote
  #2  
Old 10-18-2009, 06:18 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
Maybe do a fresh reinstallation, the admin console should work properly.

Try run /path/to/lsws/fcgi-bin/lsphp5 from command line see if you get any error.
Reply With Quote
  #3  
Old 10-18-2009, 06:57 PM
Kurogane Kurogane is offline
Member
 
Join Date: Mar 2009
Posts: 11
I fix the error.

But i have a other problem. I come from v4.0.3 then i decided update to v4.0.10 but i have a problem to save configure, in the vhost part whatever i do never change the setting, what i mean? normal litespeed when you change a configure always say to "save" to apply the setting right? but right now no say that but mean i think this version not need that, so i decide to restart litespeed to ensure take affect and restart successfully so i go the part i "change" and when i go there is still previous conf (if not save the config), i decide to see the logs and see this.

Code:
2009-10-18 19:45:01.711 [DEBUG] [UDS://tmp/lshttpd/admin_php.sock] connection available!
2009-10-18 19:45:01.711 [DEBUG] [UDS://tmp/lshttpd/admin_php.sock] request [123.45.67.890:1707-1#_AdminVHost:lsapi] is assigned with connection!
2009-10-18 19:45:01.753 [NOTICE] [123.45.67.890:1707-1#_AdminVHost:lsapi] [STDERR] PHP Warning:  fopen(/home/litespeed/dominios/domain.com/conf/vhconf.xml.new) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied in /home/litespeed/admin/html.4.0.10/classes/ConfigFile.php on line 46
2009-10-18 19:45:01.753 [NOTICE] [123.45.67.890:1707-1#_AdminVHost:lsapi] [STDERR] failed to open in write mode for /home/litespeed/dominios/domain.com/conf/vhconf.xml.new
2009-10-18 19:45:01.757 [DEBUG] [UDS://tmp/lshttpd/admin_php.sock] add recycled connection to connection pool!
2009-10-18 19:45:32.057 [DEBUG] [idle] Idle connection timed out, close!
Reply With Quote
  #4  
Old 10-19-2009, 11:51 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
allow user "lsadmin" to write to "/home/litespeed/dominios/domain.com/conf/"
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 02:06 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.