YigalB Posted January 29, 2012 Share Posted January 29, 2012 I noticed I have two php.ini: one in: /etc/php5/apache2 the other in: /etc/php5/cli Which one is the used one? How can I tell? Link to comment https://forums.phpfreaks.com/topic/255986-which-phpini/ Share on other sites More sharing options...
SergeiSS Posted January 29, 2012 Share Posted January 29, 2012 phpinfo() function http://www.php.net/manual/en/function.phpinfo.php will help you to find correct answer. Link to comment https://forums.phpfreaks.com/topic/255986-which-phpini/#findComment-1312250 Share on other sites More sharing options...
ocpaul20 Posted January 30, 2012 Share Posted January 30, 2012 Also if you are running php from the command line, you can specify which one you want to use with a -c option I believe. Link to comment https://forums.phpfreaks.com/topic/255986-which-phpini/#findComment-1312506 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.