Hi Marius,

If you're running your scripts via the web server you don't need the
#!/usr/local/bin/php at the start of them. This line should only be required
if you run them from the command line or cron for example so it knows the
location of the program to parse it.

HTH

Best regards,
- Paul -

----- Original Message -----
From: "Marius Gerrit Etsebeth" <[EMAIL PROTECTED]>
To: "'Paul Gardiner'" <[EMAIL PROTECTED]>; "haptiK"
<[EMAIL PROTECTED]>; "rg" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, October 05, 2001 11:30 AM
Subject: RE: [PHP-INST] linux 7 problems


> Perhaps one of you guys could give me the solution to my problem. I have
> tried
> posting it before, but it seems it did not make the list that time; so
here
> goes:
>
> I'm running HPUX 10.20 and installed PHP 4.06 as CGI with Netscape
> Enterprise
> Server 3.61. The "configure" options were as follows (provided somewhere
on
> the
> FAQ list) :
>
> ./configure --with-mysql=/usr/local/mysql
> --enable-track-vars
> --enable-libgcc
> --enable-discard-path
> Everything works EXCEPT that I get the the first line
> of my script also printed on the screen i.e. #!/usr/local/bin/php
> (The "--enable-discard-path" is supposed to take care of that, but
> evidently, it does not. If  I supply the "-q" option, I get an error:
> "Input file not specified".
>
> Any idea how to solve the problem?
>
> Marius Etsebeth
>
>
>
> > -----Original Message-----
> > From: Paul Gardiner [SMTP:[EMAIL PROTECTED]]
> > Sent: Friday, October 05, 2001 12:07 PM
> > To: haptiK; rg
> > Cc: [EMAIL PROTECTED]
> > Subject: Re: [PHP-INST] linux 7 problems
> >
> > I've been on this list for over 2 years and to start with probably asked
> > some seemingly stupid questions. Because of the help from others and
> > perseverance I am now pretty sharp in the platform & extensions we use
php
> > with. This knowledge I have passed on to a lot of other users usually
> > off-list because they're probably too afraid of getting a reply back
> > something back like the one you posted.
> >
> > We should be encouraging people instead of discouraging them. If you
can't
> > help someone then please don't bother sending things like this. Perhaps
> > you're having a bad day?
> >
> > - Paul -
> >
> > ----- Original Message -----
> > From: "haptiK" <[EMAIL PROTECTED]>
> > To: "rg" <[EMAIL PROTECTED]>
> > Cc: <[EMAIL PROTECTED]>
> > Sent: Friday, October 05, 2001 10:27 AM
> > Subject: Re: [PHP-INST] linux 7 problems
> >
> >
> > > LISTEN . THERE IS NO FUCKING SUCH THING AS LINUX '7'. IF YOUR GOING TO
> > > WASTE OUR TIME>> READ THE FUCKING DOCUMENTATION AND GET A FUCKING
CLUE.
> > IF
> > > YOU DONT LIKE THIS MESSAGE REMOVE ME FROM THE FUCKING LIST..
> > >
> > >  WHY DO YOU ALL SEND SUCH IDIOT MSGS'  READ THE FINE
> > > MATERIAL#$@!@$@#$!@#$#@!$@#!$#@!$@#!$#@!$@#!$
> > >
> > >
> > >
> > > On Fri, 5 Oct 2001, rg wrote:
> > >
> > > > i installed php4 on my linux 7 system.
> > > >
> > > > when i try to access a .php file, it tries to save it to disk.
> > > >
> > > > i changed the httpd.conf file already.
> > > >
> > > > here is another quirk that i don't know is related.....
> > > >
> > > > when i use a command line window to path to /usr/local/
> > > >
> > > > i do 'ls' and i can see my apache and mysql directories that i
> > > > installed.
> > > >
> > > > i cannot see the php directory.
> > > >
> > > > when i use the gnome/windows-like environment, the php directory
shows
> > > > up.
> > > >
> > > > i can do cd /usr/local/php* and it will put me in it, but i won't
show
> > > > up on a 'ls' command.
> > > >
> > > > any solutions?
> > > >
> > > >
> > > > --
> > > > PHP Install 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]
> > > >
> > >
> > >
> > > --
> > > PHP Install 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]
> > >
> >
> >
> > --
> > PHP Install 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]
>


-- 
PHP Install 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]

Reply via email to