|
Php Cli
I'm migrating from a windows server to a linux server, and I need to cron up several PHP scripts.
It's going pretty well, but my PHP CLI doesn't have access to any of the PHP modules I've installed... most immediately noteable are the IMAP and the MYSQL modules.
The scripts work fine if I open them in a browser and run through the apache module, but using the CLI version results in a "mysql_connect() function does not exist" and the same with many other functions included in the modules.
I know I could use cron to run lynx against some of the pages, but that doesn't work for all of the scripts, so I would much prefer getting the CLI version working properly.
Any helps?
|