The forums have permanently moved to This forum will be kept around in read-only mode for archival purposes. To learn how to continue using your existing account on the new forums, check out this thread.

Results 1 to 3 of 3

Thread: Newbie Question about setting up PHP

  1. #1

    Newbie Question about setting up PHP

    I've been trying to install PHP, Apache and mySQL on my computer for a while now but I can't seem to get it to work properly.

    I can start Apache, and html pages work properly from localhost. The problem is with php pages. Whenever I start Apache, a dos window opens and I get the error:

    httpd.exe: Syntax error on line 491 of c:/Program files....httpd.conf
    Cannot load php5apache.dll into server: The specified module cannot be found

    I did add these lines to httpd.conf:

    AddType application/x-httpd-php .php
    LoadModule php5_module "c:\php\php5apache.dll"
    setEnv PHPRC c:\windows

    and in the directory c:/php I can SEE the file php5apache.dll but Apache isn't registering it for some reason.

    Any help would be greatly appreciated. Thanks

  2. #2
    I tell this to everyone, because I had endless problems trying to get Apache to work.
    Use Abyss (from Aprelium: instead.
    Also, there are some awesome tutorials for setting up PHP, mySQL and phpMyAdmin here ->

  3. #3
    Backend Specialist
    here's what I got in my conf file.
    LoadModule php5_module "C:/php/php5apache2.dll"
    AddType application/x-httpd-php .php
    PHPIniDir "C:/php/"
    You may have to add the php dir (C:\php) to PATH in your system environment variables.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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

Home About Meet the Moderators Advertise

 Link to Us


Copyright 1999 - 2012