Sorry if this has been answered before, but I just can't find a solution that works.
On my VPS I run CentOS with Apache and PHP 5.3.3 and I installed all the required packages, successfully built Phalcon and created a 30-phalcon.ini in /etc/php.d with the content
The problem is that it doesn't seem to work.
Loading the index gives an error: Fatal error: Class 'Phalcon\Loader' not found in /home/xxxxxxxxxxxx/subdomain/phalcon/www_data/index.php on line 6
Giving a random input to PHP in terminal gives the following error: [fema@empath phalcon]$ php asd PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/phalcon.so' - /usr/lib/php/modules/phalcon.so: undefined symbol: php_pdo_get_dbh_ce in Unknown on line 0
This must be the case when PDO is not loaded before Phalcon which should be solved by creating the ini file in php.d. But it is not.