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? Quote 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. Quote 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. Quote Link to comment https://forums.phpfreaks.com/topic/255986-which-phpini/#findComment-1312506 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.