Apache Server doesn't seem to see PHP - What's Wrong?
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache Server doesn't seem to see PHP - What's Wrong?




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

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


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-05-07 06: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






[ Post a follow-up to this message ]



    Re: Apache Server doesn't seem to see php - What's Wrong?  
Henk Oegema


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-05-07 06:23 PM

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







[ Post a follow-up to this message ]



    Re: Apache Server doesn't seem to see php - What's Wrong?  
Your Best Friend


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-10-07 06: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





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:09 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register