That's not entirely correct. The apahce 2.2.x line needs php5apache2_2.dll while the 2.0.x line will use the php5apache2.dll file. It's been this way since 2.2.0 😉

And I plan on revamping this soon. Probably this weekend sometime.

    15 days later

    Updated the above steps with new images (finally I put them back up). Ran through them again myself and everything seems good.

      a month later
      5 months later

      i am using xampp.....i am not anle to run phpscripts...my php version is 4....it is saying something like "something wrong with installation"...can anyone help//please?

        XAMPP is a software package, you'd have to ask support from them about installation. THis thread was for installing Apache, PHP, MySQL. Each being separate items, not installing through XAMPP or any other meta package like that.

          i am using xampp.....i am not anle to run phpscripts...my php version is 4....it is saying something like "something wrong with installation"...when i referred the net,it says that some path has to be changed in .conf in apache to php..i cant follow that...can anyone elaborate on that?

            Once again, ask on XAMPP's forums. This thread deals with installing the individual parts of the "AMP" installation (Apache, MySQL, PHP). We don't offer support for specific packages. I don't use XAMPP or WAMP.

            If you want support for xampp, please go here

              4 days later

              Updated steps to fix a flub on my part. Added note about php5_apache2 vs php5_apache2_2 DLLs.

                2 months later

                ok never mind I got this one... still working on upgrades though.

                  4 months later

                  You didn't do anything wrong; whoever wrote that script did a poor job doing it. Let's just say critiquing that script would take quite a while. :p

                  The main problem, however, is that the script uses short tag openings (e.g. '<?' or '<?=$var?>') even though these have been deprecated for some time and disabled by default. Change any instance of '<?' to '<?php' and '<?=$var?>' to '<?php echo $var ?>'.

                    a year later

                    bpat1434,

                    I have follow as what you mention in your post but still I could not run/start the apache. Below is the details.

                    error.log
                    The Apache2.2 service is restarting.
                    Starting the Apache2.2 service
                    The Apache2.2 service is running.
                    pid file C:/Program Files/Apache Software Foundation/Apache2.2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
                    The Apache2.2 service is restarting.
                    Starting the Apache2.2 service
                    The Apache2.2 service is running.
                    pid file C:/Program Files/Apache Software Foundation/Apache2.2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
                    [Thu Feb 11 11:39:58 2010] [warn] pid file C:/Program Files/Apache Software Foundation/Apache2.2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
                    [Thu Feb 11 11:41:25 2010] [warn] pid file C:/Program Files/Apache Software Foundation/Apache2.2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?

                    httpd-php.conf
                    LoadModule php5_module "C:/Program Files/PHP/php5apache2_2.dll"
                    <IfModule php5_module>
                    AddType application/x-httpd-php .php .php3 .php5
                    AddType application/x-httpd-php-source .phps

                    configure the path to php.ini

                    PHPIniDir "C:/Program Files/php"
                    </IfModule>

                    What could be the problem? Please help.

                    Darlien

                      I forgot to tell that I'm using:

                      1. Apache HTTP Server 2.2
                      2. PHP 5

                      BR
                      Darlien

                        Could it be that you have 2 Apache servers running?
                        If so, you may have to uninstall one Apache.

                          Did you add the PHP directory to your system's PATH environment and then restart the computer?

                            Darlien, looks like your apache didn't shut down tidily. A reboot should solve the issue. Otherwise, you may need to uninstall Apache and reinstall it again.

                              Thanks bpat1434, bradgrafelman & halojoy for your help.

                              I have followed every instruction and manual I can find on the internet. However, the problem still persist.

                              Anyway, I found a posting from devshed (http://www.apachelounge.com/forum/viewtopic.php?p=2469
                              ) mentioning about problems with msi installer. I downloaded the binary zip version and "Waaa Lahhhh", everything seems working perfectly.

                              Dunno why everyone got this problem with msi and WAMP, but downloading the binary zip version seems to solve many php geek problem.

                              Cheers.....
                              Darlien

                                Interesting. Glad to hear you got it sorted.

                                  5 months later
                                  bpat1434;10884408 wrote:

                                  XAMPP is a software package, you'd have to ask support from them about installation. THis thread was for installing Apache, PHP, MySQL. Each being separate items, not installing through XAMPP or any other meta package like that.

                                  i am using xampp.....i am not anle to run phpscripts...my php version is 4....it is saying something like "something wrong with installation"...when i referred the net,it says that some path has to be changed in .conf in apache to php..i cant follow that...can anyone elaborate on that?