Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 14
Hi i want to install Apache, PHP, MySql under Linux Slackware 10.0 .... apache is already running fine " becuase i can browse index.html under localhost " and afterthat i ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2005
    Posts
    13

    Apache, PHP, MySql under Linux Slackware 10.0


    Hi

    i want to install Apache, PHP, MySql under Linux Slackware 10.0 .... apache is already running fine " becuase i can browse index.html under localhost " and afterthat i installed PHP but it doesn't seem to work ... i want to view a php file to test it ... i open the browser and typed in http://localhost/test.php then i get a prompt to download it or brows for an application to open it ... it doesn't recognize the php file some how

    can somebody help please //// Kind Regards

  2. #2
    Linux Engineer
    Join Date
    Nov 2004
    Location
    Montreal, Canada
    Posts
    1,267
    Here's a few online how-to for the configuration of PHP under apache

    http://dan.drydog.com/apache2php.html
    http://apache-server.com/tutorials/LPPHP.html
    \"Meditative mind\'s is like a vast ocean... whatever strikes the surface, the bottom stays calm\" - Dalai Lama
    \"Competition ultimatly comes down to one thing... a loser and a winner.\" - Ugo Deschamps

  3. #3
    Just Joined!
    Join Date
    Feb 2005
    Posts
    13
    how can i uninstall the previous apache ? i want to install aache 2

  4. #4
    Linux Engineer
    Join Date
    Nov 2004
    Location
    Montreal, Canada
    Posts
    1,267
    Since my knowledge of slackware is very limited, I'll refer you to the tutorial of "install / UnInstall" software under Linux, you can find it here. Scroll down to the SLACKWARE section and you will get all the information you need.
    \"Meditative mind\'s is like a vast ocean... whatever strikes the surface, the bottom stays calm\" - Dalai Lama
    \"Competition ultimatly comes down to one thing... a loser and a winner.\" - Ugo Deschamps

  5. #5
    Linux Guru Vergil83's Avatar
    Join Date
    Mar 2004
    Posts
    2,407
    download it from here
    http://www.linuxpackages.net/search_...pache&ver=10.0
    than
    Code:
    su 
    pkgtool
    Brilliant Mediocrity - Making Failure Look Good

  6. #6
    Just Joined!
    Join Date
    Feb 2005
    Posts
    13
    i installed apache 2 now ... but when i want to test it (http://localhost/) to view the index.html or what ever ... i get [ The Connection was refused when attempting to contact localhost] .....

    what should i do

  7. #7
    Linux Guru Vergil83's Avatar
    Join Date
    Mar 2004
    Posts
    2,407
    is apache actually running?
    Code:
    ps -A
    Brilliant Mediocrity - Making Failure Look Good

  8. #8
    Linux Guru kkubasik's Avatar
    Join Date
    Mar 2004
    Location
    Lat: 39:03:51N Lon: 77:14:37W
    Posts
    2,396
    you will need to make sure to start apache first, startup scipts are in

    /etc/rc.d/init.d

    i believe, and I think pkgtool also provides a graphical method for starting services in a similar fashion.
    Avoid the Gates of Hell. Use Linux
    A Penny for your Thoughts

    Formerly Known as qub333

  9. #9
    Just Joined!
    Join Date
    Feb 2005
    Posts
    13
    how can i get that tool ? i only run blackbox

  10. #10
    Just Joined!
    Join Date
    Feb 2005
    Posts
    13
    the apache server is running now ... but when i want to view a php page wich i created in the root /htdocs/info.php .. iv'e been prompt either open the file with an application or save it to disk ..

    i think it doesn't pick up the .php extension correctly or something ... can anybody please help ??

    thanx .....

Page 1 of 2 1 2 LastLast

Posting Permissions

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