lcthree Posted July 14, 2009 Share Posted July 14, 2009 I'm trying to install PHP on Windows with the MSI installer pack and it's only listing the following options on web server configuration: - IIS FastCGI - Other CGI - Do not set up a web server As I recall it used to have lots of options, probably about 10 or so. I need to use it with Apache 2.2.11, what happened to the Apache 2.2 option that I used to use? The version of PHP I have downloaded is "VC6 x86 Non Thread Safe (2009-Jun-30 08:52:54)" - MSI Installer. Do UI haev the right installer? Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/165928-php-installer-for-windows-giving-me-grief-again/ Share on other sites More sharing options...
wildteen88 Posted July 14, 2009 Share Posted July 14, 2009 Do not use the installer for PHP. Instead download the VC6 Thread Safe Zip package from http://windows.php.net/. Extract the contents of the zip to C:/php. Rename php-development.ini (located in C:/php) to php.ini. Now add the following to Apaches httpd.conf (This is located in C:/<path to apache>/conf) LoadModule php5_module "C:/php/php5apche2_2.dll" AddType application/x-httpd-php .php PHPIniDir "C:/php" Save the httpd.conf. Now add C:/php to the Path Environment Variable. Restart Windows and PHP is installed. Before modifying the php.ini first test whether everything is setup correctly. Create a new file called info.php in C:/<path to Apache>/htdocs. Add the following code to this file <?php phpinfo(); ?> Open you browser and go to http://localhost/info.php. You should get a white/purple which details PHP configuration/environment. If you do everything is setup and you're good to go. Quote Link to comment https://forums.phpfreaks.com/topic/165928-php-installer-for-windows-giving-me-grief-again/#findComment-875250 Share on other sites More sharing options...
lcthree Posted July 16, 2009 Author Share Posted July 16, 2009 Thanks, works perfectly now that I've used the zip (you typoed php5apche2_2.dll in your code which I blindly copied and pasted at first though, you could edit that in case someone else reads this thread and does the same) What happened to the installer though? I used to be able to make it work from the MSI installer. Quote Link to comment https://forums.phpfreaks.com/topic/165928-php-installer-for-windows-giving-me-grief-again/#findComment-876765 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.