Re: [PHP] Re: php path statement appears on my webpages

2003-07-31 Thread John Manko
Have you set Apache httpd.conf?

Gronquist, Jim M wrote:

Ivo,

Thanks, but if I leave off this line then I get an error when I try and
view my pages.
Jim

-Original Message-
From: Ivo Fokkema [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 31, 2003 9:51 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: php path statement appears on my webpages

If you don't run PHP as an CGI but as an module, you don't even need
this
line. My guess is that you run PHP as a module, so delete the line to
fix
your problem.
HTH,

--
Ivo Fokkema
PHP & MySQL programmer
Leiden University Medical Centre
Netherlands
"Jim M Gronquist" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
u...
I include #!/usr/local/bin/php4 at the top of my
Php files so that it knows where to find php.
Unfortunately the path appears in my web pages.
Is there a way for me to turn this off?
Is it a setting in Apache or is it something that I change in
My php files.
#!/usr/local/bin/php4

-
Jim Gronquist


 



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Re: php path statement appears on my webpages

2003-07-31 Thread CPT John W. Holmes
> Thanks, but if I leave off this line then I get an error when I try and
> view my pages.

What kind of error, exactly?

You need to determine if you're running PHP as a module or CGI. 

---John Holmes...

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Re: php path statement appears on my webpages

2003-07-31 Thread Gronquist, Jim M
Ivo,

Thanks, but if I leave off this line then I get an error when I try and
view my pages.

Jim


-Original Message-
From: Ivo Fokkema [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 31, 2003 9:51 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: php path statement appears on my webpages

If you don't run PHP as an CGI but as an module, you don't even need
this
line. My guess is that you run PHP as a module, so delete the line to
fix
your problem.

HTH,

--
Ivo Fokkema
PHP & MySQL programmer
Leiden University Medical Centre
Netherlands

"Jim M Gronquist" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
u...
I include #!/usr/local/bin/php4 at the top of my
Php files so that it knows where to find php.
Unfortunately the path appears in my web pages.
Is there a way for me to turn this off?
Is it a setting in Apache or is it something that I change in
My php files.

#!/usr/local/bin/php4

-
Jim Gronquist



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php