Re: [SLUG] PHP load error

2005-04-12 Thread telford
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.

If PHP works when accessed through your web server then you can initiate the
script by putting a lynx command into a cron script:

   lynx http://127.0.0.1/blah/blah.php  /dev/null

I've often noticed anomalies between command line php execution and running
it through a web server (although in theory both should be equivalent).

If your PHP does not run through the web server then, yeah, you really do
have a problem, follow the troubleshooting suggestions elsewhere in this list.

- Tel  ( http://bespoke.homelinux.net/ )

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] PHP load error

2005-04-11 Thread Edwin Humphries
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?

Regards,
Edwin Humphries
Mobile: 0419 233 051
Ironstone Technology Pty Ltd
P. O. Box 423, Kiama, NSW, 2533
Phone: +61 (0)2 4233 2285
Facsimile: +61 (0)2 4233 2299
Web: http//www.ironstone.com.au

***
This email is intended for the named addressee/s only and
may contain confidential or privileged information. If you
are not a named addressee please delete the message and
notify the sender.
***

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html