I put the binary out side of the web tree becasue i want to enhance the
security.
"Steven Cayford" <[EMAIL PROTECTED]>
???:[EMAIL PROTECTED]
> I don't know if this is exactly the problem but check out
> http://www.php.net/manual/en/security.cgi-bin.php
>
> Under case 4 at the bottom it has a
I don't know if this is exactly the problem but check out
http://www.php.net/manual/en/security.cgi-bin.php
Under case 4 at the bottom it has a referce to a compile time option
--enable-discard-path which sounds like what you're looking for. Or else
put the binary in your cgi-bin directory?
-
FYI
The version of my PHP is 4.1.1
"Tony" <[EMAIL PROTECTED]> ¼¶¼g©ó¶l¥ó·s»D
:[EMAIL PROTECTED]
> I have fixed the problem. The problem came out because PHP cannot access
> php.ini. "#!/usr/local/bin/php" will disappear once PHP can read the
> doc_root in php.ini.
>
> However, i got another pro
I have fixed the problem. The problem came out because PHP cannot access
php.ini. "#!/usr/local/bin/php" will disappear once PHP can read the
doc_root in php.ini.
However, i got another problem. If i run a problem that involve many php
files, many "#!/usr/local/bin/php" will appear on the browse
Thanks Fred,
Since i do not install the php as Apache modules, I have to add the
path of the php binary at the top of the script. It is just like perl.
"Fred" <[EMAIL PROTECTED]> ¼¶¼g©ó¶l¥ó·s»D
:[EMAIL PROTECTED]
> There is no need for the pound bang line in php, the script alias setting
There is no need for the pound bang line in php, the script alias setting in
apache takes care of this. Furthermore, everything outside of the is
rendered as pure html and that is why it is showing up in the browser.
Fred
Tony <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL