On Sunday 11 November 2001 04:49, Michael Rice wrote:
> Hi All,
> I have a kind of unique problem that I've had trouble finding information
> on around the net. I have a site that I pay a hosting company for that
> expects my php scripts to have #!/usr/local/bin/php at the beginning of
> each script which works fine. Now, I'd like to keep a development server
> at home that uses Apache 22 and the latest php.
> I followed the installation instructions carefully can got php running
> great at home. The only problem is that it serves up the #!/usr... at the
> beginning of file, which wouldn't bother me except that it causes major
> problems with redirects.
> Any ideas on how to tell my development server to ignore that line or to
> reconfigure my apache/php in some such that it won't serve up that line??
I'm willing to be that you have PHP installed as a module in apache whereas
your hosting company is using the CGI version for some reason.
You will need to install the CGI version of PHP and tell the system to treat
your scripts as a CGI instead of as a PHP module script.
GB Clark II | Roaming FreeBSD Admin
[EMAIL PROTECTED] | General Geek
CTHULU for President - Why choose the lesser of two evils?
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]