PHP errors

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Pete1burn
Forum Newbie
Posts: 3
Joined: Fri Jan 10, 2003 1:11 pm
Contact:

PHP errors

Post by Pete1burn »

OKay, I'm trying to add a message board onto my local Windows XP machine. I have the following installed:

Apache 1.3.27
mysql
PHP 4.3.0
phpBB bulletin board software

The problem is, I added all of the correct lines into the httpd.conf config file, but I am having trouble with the line which says: AddModule mod_php4.c.

With that line entered, when I try to start the Apache service, it gives me the error:

"cannot add module via name mod_php4.c : not in list of loaded modules."

In loaded modules, there is a line which I added that says:

"LoadModule php4_module d:/program files/php2/php4apache.dll" where d: is my programs directory.

There is no mod_php4.c file in my php install, directory, binary zip file, apache directory, or anywhere else on my machine. Am I missing this file? And if so, where can I get it? I've tried searching everywhere.

Thanks in advance for any help. Feel free to add me to chat clients.
Pete
User avatar
Jade
Forum Regular
Posts: 908
Joined: Sun Dec 29, 2002 5:40 pm
Location: VA

Just a thought

Post by Jade »

When I installed phpBB I didn't have to add any Module files to my httpd.conf file....

Just a thought,
Jade
Pete1burn
Forum Newbie
Posts: 3
Joined: Fri Jan 10, 2003 1:11 pm
Contact:

Post by Pete1burn »

This is to get PHP installed with Apache. Nothing to do with phpBB yet until I can get this figured out. Then I'll worry about installing the board. :)

What happens is, with that line in there, I get that error above. If I take the line out, the apache server starts fine, but when I try to access the config.php file in phpbb, it comes up as a blank screen. I've downloaded about 10 of the zips on the php archives so far, nothing's come up. Help!
User avatar
Elmseeker
Forum Contributor
Posts: 132
Joined: Sun Dec 22, 2002 5:48 am
Location: Worcester, MA

Post by Elmseeker »

Have you checked out:
http://sourceforge.net/projects/phptriad ? It installs Apache, PHP and MySQL all in one shot and all configured to work with each other, so you shouldn't have any troubles.
Pete1burn
Forum Newbie
Posts: 3
Joined: Fri Jan 10, 2003 1:11 pm
Contact:

Post by Pete1burn »

Edit: I did it. Thank you all
Post Reply