which php.ini should I change?

hichew

Active Member
#1
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?
 

mistwang

LiteSpeed Staff
#3
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.
 
Top