I am completely new to PHP. I want to install WAMP but have problems with configuring my system.

System components:
- Win98 (upgrade from Win95)
- Apache_1.3.22-win32-x86.msi
- PHP-4.1.1-win32.zip
- and no other software!

Until now I did the folling setups:

  1. Installed Apache in C:\Apache and RUN AS A SERVICE FOR ALL USERS.

  2. Installed PHP in C:\Apache\php

  3. Copied php4ts.dll to C:\Windows\System

  4. Copied php.ini-dist to C:\Windows\php.ini

  5. Edited httpd.conf:
    a) Below the LoadModule list

    • LoadModule php4_module c:/apache/php/sapi/php4apache.dll
      • AddType application/x-httpd-php .php
      • AddType application/x-httpd-php-source .phps
        b) Below the AddModule section
      • AddModule mod_php4.c

But when I start the Apache Server in my console I always get an error message like "Cannot load c:/apache/php/sapi/php4apache.dll into server (1157)"

PLEASE HELP ME ASAP!!!

    I did not do 5b) and it works for me. Maybe it can be.

    Or try to quote at:

    LoadModule php4_module "c:/apache/php/sapi/php4apache.dll"

    Good luck
    /Andrin

      Copy Copy the file \php\php4ts.dll to c:\windows\system\

      Tjeck my site for more help www.mdz.dk

        ive run across this a few times:

        LoadModule php4_module "C:\Program Files\Apache Group\Apache\php\SAPI\php4apache.dll"

        do the traditional backslashes ala windows AND use quote marks ๐Ÿ™‚

        and as Mads said, the php4ts.dll has to reside in the %sysdir%

          oops, you said you did that...so just use the quotes and backslashes...should work ๐Ÿ™‚

            Hello everybody,

            thank you for your fast response! WAMP is running - I am so happy. Now itยดs time to learn something about PHP... ;-)

            Thanks,
            Melanie

              1st port of call, is to find some documentation, on configuring php on Windows
              or even Linux(obvious caveats apply- just supplement anything concerning linux for windozes).

              Particularly, Apache's httpd.conf, and the windozes only php.ini files. Go to www.php.net for help. Check out every forum under the sun, and list your queries , the next thing is to compile any help, documents you can find. These will eventually enable you to configure your system.

              Believe me it took me a long time, to get it working. Determination, research and research again.

              Right then, take the line 'Load Module' mod_php4 out (it's not needed, well not there), keep the other two lines there.

              what your find is that the four/five files on the C:/apache/php root. There are called these two 'php4ts.dll, php4ts.lib' should be copied to C/windows/system sub-directory.
              try copying them one by one and testing until it recognises them. Don't cut them out of the php root directory, they should be copied to c:/windows/system/

              check over the php.dist.ini, must be copied to c:/windows as php.ini.

              Email me with any thing else, names is Legs
              bye for now, happy configuring mate

                Write a Reply...