Cant find real php.ini

Discussion in 'General' started by Giorgi, Oct 14, 2007.

  1. Giorgi

    Giorgi Active Member

    Hello there :)

    I have migrated from Apache of DirectAdmin to LSWS (got license), Then I updated my php to latest version via tutorial that I found here.

    now the problem is I dont get wich php.ini does my php use, on locate php.ini I get:

    and my php info says:

    Configuration File (php.ini) Path  ../php  
    I tried to change upload_max_filesize in all that php.ini files and restarting lsws but it still remains 2M.

    any advice?

    thank you
  2. mistwang

    mistwang LiteSpeed Staff

    You should copy your php.ini to /opt/lsws/php/php.ini. I think upgrade your LSWS install from a earlier installation. You may need to create /opt/lsws/php directory.
  3. Giorgi

    Giorgi Active Member

    Thank you very much :)

Share This Page