Installing Php5 On Apache 2.2

Posted on by

Installing Php5 On Apache 2.2' title='Installing Php5 On Apache 2.2' />I am looking for installing zeromq on my Windows 7 machine for using zeromq with PHP I am using WAMP server 5. Apache Server 2. 2. I followed the. Windows. Thanks David. i solved it. Actually i did it by uncommenting the extensionphpcurl. Fero Aug 28 09 at 1415. How to Install Apache 2. My. SQL and PHP on Windows Server 2. Installing Php5 On Apache 2.2' title='Installing Php5 On Apache 2.2' />R2. Posted by newlife. Jun 7, 2. 01. 4 in Windows 5. Well it is finally time to start playing a bit more with Microsofts latest server OS Windows Server 2. R2. One of the many things to have on the list is getting the WAMP WindowsApacheMy. SQLPHP stack working. So in this post we will get installed and running Apache 2. My. SQL 5. 6. 1. 9 and PHP 5. Windows Server 2. R2. Also, instead of 3. You will need to download and install  Visual C Re distributable for Visual Studio 2. You will also need. NET 4. 0 installed as a prereq for My. SQL and Visual C 2. Download 6. 4 bit Apache httpd 2. VC1. 1. zip from http www. Download and extract the zip and copy it to the root of C. This will be C Apache. Download php 5. 5. Win. 32 VC1. 1 x. Thread Safe from http windows. Extract and rename folder to php and move to C. Extract php 5. 5. Win. 32 VC1. 1 x. Edit Apaches config file, c Apache. Load. Module php. Add. Handler applicationx httpd php. PHPIni. Dir C phpWhile we are at it we can add index. Apaches 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. Register Apache Service. Now lets register Apache as a service. Open a command prompt and type. If do not want Apache starting automatically at start upreboot GUI Way. START RUNType in services. Enter or click OKLocate Apache. PropertiesFind 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. Add c php c Apache. Apache. 24bin to 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 phpphp. Now lets edit php. Uncomment extension directory. Directory in which the loadable extensions modules reside. Uncomment mysql modules. Save the changes and open a command prompt. Restart Apache to re read the changes made to PHP. Check to make sure it shows loaded modules. C c phpphp m. So now we have Apache running and configured to use php. Automatic Ssh Ramdisk. 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, localhostinfo. PHP. My. SQLDownload and install mysql 5. Change installation directory to C My. SQLMy. 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 localhostphpmyadminsetupindex. At this point you should have a working Apache PHP My.