Forum Moderators: phranque

Message Too Old, No Replies

Apache with mod_perl *and* mod_php

         

lezek

7:13 pm on Feb 9, 2006 (gmt 0)



My ISP informs me that they do not have mod_perl installed because "A server can only be configured to run mod php or mod perl" (emphasis added).

As far as I am concerned, this is contemptible rubbish and it has put me into serious doubt regarding the competence of said ISP. But, thinking about it, I can't recall a time when I have ever actually had both mod_perl and mod_php working at the same time (I used to exclusively use PHP and now I exclusively use Perl ;)). That said, I can't find anything to the effect that the two are mutually exclusive on the web.

So, before I jump to conclusions and get angry about it, can anyone confirm that mod_php and mod_perl are or aren't mutually exclusive, or perhaps come up with a reason why my ISP might be labouring under an understandable misapprehension?

jdMorgan

11:05 pm on Feb 9, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



lezek,

Welcome to WebmasterWorld!

I've got both on my commercially-hosted domains...

Jim

zCat

11:25 pm on Feb 9, 2006 (gmt 0)

10+ Year Member



I run them both with absolutely no problems on my development servers.

I recall having problems way back (2001 or thereabouts) with trying to compile both as dynamic modules, but compiling them into the server solved that, and the problem seems to have gone away anyway.

One potential issue is that mod_perl2 was released relatively recently (in the last year or so) and is Apache2 only, ISPs with standardized software packaging systems or whatever might not find a "comfortable" solution for their systems.