[PHP] PHP for shell scripting: weird error.

2001-10-19 Thread Alexander Deruwe

Hey all,

When running PHP scripts from the command line, I get this error:

Content type: text/html
PHP Fatal error: Unable to start session mm module in Unknown on line 0

The script doesn't run, or so it seems. I also get this error when I run 
generic stuff such as 'php4 --help', or just 'php4 -q'.

The script in question is this (though I hardly think it matters):
#!/usr/bin/php4 -q
?php
echo Hello, World!\n;
?

Does anyone know what is going on? Searching the archives for the error 
string turned up nothing.

I'm running PHP v4.0.7RC3 (from package php4-cgi) on Linux 2.4.10-ac11. 
Distribution debian unstable.

Thanks in advance,

Alexander Deruwe

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] PHP for shell scripting: weird error.

2001-10-19 Thread Jon Farmer

 I'm running PHP v4.0.7RC3 (from package php4-cgi) on Linux 2.4.10-ac11.
 Distribution debian unstable.

I would recommend 4.0.6 compiled from source. Thats what I use and its very
stable.

Regards

jon

--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07763 620378
PGP Key available, send blank email to [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]