Everybody! This is important. In a few days, these forums will be moving over to using the totally sweet Discourse platform. To ensure this migration happens smoothly with no loss of content, these forums are currently in a read-only mode. I do apologize for the inconvenience.

There is never a good time to turn the forums off for an extended period of time, but I promise the new forums will be a billion times better. I'm pretty sure of it.

See you all on the other side in a few days, and if you have any (non-technical) questions, please e-mail me at kirupa@kirupa.com. For technical questions, try to find a tutorial that corresponds to what you are looking for and post in the comments section of that page.

Cheers,
Kirupa

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: http://www.aprelium.com/) instead.
    Also, there are some awesome tutorials for setting up PHP, mySQL and phpMyAdmin here -> http://www.trustabyss.com/

  3. #3
    602
    posts
    Backend Specialist
    here's what I got in my conf file.
    Code:
    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 kirupa.com Meet the Moderators Advertise

 Link to Us

 Credits

Copyright 1999 - 2012