Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

i have few servers where i found that apc is working but its not in php -m list. Instead i see php -i shows me eaccelertor. File phpinfo.php shows me that i have apc enabled and ioncube as well, but ioncube is not in the php -m/php -i list. Whats going on? Why i see different information in backend and frontend phpinfo? (btw there is no .so files of eaccelerator nor ioncube on the server...)

share|improve this question
    
Are you requesting phpinfo.php using a web browser or running it on the command line? What do you get when you run the command ls -l /etc/php5/*/php.ini? –  Ladadadada Dec 19 '12 at 17:50
    
# ls -l /etc/php5/*/php.ini /etc/php5/apache2/php.ini /etc/php5/cli/php.ini /etc/php5/fpm/php.ini –  ADM Dec 19 '12 at 18:04
    
You didn't answer the above question. Are you running phpinfo.php on a webserver? If so you have multiple, different, configuration files for cli/apache –  MitziMeow Dec 24 '12 at 23:07
    
php.ini files absolutely identical, and phpinfo.php in browser. i dont know why. –  ADM Dec 25 '12 at 11:43

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.