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

This is a discussion on Apache Server doesn't seem to see PHP - What's Wrong? within the Apache Web Server forums, part of the Web Server and Related Forums category; My machine is a Window box running Win XP. I thought I've done all corerctly to configure both PHP ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-05-2007
Jofio
 
Posts: n/a
Default Apache Server doesn't seem to see PHP - What's Wrong?

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

  #2 (permalink)  
Old 07-05-2007
Henk Oegema
 
Posts: n/a
Default Re: Apache Server doesn't seem to see PHP - What's Wrong?

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


  #3 (permalink)  
Old 07-10-2007
Your Best Friend
 
Posts: n/a
Default Re: Apache Server doesn't seem to see PHP - What's Wrong?

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
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 12:55 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0