Hi Thomas,

Thanks for the tip. I looked at xmap and it seems like an easy way to install MySql, Apache, and php on my windows XP. However I have already installed MySql, and Apache and they work fine. The only part I am having problem with is php. If I want to use xmap, do I need to uninstall MySQL, and Apache?

Thanks,

Masood

p.s. Why is it more challenging to do the manual install? I really would like to do it manually...

    Hi,

    did you want to create a new thread ?

    Let's try to get PHP up and running with your existing installation without installing xampp.

    How did you install php (step by step) ?

    Thomas

      Hello Thomas,

      I am sorry it took me awhile to reply back. I uninstalled php, and installed it again since you asked me for the step by step installation.

      I have a feeling it is almost working except that when I run a test php file I get an error "The page cannot be found". I checked my error log files in Apache and '[Thu Feb 17 22:41:56 2005] [error] [client 127.0.0.1] File does not exist: c:/program files/apache group/apache/htdocs/test.php' << this is what I had in there.

      Strange my Apache is installed under D drive and the test.php is in 'D:/program files/apache group/apache/htdocs/test.php' directory. How can I ask appache to look for the files in the D drive? Or I can unistall the appache and install it in "c" drive if that is easier.

      If I uninstall Apache in order to install it again, do I need to unistall php as well again? I heard the server needs to be installed first!

      Thanks for any help. This place is great for getting help.

      I am running windows xp. Apache 1.3 and php 5.0.

      thanks again

        In your httpd.conf file you should have the following lines:

        ServerRoot "C:/Program Files/Apache Group/Apache2"

        Make sure that is pointing to the correct folder.

        DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs"

        , make sure this is correct.

        #
        # This should be changed to whatever you set DocumentRoot to.
        #
        <Directory "C:/Program Files/Apache Group/Apache2/htdocs">

        that's about it. If you want to install PHP as a module, you need to add something like this, changing paths and the php dll accordingly:

        LoadModule php4_module c:/php/php-4.3.10-Win32/sapi/php4apache.dll
        PHPIniDir "c:\php\php-4.3.10-Win32"

        This way Apache looks for PHP ini in the above folder - you don't need to copy it to your system directory.

          I am so greatful to Thomas and Jabba for replying and the rest of you that browsed through the problem I had. I just ran my test.php and it worked. I can't tell you what a great feeling that was after many hours of tweeking different files, directories,etc...

          Thanks a lot guys

          masood

          For anyone else that is just starting off the installation procedure, just don't give up and stick with it and some one here is bound to give you an answer that you need.

            Write a Reply...