On 24 Aug 2008, at 15:39, Dotan Cohen wrote:
2008/8/24 Stut <stuttle@xxxxxxxxx>:
In theory all you need to do is add a hash-bang line to the start
of the PHP
scripts. This should work...
#!/usr/bin/env php
Thanks, that's what I am doing right now. I was hoping to avoid that
for portability, but if it is unavoidable then I can live with it.
Thanks!
If you use env then it should be pretty portable. The only other way
to do it would be to specify each script individually or with a regex
if that's possible in httpd.conf or .htaccess using a Files section to
tell Apache to execute it with PHP. I don't see that as any more
portable.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php