The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

perl and php?

Discussion in 'General Discussion' started by chadi, Jul 1, 2004.

  1. chadi

    chadi BANNED

    Joined:
    Apr 20, 2004
    Messages:
    415
    Likes Received:
    0
    Trophy Points:
    0
    If I'm not mistaking (according to WHM) Perl module is not compabitle with PHP? I believe I updated apache with both.

    How do I disable Perl?
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Well, you could disable the CGI to perl in httpd.conf by changing:

    AddHandler cgi-script .cgi .pl

    to:

    AddHandler text/plain .cgi .pl

    Then no perl CGI scripts will run. This wouldn't stop PHP scripts from running perl scripts, though, and you have to have perl kept where it is because cPanel needs it.

    If you offer web hosting you're likely to be very unpopular if you do the above.
     
Loading...

Share This Page