PEAR works on command line, not CRON

software development


I can get my php script to run from the command line, but when it’s called from CRON, it gives this error:

X-Powered-By: PHP/5.2.3
Content-type: text/html

Fatal error: Call to undefined function xslt_create() i

I added this line to the start of my script, which again gets it to work from command line, but still fails from CRON.



What is your crontab entry like?
If you can post it maybe someone will spot something wrong.
Are you using full paths to php5 in your crontab?


Opinions are my own views, not DreamHosts’.
I am NOT a DreamHost employee OK!! :@

You act on my advice at your own risk!