View Single Post
  (#3 (permalink)) Old
apricotweb apricotweb is offline
Reseller
apricotweb is on a distinguished road
 
Posts: 20
Join Date: Dec 2006
Location: York, UK
Default Re: shebang for php5 - 07/12/2007, 7:35 PM

Hi Matt

I'm afraid it wasn't as simple as that. There wasn't an alias in /bin. After allot of trail and error I discovered it was:

Code:
#!/usr/local/php5/bin/php5
It is almost all working nicely now. I am just getting this in my error logs every time the script runs.

[07-Dec-2007 18:23:01] PHP Warning: Zend Optimizer does not support this version of PHP - please upgrade to the latest version of Zend Optimizer in Unknown on line 0