On Tue, Apr 12, 2005 at 01:25:59PM +1000, Edwin Humphries wrote: > We were having some errors in execution of a cron-initiated php script. We ran > it from the console, and got some errors. We then tried running php without > passing it any options or script names, and got the same error (below): > ------------------------------------------------------------------------------- > Content-type: text/html > �': Unable to initialize module > Module compiled with debug=144, thread-safety=167 module API=1114968780 > PHP compiled with debug=0, thread-safety=0 module API=20010901 > These options need to match > in Unknown on line 0 > ------------------------------------------------------------------------------- > > We tried re-installing php, but no change. Can anyone shed any light on this?
One of the modules you're trying to load is FUBAR. Comment out all extension lines in your php.ini, try again. Add a single module, try again. Keep doing this until you get the error above. The module you last added is the culprit. Remove it if it's non-critical, or get a non-broken version if you really need it. Note that you may have multiple php.ini files for different "flavours" of PHP if you're running a system like Debian which does that sort of thing. Make sure you're modifying the right one. - Matt
signature.asc
Description: Digital signature
-- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
