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?

                            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.

                            bpat1434 wrote:

                            I won't support php4 past it's life

                              4 months later
                              laserlight;10849027 wrote:

                              Yes, but then you would be using the command line interface, and that may not be what you want for verifying web application code to check if it is working.

                              With the CLI you can check for syntax errors. But just because there are no syntax errors doesn't mean the code will run as expected

                                9 months later

                                Whoever you are who created this thread I adore you. I spent the day trying to get this service up and running and I now have it good to go. Excellent job on the instructions and very good work. I am deeply indebted to you.

                                  3 months later

                                  Thanks for this useful information regarding PHP 5 and its features and the points one need to keep in mind

                                    4 years later

                                    Hi all,

                                    I use Yorick and Emacs under Windows, but I was unable to launch Yorick from a shell under Emacs like in Linux . Do I miss something?

                                    Thanks