I have a vps with suPHP, suhosin and PDO library installed, I need of run a php script in crontab with # php cli modality. It work from webserver (http) and from console (#php -q /path/..../script.php) but with cron it not work.
The problem is that with crontab I get an not found error of PDO class:
<b>Fatal error</b>: Class 'PDO' not found in <b>/home/user/public_html/test/lib/common/class.PdoWrapper.php</b> on line <b>42</b><br />
If think that problem is of crontab PATH that it not match PDO class library but I dont understand like I can resolve it
The problem is that with crontab I get an not found error of PDO class:
<b>Fatal error</b>: Class 'PDO' not found in <b>/home/user/public_html/test/lib/common/class.PdoWrapper.php</b> on line <b>42</b><br />
If think that problem is of crontab PATH that it not match PDO class library but I dont understand like I can resolve it