Find the answer to your Linux question:
Results 1 to 2 of 2
Hi All, Good Day to you.. I am new to Linux. I have installed Apache on my m/c. I am interested in learning PHP. I need your advice on the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2004
    Posts
    1

    Starting and connecting PHP on Mandrake Linux 9.2


    Hi All,

    Good Day to you..

    I am new to Linux. I have installed Apache on my m/c. I am interested in learning PHP.

    I need your advice on the following.

    1. Do I need to install any s/w for starting PHP ?

    2. Do I need to do any setting changes on my Linux box for coding in my linux box?

    3. Would like to know if there is any URL that helps on PHP on Mandrake Linux.

    Pls. advice me on the above.

    Thanks in advance for your advice and help.

    Regards
    Kalyan Kumar
    kalyansql_2002@yahoo.com.sg

  2. #2
    Linux User
    Join Date
    Jul 2004
    Posts
    256
    create a new file something.php and put this code in it
    Code:
    <html>
       <head>
           <title>Example</title>
       </head>
       <body>
    
           <?php
           echo "Hi, I'm a PHP script!";
           ?>
    
       </body>
    </html>
    View it using the webserver, ie: http://localhost.localdomain/~user/test.php If it outputs correctly (You should not see the word "echo" in your browser) then you have PHP installed, else go install PHP

    The rest of your questions are answered at this site:
    how to install PHP Depending on what version of apache you have, there are different instructions at that link. It tells you what all you need to download, install, edit, etc.
    --monkey

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •