Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
Thread: [SOLVED] PHP CLI returning 255
11-07-2007, 05:33 AM #1
- Join Date
- Apr 2006
- Thanked 0 Times in 0 Posts
[SOLVED] PHP CLI returning 255
I am trying to execute a PHP script that I am developing in bash but I get a 255 exit code every time no matter what I do. I was able to temporarily fix it but it reverted after a few mins. I have other PHP scripts that work fine, I an using:
PHP 5.2.4 with Suhosin-Patch 0.9.6.2 (cli) (built: Oct 12 2007 12:58:53)
On the most up to date version of Arch Linux.
UPDATE: Ok, figured it out. The error messages started to post to the logs instead of the screen (STDERR instead of STDOUT, or the default for STDERR changed). Anyway, good to know.
Last edited by ibnpaul; 11-07-2007 at 06:06 AM. Reason: problem solved