I'm attempting to put xdebug on the centOS web server and also to use its profiling abilities when preparing for that php code that'll be placed on it. Presently I've apache running and installed, I installed all the necessary php things, as well as went pecl install xdebug to set up xdebug. I additionally modified the php.ini file using the line zend_extension=/usr/lib/php/modules/xdebug.so, and today after i run php -m xdebug turns up in "regular modules" and "zend modules", when i understand it's designed to. Here is a sample of my php.ini file:

    zend_extension="usr/lib/php/modules/xdebug.so"

    xdebug.profiler_enable = 1

    xdebug.profiler_output_dir = "/var/www/phplogs/"

During my /var/www/html/ directory, I've a data.perl file that reads: <?php phpinfo();?> I restart httpd, after which use lynx -dump localhost/info.php (I am ssh'd right into a CLI). After running this, after i ls /var/www/phplogs there's nothing within the folder. Ideas?

It works out case another annoying SELinux problem. setenforce 0 before beginning httpd with service httpd start after which transform it back on: setenforce 1. After carrying this out, logging should work perfectly provided php.ini is set up because it is within the OP.