PEAR works on command line, not CRON
Posted by: hhutkin
Posted on: 2008-03-06 02:56:00
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
<br />
<b>Fatal error</b>: 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.
ini_set("include_path",
ini_get("include_path").":/usr/local/lib/php:/home/[myuser]/pear/php:/home/[myuser/pear/");