SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Enthusiast
    Join Date
    May 2003
    Location
    London
    Posts
    45
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question PHP 4.3.1 on Apache 2.0.45 win help!

    All the folowing is on my D:

    I am running XP Pro and have installed Aparche 2.0.45 and it works fine. The http://localhost shows the Apache page. I configured the httpd.conf to Document Root to "D:\wavm".

    The local host still work. Installed Perl. Local host still works

    Installed MySQL this also work. My problem is i cant get php to work.

    I have folowed the guide of setting up PHP from here http://=http://www.sitepoint.com/art...]sitepoint 525 and have cahnged the folowing:

    1) Placed php4ts.dll in D:\Windows\System32
    2)Palced php.ini-dist in D:\Windows renamed it to php.ini
    3)In php.ini done as below
    extension_dir = D:\PHP\extensions
    session.save_path = D:\WINDOWS\TEMP
    4)In httpd.conf done this at the very bottom of the file
    LoadModule php4_module d:/php/sapi/php4apache.dll
    AddType application/x-httpd-php .php .php3 .phtml
    AddType application/x-httpd-php-source .phps
    5)Restarted Apache and got the following error
    "Syntax error on line 988 of D:/Program Files/Apache Group/Apache2/conf/htpd.conf:

    Cannot load D:/PHP/sapi/php4apache.dll into server: The specified module could not be found.

    Any ideas what is wrong?

  2. #2
    "Of" != "Have" bronze trophy Jeff Lange's Avatar
    Join Date
    Jan 2003
    Location
    Calgary, Canada
    Posts
    2,063
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    you need to use D:/PHP/sapi/php4apache2.dll
    Who walks the stairs without a care
    It shoots so high in the sky.
    Bounce up and down just like a clown.
    Everyone knows its Slinky.

  3. #3
    SitePoint Enthusiast
    Join Date
    May 2003
    Location
    London
    Posts
    45
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by cyborg from dh
    you need to use D:/PHP/sapi/php4apache2.dll
    Thankyou, thankyou, thankyou. It works. Did i say thankyou!

  4. #4
    "Of" != "Have" bronze trophy Jeff Lange's Avatar
    Join Date
    Jan 2003
    Location
    Calgary, Canada
    Posts
    2,063
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yeah you said thankyou

    No Problem.
    Who walks the stairs without a care
    It shoots so high in the sky.
    Bounce up and down just like a clown.
    Everyone knows its Slinky.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •