[RESOLVED] php.ini is missing

Discussion in 'Install/Configuration' started by tomb, Feb 16, 2010.

  1. tomb

    tomb New Member

    Hi there,

    I've successfully compiled PHP 5.3.1 (using MacOS Server 10.6.2) within the Litespeed Web-Console (Standard Edition v4.0.12). I've restarted the Webserver and everything seems to okay.
    However phpinfo shows Loaded Configuration File (None). When I open /lsws/lsphp5/lib, the php.ini file is missing. What can I do? Where can find the default php.ini file for PHP 5.3.1. I though php.ini is generated during the installation.

    I really appreciate your help!
  2. NiteWave

    NiteWave Administrator

    manually copy it. as an example:

    cp /usr/local/lsws/phpbuild/php-5.3.1/php.ini-production /usr/local/lsws/lsphp5/lib/php.ini
  3. tomb

    tomb New Member

    thanks.

    perfect!!
  4. soyturk

    soyturk New Member

    thanks ;) ....

Share This Page