after doing litespeed php compile database won't connect

Discussion in 'Install/Configuration' started by soaringeagle, Sep 17, 2018.

  1. soaringeagle

    soaringeagle Active Member

    after doing the php compile (debugging tried use previous config and use defaults) all sites went down with unable to connect to database errors
    i use mariadb
     
  2. soaringeagle

    soaringeagle Active Member

    additional info:
    without compiling php in litespeed i get weird issues editing php config in plesk
    cannot remove op_cache_status from disabled functions. php my 1 site only alows 13m uploads even though the php was edited to alow 6 gigs.
    phpinfo.php has old values until yo u rename it after editing php values
     
  3. Unique_Eric

    Unique_Eric Administrator Staff Member

    HI

    Do you have any mysqli section of value in phpinfo page?

    Best,
     
  4. soaringeagle

    soaringeagle Active Member

    yes
    with this
    Code:
    MysqlI Support enabled
    Client API library version mysqlnd 5.0.12-dev - 20150407 - $Id: 38fea24f2847fa7519001be390c98ae0acafe387 $
    Active Persistent Links 0
    Inactive Persistent Links 0
    Active Links 0
    sites are up by rolling back the litespeed php compile
    but still having the issues which i believe are because its not compiled in litespeed

    so the phpinfo reflects what was there prior to doing the litespeed compile
     
    Last edited by a moderator: Sep 18, 2018
  5. Pong

    Pong Well-Known Member Staff Member

  6. soaringeagle

    soaringeagle Active Member

    i swear that in the past i was told to compile php within litespeed to use lsphp instead of the 1 in the control panel.
    why is there a compile php in litespeed then??
     
  7. soaringeagle

    soaringeagle Active Member

    actually that was done when we reconfigured the server just a few weeks ago.. which is when these odd lil issues started popping up
     
  8. soaringeagle

    soaringeagle Active Member

    still having timeouts and all these other odd issues
    today was not loading images and at times not css ..and extremely long load times only for maybe 30 minutes...
    people have been complaining about not being able to get on the site last 2 days

    another thing thats happening lately is on 1 page i'll be logged in, the next logged out.. randomly
     
    Last edited: Sep 19, 2018
  9. Pong

    Pong Well-Known Member Staff Member

    since you are using plesk, plesk PHPs are recommended. PHP compiling on LSWS admin console is for LSWS native mode, not for plesk control panel at all.
    Install and configure like the following, Make sure apache and LSWS use the same php.
    Please follow the following wiki to get your PHP configuration right.
    https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:plesk

    Most of the issues looks like PHP setting issues, Please switch between apache and LSWS to see if your apache has the same issue or not, if apache has the same issue, you will need to adjust some setting from php.ini used by plesk.
    If it doesn't happen to apache and only happen to LSWS, you can log a ticket with us with tmp root ssh login and detailed steps to reproduce your issue, then we can take a futher look.
     
    Last edited: Sep 20, 2018

Share This Page