Friday, July 31, 2009

How can I emulate a php enviroment?

Im trying to learn PHP. I found a freesource PHP website and have downloaded it. I need to know how I could simulate the PHP enviroment so I can veiw the site as if it were accually on the web and use it to see if my tinkering and editing accually works properly.

How can I emulate a php enviroment?
There are a number of programs that can install a php environment on your Windows machine.


I just installed a product called XAMPP and it is pretty painless and works well for testing your scripts in a local environment.


http://www.apachefriends.org/en/xampp.ht...


Just follow the directions and you should be good to go.
Reply:What you need to do is actually install a server such as apache. You can do this fairly easily. Instructions are on the Apache website.





You may also want the MySql database server if your scripts will need a database. It is free too and available for most platforms.





You can then store your web pages and scripts in the apache html directory ad view them as if they are on an actual server.
Reply:We are currently using easyPHP, which is also quite good:


http://www.easyphp.org/?lang=en
Reply:For this you will need a web-server which can run *.php files. You can use Apache(window+linux), or IIS(Windows only). You will have to configure PHP on both of these.


If you don't want to configure PHP manually, then just download XAMPP from (http://www.apachefriends.org) and install it on your pc. It is pre-configured PHP, Apache, MySQL. Just download+install and u can use this.

eurovision song contest

No comments:

Post a Comment