Jump to content

[SOLVED] Config PHP and Apache


Recommended Posts

I hav been trying to configure apache with php5.  When I go to view a php page it asks me where I want to dwnload the page to and what program t open it with.  PLEEESSSSSEEE help here is my httpd file.  I think this is where the problem lies.


Thanks

Bill



[attachment deleted by admin]
Link to comment
https://forums.phpfreaks.com/topic/32880-solved-config-php-and-apache/
Share on other sites

You dont need it in program files. I prefer to install everything in the root of the hard drive in a folder called server. SO my server directory will be like this:
C:/server
+-- Apache2
+-- PHP
+-- MySQL

I assumed you had PHP installed in C:/PHP looking at this line
[tt]#LoadModule php5_module C:/php/php5apache2.dll[/tt]

Umm, hangon youb have that commented out. You need to uncomment that line and change it to this@
[tt]LoadModule php5_module C:/Program Files/php/php5apache2.dll[/tt]

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.