How to install PHP on Windows?
Following these steps
1. There are two options for installing
PHP, CGI and ISAPI module. 2. Now download the Windows
binary version of PHP and unzip it.
3. If you are using NT/2000, you
have to tell the IIS how to recognize PHP, which can
be done with a few mouse clicks.
4. Fire up the Microsoft Management
Console or Internet Service Manager and click on the
properties button of the web node on which you are
working.
5. Click the ISAPI “filters”
tab and then press “Add”. Use the PHP
as name and put the location of PHP in the path “C:\winnt\system\”
6. Press the “configuration”
button under the “Home directory” tab
then press “add for application Mappings”.
7. Next step is to start and stop
the IIS. Go to a command window and type “net
stop issadmin” then type “net start w3svc”.
8. You have successfully installed
the PHP with ISAPI module on windows
How to Configure PHP/My SQL?
Open the PHP folder and make a copy of the file “php.ini”.
Now rename it to “php.ini rec”.
Do the following operations on this file
1. Search for the line“short_open_tag=off”and
change it to “shot_open_tag=on”
2.Search for the following line“magic_quotes_gpc=off”
and change it to “magic_quotes_gpc=on”
Using the same method search for
“Register_globals=off” and “display_errors=off”
and change their values to “on”.
How to install My SQL on Windows?
1. In the first step create a “mysqltem”
named temporary directory.
2. Now unzip the My SQL file to this
directory.
3. You see a file “setup.exe”
after unzipping is finished.
4. Browse to the setup file and double
click it.
5. The installation wizard will be
started which will guide you rest of the installation
process.
6. Now select the “Typical”
installation type and click “next”.
7. It will install the My SQL in
the “C:\mysql” directory.
8. Restart the machine.
9. Run the MS-DOS session and move
to “c:\mysql\bin”.
10. Type the following command
mysqld-shareware –standalone OR (in later versions)
mysqld
11. It will run the My SQL server.
12. The prompt is changed to the
“mysql” prompt.
13. Type “show databases”
at prompt to test the My SQL server.
14. It will display like “database
My SQL test”
My SQL has been successfully installed
How to Configure My SQL?
1. When you see the My SQL server configuration
wizard has started, press “next” button
to continue.
2. You just choose the “Detailed Configuration”
option and click “next”
3. In the next step, you will be
asked to choose the server type. It is recommended
that you choose “server machine” option
and click “next”.
4. Select the “Multifunctional
Database” option and press next.
5. Next step choose the “decision
support /OLAP” and click next.
6. Click the “enable TCP/IP
networking” option and “Enable strict
Mode” and then press “next”.
7. Click the “execute”
button and then click finish to end the configuration.
You have been successfully configured the My SQL
This article explained that how to install and configure
PHP /My SQL on Windows. If you follow the steps that
we discussed in this article you will found the best
solution of your problems and difficulties that may
occur in PHP installations and configurations.