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

This is a discussion on RE: [PHP] Re: php path statement appears on my webpages within the PHP General forums, part of the PHP Programming Forums category; Ivo, Thanks, but if I leave off this line then I get an error when I try and view my ...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-31-2003
Jim M Gronquist
 
Posts: n/a
Default RE: [PHP] Re: php path statement appears on my webpages

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:I.F.A.C.Fokkema@LUMC.nl]
Sent: Thursday, July 31, 2003 9:51 AM
To: php-general@lists.php.net
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" <jgronqui@indiana.edu> wrote in message
news:3A5E689CC46C984B8AB3EF7AFCB2AD4FB2857B@iu-mssg-mbx04.exchange.iu.ed
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

Reply With Quote
  #2 (permalink)  
Old 07-31-2003
John Manko
 
Posts: n/a
Default Re: [PHP] Re: php path statement appears on my webpages

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:I.F.A.C.Fokkema@LUMC.nl]
>Sent: Thursday, July 31, 2003 9:51 AM
>To: php-general@lists.php.net
>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" <jgronqui@indiana.edu> wrote in message
>news:3A5E689CC46C984B8AB3EF7AFCB2AD4FB2857B@iu-mssg-mbx04.exchange.iu.ed
>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
>
>
>
>
>



Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 12:06 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0