On Sun, 19 Nov 2000, Lou Spironello wrote:
> Sorry for the misleading example I gave.
> The snippit of code I included was a small test script which i used just to see
> if PHP is generating the appropriate info for the browser.
>
> The problem is that apache doesn't seem to execute the script b
> Thank you burk. I'm curious, what does the short_open_tag do?
> I'm guessing that it allows the short form of instead of . IIRC these are
disabled by default because they can conflict with XML if php is compiled
with those extensions.
___
Redhat-l
Thank you burk. I'm curious, what does the short_open_tag do?
I'm guessing that it allows the short form of
To: <[EMAIL PROTECTED]>
Sent: Sunday, November 19, 2000 2:06 PM
Subject: Re: apache not executing php scripts
>
> Does work? If it does, check the
> short_
I did a very stupid thing.
I used the following to access the file:
file://192.168.0.1/phpinfo.php
instead of:
http://192.168.0.1/phpinfo.php
DUH!!
I need some sleep. |-(
Thank you
Lou
___
Redhat-list mailing list
[EMAIL PROTECTE
Does work? If it does, check the
short_open_tag directive in the php.ini file.
On Sun, 19 Nov 2000, Lou Spironello wrote:
> The problem is that apache doesn't seem to execute the script bounded by the
> script delimiters .
>
-burk
--
[EMAIL PROTECTED]
Linux File Managers: http://www.pobox
as displayed centered on the screen:
>
>our first php3.0 script
>
>
>- Original Message -
>From: "Marco Shaw" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Sunday, November 19, 2000 11:15 AM
>Subject: Re: apache
To: <[EMAIL PROTECTED]>
Sent: Sunday, November 19, 2000 11:15 AM
Subject: Re: apache not executing php scripts
> Haven't played with PHP for a while so I'm not sure if things have
> changed...
>
> "#!" is not required for Apache to parse PHP. PHP uses "
ge -
From: "Lou Spironello" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, November 19, 2000 11:49 AM
Subject: apache not executing php scripts
> Hello. I'm having difficulties getting php to work on my RH7.0.
> No php script will be processed insi
Hello. I'm having difficulties getting php to work on my RH7.0.
No php script will be processed inside an html page or if I read a page with a
php extention.
I created a small script with the following:
#!/usr/bin/php
echo "hello, I'm a php script\n";
The following output was produced by