Unable to load php.ini

Discussion in 'Install/Configuration' started by alex, Feb 8, 2010.

  1. alex

    alex Member

    I am using LS 4.0.12, I have php 5.2.12 compiled through litespeed. Phpinfo.php shows the path /usr/local/lsws/lsphp5/lib for the php.ini file but the loaded configuration file shows (none)
    When I run ./lsphp5 -i from the fcgi-bin directory it shows
    Loaded Configuration File => /usr/local/lsws/lsphp5/lib/php.ini
    ./lsphp5 -v does not show any startup errors

    I have made sure the web site I have the phpinfo on is set to use the server lsphp.
    The only odd thing is stderr.log is showing
    3:01:26.851 [STDERR] curl: try 'curl --help' or 'curl --manual' for more information
    and nothing else
  2. mistwang

    mistwang LiteSpeed Staff

    There is a permission problem with /usr/local/lsws/lsphp5/lib.

    try

    sudo -u <user_lsphp5_run_as> ./lsphp5 -i

Share This Page