PDA

View Full Version : PHP and Apache On Linux



Unregistered
05-07-2002, 10:08 AM
I Installed Apache 1.3.24 and PHP 4.2.0 on RedHat 7.2 and it will
execute scripts but it wont except variables... example:

script.php:



<html>
<?
echo "hello $var";
?>


When I go to www.domain.com/script.php?var=name i sould get an output
of "hello name" but I don't. I just get "hello"

How can I configure it to except variables?

Thanks

pkplex
05-07-2002, 12:10 PM
That works fine for me...

I am running debian potato, with what ever php and apache versions potato has ( on a 486 25 mhz 16 mb beast, even ) :)