Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
  1. #1
    New Coder
    Join Date
    Apr 2006
    Posts
    36
    Thanks
    0
    Thanked 0 Times in 0 Posts

    [SOLVED] PHP CLI returning 255

    Hi all,

    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 05:06 AM. Reason: problem solved


 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •