PHP and Apache On Linux

This is a discussion on PHP and Apache On Linux within the A Brief History of Cprogramming.com forums, part of the Community Boards category; 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... ...

  1. #1
    Unregistered
    Guest

    PHP and Apache On Linux

    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:

    Code:
    <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

  2. #2
    Registered User
    Join Date
    May 2002
    Posts
    4

    Post

    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 )

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. PHP on my Computer!
    By xxxrugby in forum Tech Board
    Replies: 4
    Last Post: 03-15-2005, 08:34 AM
  2. Apache [2.xxx] and PHP [4.xxx]
    By Wondering_Guy in forum Tech Board
    Replies: 12
    Last Post: 01-19-2003, 01:41 PM
  3. PHP Rocks!
    By Waldo2k2 in forum A Brief History of Cprogramming.com
    Replies: 8
    Last Post: 01-14-2003, 01:11 PM
  4. ??? about the future of Linux programming ...
    By Unregistered in forum Linux Programming
    Replies: 3
    Last Post: 08-19-2002, 05:39 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21