Jump to content

Recommended Posts

Posted

We have had our Moodle install running on IIS, with PHP and MySQL for the last year no problems. Its starting to get used more and more, so i thought i would see if using apache would be any quicker on the same hardware.

 

So this morning i have installed apache on to 8080, leaving IIS running on 80.

 

Added these lines to the http.conf

 

#

LoadModule php5_module "C:/php5/php5apache2_2.dll"

AddHandler application/x-httpd-php .php

 

# configure the path to php.ini

PHPIniDir "C:/windows"

 

Changed the DocumentRoot to the same folder that the IIS Moodle install is on.

 

Is there any reason why when i go to http://localhost:8080 i just get a list of the files in that folder, and when i put /index.php at the end it thinks for a few seconds then goes page cannot be displayed?

 

Is there somthing i have missed out?

 

I have tried a <?php phpinfo(); ?> and it loads, and shows mysql enabled....

Posted

On a side note: I found that apache ran slower. It run much better on IIS on a 64 bit operating system.

 

I am not an apache expert i will leave that to someone else.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...