Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 8 of 8
  1. #1
    Regular Coder
    Join Date
    Jul 2007
    Posts
    571
    Thanks
    25
    Thanked 28 Times in 28 Posts

    Starting PHP Question

    Hi all!

    I followed the steps in a book i bought on how to set up apache/mysql/php.

    I went through each step however i am running into a problem. When i try to view php files through my localhost i get a save/open dialog box. if i choose save it simply get saved to my desktop and if i choose open, then it opens in dreamweaver.

    any idea of why i am running into this problem?

  • #2
    Regular Coder
    Join Date
    Mar 2007
    Location
    Quebec
    Posts
    261
    Thanks
    6
    Thanked 7 Times in 7 Posts
    PHP wasn't installed properly.
    Try this tutorial: http://www.php-mysql-tutorial.com/in...-php-mysql.php

  • #3
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Save yourself the trouble and use XAMPP.
    Last edited by _Aerospace_Eng_; 07-06-2007 at 09:11 AM.
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #4
    Regular Coder
    Join Date
    Jul 2007
    Posts
    571
    Thanks
    25
    Thanked 28 Times in 28 Posts
    The official php site has a warning about downloading all in one packages. this is why i did not download one in the first place, whats your opinion on it?

  • #5
    Regular Coder
    Join Date
    Mar 2007
    Location
    Quebec
    Posts
    261
    Thanks
    6
    Thanked 7 Times in 7 Posts
    well... considering _Aerospace_Eng_ recommended it, and he seems like a pretty darn good coder, I'd imagine its of some value if it was recommended

  • #6
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    XAMPP has been developed for quite some time now. Its up to version 1.6.2 and contains a lot of features. A lot of time was spent into developing the application. It installs PHP 5 by default but has a PHP Switch so you could use PHP 4 if you like. It installs mysql, as well as phpmyadmin. It also installs mercury mail which acts as a mail server. I wouldn't recommend something that I didn't think was worth it. Often beginners try to install php and apache but run into problems because they missed one step or something. XAMPP takes care of all the issues. I myself use XAMPP.
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #7
    New Coder
    Join Date
    Sep 2006
    Posts
    61
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I use WAMP now, I got so sick of the install and handling the files seeing how many times I reinstalled windows.

    I setup 3 virtual hosts with WAMP and only need to change a few things. :P
    Depending on your OS, I never used XAMMP, thought that was a Linux or Mac version, I dont know, thought they were called LAMP and MAMP haha.

  • #8
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    XAMPP has versions for Linux, Mac, Windows, and Solaris. I setup 4 virtual hosts and only needed to change a few things as well. Mainly the vhosts.conf file. The file has examples of how to setup new virtual hosts. I had to edit my host file as well in the Windows directory. If you uninstall XAMPP for some reason it allows you to keep your sql data and your htdocs folder.
    ||||If you are getting paid to do a job, don't ask for help on it!||||


  •  

    Posting Permissions

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