How install Apache 2. PHP 5. 4 and My. SQL 5. Windows 7. Posted by newlife. Mar 1. 7, 2. 01. 2 in Windows | 2. Recently decided to install a working Apache 2. PHP 5. 4. 9 and My. SQL 5. 5 running locally on my Windows 7 laptop for web design, not using XAMPP or WAMP installation methods. Which are great but this round I wanted to match my Linux server. Apache 2. 4 Install. First download Apache 2. Apache 2. 4. 1with IPv. This release is supported by the PHP 5. Apache 2. 4. Extract the zip and copy it to the root of C: \. This will be C: \Apache. Update 0. 1- 1. 7- 2. The version of the php. PHP you are installing. The link that was reference before has been changed and moved to http: //www. As of PHP 5. 4. 1. Windows build. PHP 5. Earlier. Download PHP 5. VC9 x. 86 Thread Safe from http: //windows. Win. 32- VC9- x. 86. Extract and rename folder to php and move to C: \Also, download php. Runs with PHP 5. 4 Thread Safe (TS), and only with Apache 2. Permission is granted to copy, distribute, and/or modify this document under the terms of the Open Publication Licence, Version 1.0, or any later version. Is and in to a was not you i of it the be he his but for are this that by on at they with which she or from had we will have an what been one if would who has her. Retrouvez toutes les discothèque Marseille et se retrouver dans les plus grandes soirées en discothèque à Marseille. Apache Mod Mime And Mod Rewrite Modules Installed Updates DownloadsWin. 32 VC9 or VC1. PHP 5. 4. 1. 0 and higher. Download PHP 5. 4 VC9 x. Thread Safe from http: //windows. Extract and rename folder to php and move to C: \. Update 0. 1- 1. 7- 2. This next edit seems to cause issues with php. Apache Mod Mime And Mod Rewrite Modules Installed Updates YahooI have added two options for PHP 5. PHP 5. 4. 1. 0 and above. I want to thank all those who have brought this to my attention and I hope this helps out. Also, due to the addition of the php. PHP 5. 4. 1. 0 and above builds you no longer need to download the module separately. PHP 5. 4. 9 and earlier Option 1. Extract php. 5apache. This is needed to allow Apache to use PHP. Edit Apache’s config file, c: \Apache. Load. Module php. Add. Handler application/x- httpd- php . PHPIni. Dir "C: /php"While we are at it we can add index. Apache’s list just incase we want to have a starting page as php. Find Directory index and add index. Directory. Index index. Next we need to input a value for Server. Name variable. You will have to un- comment it. Save the changes to the config file. Next move to the Register Apache Service step. PHP 5. 4. 9 and earlier Option 2. Extract php. 5apache. This is needed to allow Apache to use PHP. Edit Apache’s config file, c: \Apache. Load. Module php. Add. Handler application/x- httpd- php . PHPIni. Dir "C: /php"While we are at it we can add index. Apache’s list just incase we want to have a starting page as php. Find Directory index and add index. Directory. Index index. Next we need to input a value for Server. Name variable. You will have to un- comment it. Save the changes to the config file. Next move to the Register Apache Service step. PHP 5. 4. 1. 0 and newer. Edit Apache’s config file, c: \Apache. Load. Module php. Add. Handler application/x- httpd- php . Next we need to input a value for Server. Name variable. You will have to un- comment it. Save the changes to the config file. Next move to the Register Apache Service step. Register Apache Service. Now let’s register Apache as a service. Open a command prompt and type. If do not want Apache starting automatically at start- up/reboot: GUI Way. START | RUNType in services. Enter or click OKLocate Apache. Properties)Find the caption Startup type: (in the middle of the dialog box), use the pull- down and select Manual. Click OKCommand line. C: \> sc config Apache. Addc: \Apache. 24; c: \Apache. PATH in Environment variables. PATH ENVIRONMENT (System Properties | Advanced | Environment Variables | System variables | Path). Example: ;c: \php; c: \apache. Now lets check Apache settings by issuing the command, c: \Apache. SPHP Edits. Now we have to do a few edits to the php. Since there is not a already set php. Rename c: \php\php. Now let’s edit php. Uncomment extension directory.; Directory in which the loadable extensions (modules) reside. Uncomment mysql modules. Save the changes and open a command prompt. Check to make sure it shows loaded modules. C: \> php - m. So now we have Apache running and configured to use php. Lets create a file called info. Apache parses the info correctly to display the results. Open Notepad or your favorite Windows editor and type and save the following. < ? Open your browser and type, localhost/info. PHP. My. SQLDownload and install mysql- 5. Change installation directory to C: \My. SQL\My. SQL Server 5. Program files as there could be permissions issues. Once the installation is completed you can let the configuration wizard run and setup the database server. The defaults will work just fine, but remember what you set the password to for root. PHPMy. Admin. PHPMy. Admin is a very nice tool to use for administering your My. SQL installation. Download and install phpmyadmin- 3. Extract the file and move to c: \apache. Rename directory to phpmyadmin. Create a config directory under phpmyadmin. Open a browser and type localhost/phpmyadmin/setup/index. At this point you should have a working Apache / PHP / My. SQL installation running and ready for you to start developing !!!
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
November 2017
Categories |