pppplus
Verified User
- Joined
- Dec 19, 2008
- Messages
- 524
Hi
I've another problem after upgrading to php 5.6
mysql_connect does not work anymore with cron
My installation :
Centos 6.8
php1_release=5.6
php1_mode=php-fpm
php2_release=5.3 (no more used)
php2_mode=php-fpm
If I execute from ssh, it works :
php /home/castor/domains/mydomain.com/cron/nettoyage.php
But from cron, I've the error : Call to undefined function mysql_connect()
I read I have to add
extension=msql.so
But I find it strange (and it has no effect)
I've another problem after upgrading to php 5.6
mysql_connect does not work anymore with cron
My installation :
Centos 6.8
php1_release=5.6
php1_mode=php-fpm
php2_release=5.3 (no more used)
php2_mode=php-fpm
If I execute from ssh, it works :
php /home/castor/domains/mydomain.com/cron/nettoyage.php
But from cron, I've the error : Call to undefined function mysql_connect()
I read I have to add
extension=msql.so
But I find it strange (and it has no effect)