Drupal and Moodle sharing same PHP/MYSQL/IIS6

cjnelson - March 13, 2008 - 20:36

I would like to run Drupal on the same server as Moodle (online learning system). Moodle is using IIS6, PHP5.x and MSQL 5.x.

Based on the above is it possible to install drupal, use a different MY SQL database, the same PHP installation and IIS6 without any conflicts? Should there be anything I should watch out for?

Has anyone else been successful at doing somethin similar?

I just don't want to mess up my Moodle installation.

I am also new to Drupal.

using a different mysal

Feiiiiiii - March 14, 2008 - 13:24

using a different mysal database is ok.
i don't know what is moodle,an other php project?
and i suggest you to use apache instead of iis.if you choose iis,you will find lots of strange problems of your drupal.and these problems have no answers... :p
Piano&Rock

Moodle is an opemn source

cjnelson - March 14, 2008 - 17:01

Moodle is an opemn source online learning system using PHP, MYSQL and IIS6 (in our case). If I go with apache, can apache and IIS6 run side by side on the same server (Windoes server 2003)

my english is so poor..i

Feiiiiiii - March 15, 2008 - 07:44

my english is so poor..i don't know what is "side by side."
if you mean run apache and iis6 the same time on the same server,then,it's possible.but you have to change one of them run on another port.for example,apache uses 80 port,iis6 uses 8080 port.
but i know there is some other way to run both of them on port 80.you will have to use a module for apache,i don't know how to translate it into english.it's just like a proxy. :p

if your moodle worked well on iis6,i think it should run as well on apache,too.

..\/..

jfall - March 15, 2008 - 08:29

I've not tried this - so take advice with grain of salt - but I love Moodle and now I'm a Drupal convert, so I'm interested....

I think you should have no problem. If it were me, I'd install drupal in a sub-folder on the server. So your drupal site would be at www.example.com/drupal/ (or whatever). That'll keep the installs completely independent.

You can definitely run more than one PHP app on the same server without conflict (it's built for that) and Drupal appears to be much better at PHP-independence than Moodle, so you likely won't need to fiddle with the PHP settings to get Drupal going.

There is also no issue whatsoever with running a second database in MySQL - again, it is meant for that. Just be sure it is a totally different DB, not just a new table in the same DB. I'd probably also use a different user for each app. with access to only its DB, just to feel really safe.

Given that the only files Drupal ever changes are in the install are under the files directory, it can't mess with your Moodle install. And given that the two DB's are completely isolated, it can't mess your Moodle DB. So I can't really see a problem.

What I would not do is try to run IIS side-by-side with Apache. THAT sounds like asking for trouble. While I do think it is good advice to ditch IIS and go with Apache, I think you've got to choose one or the other. If you are going to run IIS - you should search the forums here for advice on getting Drupal going under it... I suspect most Drupal admins run Apache.

All that said, the final advice I have for you comes from a mantra I've read over and over on these forums:
always use a test server
don't try this on your production site - that's asking for trouble ;-)

good luck - I hope you'll report back, I'd be very interested.

Drupal using same IIS6, mysql and php as moodle

cjnelson - March 17, 2008 - 14:26

Unfortunately at this point in time I will have to stick with IIS6.

Having said that I have started the process and I am at the point where I am testing the php installation with IIS6. I created a separate database called drupal under mysql, I created a separate website in IIS6 called drupal and then I created a test.php file and tesetd under the moodle folder - this worked correctly. I tried the same test.php file in the drupal folder but this does not work. I have used Peter Guys documentation to confirm my setup of mysql, php, iis6 on server 2003 and all appears to be correct, but I cannot get the test.php file to work. Can both Moodle and Drupal use the same port 80?

The only issue I can see right now is under IIS6 ISAPI filters setting shows a status of unknown. Where as under moodle in IIS6/Isapi filters there is nothing there. If I remove the ISAPI filters item under the drupal site it still does not work.

I think once I can get past this test I should be able to get Drupal to work properly. I am planning on using Drupal for our internal intranet site.

Thanks for the support so far.

Out of my depth...

jfall - March 17, 2008 - 18:20

sorry cj, I've never uses IIS so I can't help with its configuration.

Drupal is a great choice for an intranet - hopefully someone with some experience setting up an IIS server can help here.
good luck.

Thank you

cjnelson - March 17, 2008 - 20:55

Thank you. I will keep everyone posted as I continue this project.

Installation

danto2 - April 9, 2008 - 04:33

Hi CJ- I am trying to do the same thing. I have no background in setting up servers. I was able to install Moodle on the server and it is running. However, I cannot access Drupal, despite the fact I have it installed in a separate folder in the same directory. It does not come up in the browser when I search for http://myserver/drupal.
Have you completed your installation? Can you tell me how I can get the Drupal installation wizard to run? Thanks, Deb

Installation

cjnelson - April 15, 2008 - 21:03

Sorry for the late reply. Unfortuantely have not had any luck with this. I have also been pulled to some other projects so I am putting this on the back burner for the next few weeks.

 
 

Drupal is a registered trademark of Dries Buytaert.