-
Operating System
-
Computer Tips
-
Installation
-
Computer Software Reviews
-
Laptops
-
Printers
-
Dekstop Computers
-
Home Network
-
Wireless Network
-
Cisco Networking
-
Webmaster
-
Online Games
-
Adobe Photoshop
-
Flash
-
Adobe Illustrator
-
PHP
-
CSS
-
SEO
-
Links Building
-
Internet Marketing
NEWSLETTER
Enter Name Here:
Enter E-Mail Address Here:
General Computer Computer Hardware Computer Network Internet
Web Design Web Developement Business Promotion Troubleshooting Tools

How to Install & Configure PHP/My SQL

This article explains the installation and configuration of PHP and My SQL.

PHP installation on Windows

1. First of all you are given two options for installing PHP, one as a CGI and other as ISAPI module. The later one runs faster than the former. Its drawback is that it is not stable.
2. 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. Now click the ISAPI “filters” tab and then click “Add”. Use the PHP as name and put the location of PHP in the path “C:\winnt\system\”

6. Click the “configuration” button under the “Home directory” tab then click “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 now installed the PHP with ISAPI module on windows

Configuring the PHP/My SQL
Go to the PHP folder and make a copy of the file “php.ini”. 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”


My SQL installation on Windows

1. Create a “mysqltem” named temporary directory.
2. Unzip the My SQL file to this directory.
3. You will find a file named “setup.exe” after unzipping is finished.
4. Now 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. Select the “Typical” installation type and click “next”.
7. It will install the My SQL in the “C:\mysql” directory.
8. Now restart the machine.
9. Run the MS-DOS session and move to “c:\mysql\bin”.
10. Type the following
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

Configuring My SQL

1. When the My SQL server configuration wizard has started, click “next” button to continue.
2. 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. Now select the “Multifunctional Database” option and click next.
5. In the next step choose the “decision support /OLAP” and press next.
6. Now click the “enable TCP/IP networking” option and “Enable strict Mode” and then click “next”.
7. Now click the “execute” button and then click finish to end the configuration.

My SQL has been successfully configured

 

Home About us Misc How Tos Sitemap IT Forum Add Link Contact us
Privacy Policy
Copyright © 2007. PCHOWTO.NET All rights reserved