Greetings,

I am running windows IIS server on Windows XP Pro on port 80 and would like to install an Apache server that I can start manually on port 8080 for running PHP on. During the installation I am asked for network name, server name and admin. e-mail address. The e-mail address is a no brainer but I am unsure what to enter for the network name and server name. Anybody have some guidance on how to proceed?

Thanks!

Alfta

    Just enter "localhost" for both of them. Once you get past the installer, you can edit the httpd.conf file to specify which port to listen on

      Many thanks! I have a second question. The httpd.config file is trying to call the following dll:

      php4apache2.dll

      In my php directory there is no such dll. The only dll in the root php directory is php4ts.dll. Am I missing a dll in my php directory or should I change the config file to call php4ts.dll instead of php4apache2.dll?

      Thanks!

        php4apache2.dll should be in your php/sapi directory.

          Many thanks! You have been very helpful. I have another question that I hope you might be able to help me with. I have IIS server running as a service. Do I have to turn off IIS in order to use Apache with localhost? I can get Apache going now but I cannot access it from localhost. I am assuming that is because IIS is directing it to the directory it considers the localhost root, is that correct? I have IIS listening to port 80 and Apache listening to port 8080.

            Still no go. Thanks for the help getting me this far. I shall continue on my quest to get Apache to work on my machine.

              I finally got it to work. I could access it using:

              http://127.0.0.1:8080/

              Now I have a problem with getting PHP to work. I added the line:

              LoadModule php4_module "c:/php/sapi/php4apache2.dll"

              in the httpd.conf file for Apache but it will not run php yet. Is there something more I need to do to run php as a module?

                Did you copy your php4ts.dll and php.ini over to the C:\WINNT directory?

                  The php.ini is in the windows directory (XP does not haev a winnt directory so I am assuming that winnt is the same as the windows directory? or should it be in the win32app directory?)

                  PHP does work fine on the IIS server that is running as a service.

                  The dll file I have not copied. Do I copy it into the windows directory or move it there?

                  Alfta

                    Just copy it to there. Always good to have a backup in the php directory

                      Outstanding! That did the trick. Many thanks!!

                        Write a Reply...