This is a discussion on php path statement appears on my webpages within the PHP General forums, part of the PHP Programming Forums category; I include #!/usr/local/bin/php4 at the top of my Php files so that it knows where to find ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
|
|||
|
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.edu... 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 |