fmwanje Posted May 26, 2006 Share Posted May 26, 2006 How can i install php and apache on windows xp Home Edition? Which edition of apache should i use? Link to comment Share on other sites More sharing options...
pulpfiction Posted May 26, 2006 Share Posted May 26, 2006 Instead of installing Apache and other stuff individually, try installing EASYPHP or XAMPP. These are like packages, if you install XAMPP you'll get,MySQL 5.0.20 PHP 5.1.1 PHP 4.4.2-pl phpMyAdmin 2.8.0.3 XAMPP Control Panel Version 2.2 FileZilla FTP Server 0.9.14a and EASYPHP Package includes an Apache server, a MySQL database, PHP.for installation just google for these name. Link to comment Share on other sites More sharing options...
Tarte Posted May 26, 2006 Share Posted May 26, 2006 You should go for EasyPHP Link to comment Share on other sites More sharing options...
pulpfiction Posted May 26, 2006 Share Posted May 26, 2006 Yeah even I use EASYPHP, but you'll have to look for English version download to install it. but have never tried XAMPP.... Link to comment Share on other sites More sharing options...
SFB Posted May 26, 2006 Share Posted May 26, 2006 I use XAMPP. I think it works nicely. I have one question for you. are you trying to set you computer up as a server or are you just trying to test a few php files? If you want to set up your own server you should install everything seperately because xampp has some security issues that can be fixed but take some time. I dont know if you can use phpeasy as a server. i am thinking you cant but i may be wrong. on windows you have to install apache and php and other things like that as a service. Link to comment Share on other sites More sharing options...
pulpfiction Posted May 26, 2006 Share Posted May 26, 2006 Yeah thats a important point SFB mentioned.No, easyphp is not for web server, EasyPHP is not designed to be used as a production server, but as developing server to test your pages offline before moving them on the hosting server. Indeed, Apache for Windows is a test version, and is not guaranteed for an optimal operation (reliability, load rising, ...) contrary to Unix/Linux based platforms. Using EasyPHP as a "production" server is very risky Link to comment Share on other sites More sharing options...
fmwanje Posted May 26, 2006 Author Share Posted May 26, 2006 Thanks guys. I am gonna go Easyphp. I plan to use my computer as a developing server ie. testing my code off line. Link to comment Share on other sites More sharing options...
aleksanteri Posted May 28, 2006 Share Posted May 28, 2006 NOOOOOOOO!!!!!!So I have been at least a hundred times installing and re-installing PHP and MySQL and Apache and I could just get EASYPHP and it all could work? Link to comment Share on other sites More sharing options...
justsomeguy Posted May 28, 2006 Share Posted May 28, 2006 I guess you could, or you could also just set it up right the first time. If you go through the setup guides on php.net and mysql.org they pretty much go step-by-step, it just takes a little time and effort. Link to comment Share on other sites More sharing options...
theotherside Posted May 29, 2006 Share Posted May 29, 2006 Yeah thats a important point SFB mentioned.No, easyphp is not for web server, EasyPHP is not designed to be used as a production server, but as developing server to test your pages offline before moving them on the hosting server. Indeed, Apache for Windows is a test version, and is not guaranteed for an optimal operation (reliability, load rising, ...) contrary to Unix/Linux based platforms. Using EasyPHP as a "production" server is very risky<{POST_SNAPBACK}> what is the different of production server and developing server? Link to comment Share on other sites More sharing options...
reportingsjr Posted May 29, 2006 Share Posted May 29, 2006 what is the different of production server and developing server?<{POST_SNAPBACK}> well.. If you are going to make a computer a production server and you would delete everything off of the computer ut what is needed to make it a server.. and it would sit there, and cost money, but you could host domains on it.A developing server jsut runs the code of a file offline to see what it looks like.. so in reality, its not really a server at all.. more like a compiler. Link to comment Share on other sites More sharing options...
aleksanteri Posted May 29, 2006 Share Posted May 29, 2006 I guess you could, or you could also just set it up right the first time. If you go through the setup guides on php.net and mysql.org they pretty much go step-by-step, it just takes a little time and effort.<{POST_SNAPBACK}> But my only problem is that I can't get it to work!Now, I have easyphp installed, do I need to do what to open the PHP files? Link to comment Share on other sites More sharing options...
justsomeguy Posted May 29, 2006 Share Posted May 29, 2006 well.. If you are going to make a computer a production server and you would delete everything off of the computer ut what is needed to make it a server.. and it would sit there, and cost money, but you could host domains on it.A developing server jsut runs the code of a file offline to see what it looks like.. so in reality, its not really a server at all.. more like a compiler. Both machines are servers, the difference is only what you use them for. Development servers are constantly changing, and the new code that is being written is being tested on them. They can either have access to the internet or not, I have development servers that are online and others just over a local network. Production servers are the live internet servers that host a stable version of the code, these are the servers that the public actually logs on to and uses. When the software is stable enough, you move it from the development server to the production server. Link to comment Share on other sites More sharing options...
Little Goat Posted June 2, 2006 Share Posted June 2, 2006 whoa, wait a minute DO NOT INSTALL EASYPHP!!!!!it slows down your computer really bad. (or at least mine) use XAMPP.(just had to warn you)LG Link to comment Share on other sites More sharing options...
pulpfiction Posted June 2, 2006 Share Posted June 2, 2006 I have installed EASYPHP in my computer, i dont have any problem with speed.... Link to comment Share on other sites More sharing options...
Little Goat Posted June 2, 2006 Share Posted June 2, 2006 well, XAMPP is still better. Link to comment Share on other sites More sharing options...
aleksanteri Posted June 5, 2006 Share Posted June 5, 2006 EasyPhp, I gave up on it. Instead, I think that I found another way to get it working on my computer.I installed PWS and used it as localhost to my ASP files, I did the Windows install on PHP.net and configured it (in the install program) to work with the PWS. However, when I try to open my PHP files, I get a 403 error (that's the "no rights, forbidden"-error). HTTP-virhe 403403.1 Estetty: Suorittaminen estetty.Tämä virhe saattaa johtua siitä, että olet yrittänyt suorittaa CGI- tai ISAPI-sovelluksen tai muun suoritettavan ohjelman kansiosta, jolle ei ole määritetty suoritusoikeutta.Ota yhteyttä Web-palvelimen järjestelmänvalvojaan, jos ongelma jatkuu.That means:HTTP-error 403403.1 Forbidden: Running forbidden.This error might be caused of you trying to run a CGI- or ISAPI- program or other program from a folder what has not been given rights for running.Take contact to the Web-server's system supervisor, if the problem continues to happenHow do I round this problem? Link to comment Share on other sites More sharing options...
aleksanteri Posted June 5, 2006 Share Posted June 5, 2006 I mean that I get a 403 error when I'm opening a PHP file via PWS, which works with ASP. It says that I need to give rights to run the PHP in PWS. How do I do this? Link to comment Share on other sites More sharing options...
justsomeguy Posted June 5, 2006 Share Posted June 5, 2006 Make sure that you give the directory you want to run your PHP files from Execute permissions. You should have permissions for read, write, and execute, make sure your PHP directories have the execute permission. I've never used PWS, so I'm not exactly sure how to configure that, but see if you can find it. Link to comment Share on other sites More sharing options...
aleksanteri Posted June 5, 2006 Share Posted June 5, 2006 (edited) Make sure that you give the directory you want to run your PHP files from Execute permissions. You should have permissions for read, write, and execute, make sure your PHP directories have the execute permission. I've never used PWS, so I'm not exactly sure how to configure that, but see if you can find it.<{POST_SNAPBACK}> I have *.asp and *.php files in the same folder.The folder has given full rights.When I open an ASP file, the file executing works just fine.When I open a PHP file, I get an 403.1 error. --------------------------------------------------------------------EDIT: Heeey, wait now... I checked my virtual folders, there was another folder with the same path, and the cgi-bin with no rights!!!! Ok, I gave all folders full rights (this is localhost) and my PHP works!!! Wov, ROCKS!!!! Edited June 5, 2006 by aleksanteri Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now