I can not find my php.ini file -


while learning set php able send mail came across need edit php.ini file. problem when go <localhost>/~username/phpinfo.php tells me located @ /library/server/web/config/php web directory not exist on server. php.ini file? have looked @ answers same question others , still not able find it. if need create it, how go doing that?

i using macbook pro server running yosemite.

thanks in advance!

update:

so looks found php.ini file not php says looking phpinfo.php says looking in /library/server/web/config/php should copy file location? file named php.ini.default, need named php.ini?

execute command

locate php.ini 

this give list of files names 'php.ini' part of it.

e.g.

/etc/php.ini /etc/php.ini.rpmnew /home/myuser/mywebsite.com/demo/local_php.ini 

...


Comments

Popular posts from this blog

cakephp - simple blog with croogo -

How to group boxplot outliers in gnuplot -

bash - Performing variable substitution in a string -