Hi,
i want to question about shebang line on FreeBSD6.
This script works on FreeBSD4, but doesn't work on FreeBSD6
#!/usr/local/bin/php -d open_basedir=/path
<?php
file('/path/sample.txt');
?>
i understood the reason from this pages.
http://freebsd.monkey.org/freebsd-questions/200606/msg01073.html
http://www.in-ulm.de/~mascheck/various/shebang/
i removed the space between '-d' and my config,
and this script worked.
#!/usr/local/bin/php -dopen_basedir=/path
However i don't understand how i should appoint two options.
This script doesn't work.
#!/usr/local/bin/php -dopen_basedir=/path -dshort_open_tag=off
This is a solution for only FreeBSD6. (it doesn't work on FreeBSD4)
#!/usr/bin/env -S /usr/local/bin/php -d open_basedir=/path -d short_open_tag=off
i want to know the solution that is suitable for both FreeBSD4 and FreeBSD6.
Give me please good advice.
Thanks,
____________________________________________________________________________________Ready
for the edge of your seat?
Check out tonight's top picks on Yahoo! TV.
http://tv.yahoo.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php