which php.ini should I change?

Discussion in 'PHP' started by hichew, Mar 25, 2007.

  1. hichew

    hichew New Member

    for some reason i can't send email using php mail() command.
    and seems like the sendmail path is still empty in the php.ini, but i dont know which one should I edit.

    /opt/lsws/admin/conf/php.ini
    /opt/lsws/admin/misc/php.ini
    /opt/lsws/php/php.ini
    /root/php-5.2.1/php.ini-dist
    /root/php-5.2.1/php.ini-recommended
    /usr/local/lsws/admin/conf/php.ini
    /usr/local/lsws/admin/misc/php.ini
    /usr/local/lsws/php/php.ini
    /usr/local/lsws-3.0/admin/conf/php.ini
    /usr/local/lsws-3.0/admin/misc/php.ini
    /usr/local/lsws-3.0/php/php.ini


    and do i need to restart something after make changes?
  2. xing

    xing LiteSpeed Staff

    If you installed LiteSpeed to "/opt/lsws" then you need to modify "/opt/lsws/conf/php.ini".
  3. mistwang

    mistwang LiteSpeed Staff

    It depends on whether you compile your own php binary or use our pre-built binary.

    Anyway, the phpinfo() page should tell you which php.ini is used.
  4. hichew

    hichew New Member

    thanks for the response.

Share This Page