my linux box is................ CentOS 5.8 httpd (worker MPM - thread model) php 5.4 (mysqlnd.so + zend thread safety mode) : https://www.webtatic.com/news/2013/07/latest-updates-php-5-5-1-5-4-17/ mysql 5.1
I've just complied & install cphalcon. the result is ............ /etc/php.d/phalcon.ini /usr/lib64/php/modules/phalcon.so
and my phalcon site is displayed the error below Fatal error: Class 'Phalcon\Mvc\Application' not found in /var/www/MYSITE/app/bootstrap.php on line 20 It doesn't work....... also, <?php var_dump( get_loaded_extensions() ); ?> there is no phalcon extension in the result.
phalcon.so is thread safety? where is thread safety version of phalcon.so (for example, phalcon_ts.so) ?
I'm using php 5.4 (in thread safety) of webtatic.com webtatic.com mechanism is.....to change an appropriate php directory automatically (based on apache running mode(worker or prefork)) if apache is running the worker mode, it will find extension conf in /etc/php-zts.d/ directory. else if apache is running the perfork mode, it will find extension in /etc/php.d/ directory.
In my case, it should be installed in the directory(php-zts directory) below. /etc/php-zts/phalcon.ini (extension=/usr/lib64/php-zts/modules/phalcon_ts.so) /usr/lib64/php-zts/modules/phalcon_ts.so
/usr/lib64/php/modules/phalcon.so is thread safety? if so, copy & paste to php-zts directory?
###########################################################
I tried to change apache perfork mode + php non-thread-safe mode It works. phalcon.so is loaded. whereas i tried to change apache worker mode + php thread-safe mode It's NOT works. phalcon.so is NOT loaded.
Is NOT supported apache worker mode + php thread-safe mode ?