How to work with PHP on Windows XP?
I want to make an example PHP program on Windows XP.
Do I need any special software for this to work?
I am afraid that I just open PHP program type notepad and save it with php extension. Then I open it in the browser as an HTML file. But it doesn't work.
Please, help
Thanks in advance
a source to share
However, you decided to install the webserver and php (or just php and use it in the console as someone mentioned):
- Check out the PHP Manual , especially Getting Started .
Apache (very, very simple)
- Start WampServer Start Presentation .
- Download and install WampServer .
- And you're ready to go.
Microsoft (not tested itself)
- Check PHP on Windows .
- Download and install Microsoft Web Platform Installer .
- Let me know how it turns out ... (never tried it myself since WampServer is so simple)
a source to share
To do this job you need to have a web server with PHP installed on your PC.
I highly recommend installing wampserver on your computer. It is a Windows installer that will add PHP, MySQL and Apache to your computer and allow you to manage all the services so easily. If you have problems getting it working, you can also try XAMPP , although I have never used it myself.
a source to share
Some answers containing a hint for using wamp. You are better off using Zend Server Community Edition.
It's also free and can be downloaded from here: http://www.zend.com/de/community/zend-server-ce
This contains Apache, Mysql, PHP and some Zend related tools. Advantage: It's much better than yours.
a source to share
Since you have IIS on your Windows CD, I would suggest you go to Control Panel, Install / Uninstall Programs and click on Windows Components and Install IIS. Then install ASP.NET 3.5 from www.asp.net and finally install Phalanger from http://www.php-compiler.net/
This will give you the advantage of both worlds, you can program in ASP.NET using PHP as the language, you can only use PHP if you prefer, or you can mix using ASP.NET/C# on some pages and PHP on other pages in one application.
a source to share
I would like to share that before running PHP we have to set up an environment for this, and then we can start working with PHP.
http://code.freefeast.info/php-tutorials/setting-up-the-environment-for-php-php-tutorial/
a source to share