Apache Server configuration support - Apache Server doesn't seem to see PHP - What's Wrong?

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > July 2007 > Apache Server doesn't seem to see PHP - What's Wrong?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Apache Server doesn't seem to see PHP - What's Wrong?
Jofio

2007-07-05, 1:23 pm

My machine is a Window box running Win XP. I thought I've done all
corerctly to configure both php 5.0 and Apache 2.2 4 only to see
Firefox display the PHP/HTML code rather than content, and Internet
Explorer is even worse ---not displaying anything at all.

This is what I've done to configure both software:

PHP
-------
1. I have unzipped intp C::\PHP folder a php 5.0. In the php.ini
file,
2. I setup the php extension to point to the correct directory, i.e.
extension_dir = "C:\PHP\ext";
3. Copied a copy of the file (php.ini) to Windows directory; and,
4. Added the path information to the System Variable

Apache:
------------
I wanted to configure it to load the php interpreter as an Apache
module, so what I did was

1. Add the these lines
LoadModule php5_module "c:/php/php5apache2.dll"
2. and:
AddType application/x-httpd-php .php

When I encountered the problem I stated at the benning, I stopped the
Appache Server, then restart again, and in the DOS window it displays
an error saying

Cannot Load C:/PHP/php5apache2.dll into server: The specified
module could not be found.

Well, I don't know what to do here. Can anybody help?

thank you.

Jofio

Henk Oegema

2007-07-05, 1:23 pm

I'm facing similar problem in Linux. :-(


Your Best Friend

2007-07-10, 1:19 am

For Windows, use Xampp:
http://www.apachefriends.org/en/xampp.html

For Linux, use Xampp for Linux (Lampp):
http://www.apachefriends.org/en/xampp-linux.html

Makes configuring Apache, PHP, MySQL, and FTP easy.

BK
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com