php.ini does not load.

Discussion in 'Install/Configuration' started by bbob, Feb 24, 2009.

  1. bbob

    bbob New Member

    I have installed litespeed and compiled php which works.

    Then when asking for php info I get the following info:

    Configuration File (php.ini) Path /usr/local/lsws/lsphp5/lib
    Loaded Configuration File (none)

    I have a php.ini file in /usr/local/lsws/lsphp5/lib/php.ini why does it not load.
  2. mistwang

    mistwang LiteSpeed Staff

    maybe a permission problem. only root user can read it?
  3. bbob

    bbob New Member

    owner is root, group is root, what does the permission need to be
  4. ch1v4s

    ch1v4s New Member

    I have same problem, but i dont have php.ini in /usr/local/lsws/lsphp5/lib

    tried locate php.ini give me
    /usr/local/Zend/etc/php.ini
    /usr/local/lib/php.ini
    /usr/local/lsws/add-ons/cpanel/lsws_whm_plugin/php.ini
    /usr/local/lsws/add-ons/directadmin/php.ini
    /usr/local/lsws/admin/conf/php.ini
    /usr/local/lsws/admin/misc/php.ini
    /usr/local/lsws/php/php.ini

    which one to copy to /usr/local/lsws/lsphp5/lib ?
  5. mistwang

    mistwang LiteSpeed Staff

    I think /usr/local/lib/php.ini is a link to /usr/local/Zend/etc/php.ini.
    You can copy /usr/local/lib/php.ini over.

Share This Page