PHP problem

Discussion in 'General' started by Kurogane, Oct 19, 2009.

  1. Kurogane

    Kurogane Member


    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 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.

  2. mistwang

    mistwang LiteSpeed Staff

    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.
  3. Kurogane

    Kurogane Member

    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.

    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 [] is assigned with connection!
    2009-10-18 19:45:01.753 [NOTICE] [] [STDERR] PHP Warning:  fopen(/home/litespeed/dominios/ [<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] [] [STDERR] failed to open in write mode for /home/litespeed/dominios/
    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!
  4. mistwang

    mistwang LiteSpeed Staff

    allow user "lsadmin" to write to "/home/litespeed/dominios/"

Share This Page