Results 1 to 3 of 3

Thread: PHP include URL issue

  1. #1
    Member brhospedagens's Avatar
    Join Date
    Mar 2006
    Posts
    16

    Default PHP include URL issue

    For those who just got themselves a brand new server with CPanel, in my case with CentOS 5.0 OS.

    The easyapache compilation does not put:

    ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    allow_url_fopen = On
    allow_url_include = On

    inside php.ini, it is a security matter for sure but those ppl who still got includes like url inside their customers scripts, edit /usr/local/lib/php.ini and add the line above

    Hope this helps someone

    Regards
    Eduardo R. da Silva
    BRHospedagens Webhosting



  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Apr 2008
    Posts
    38

    Default

    If you don't have mod_security with good rules, your server will run a lot of malicious perl scripts soon. Enabling allow_url_fopen and allow_url_include will open security holes.

    Good luck.

  3. #3
    Member brhospedagens's Avatar
    Join Date
    Mar 2006
    Posts
    16

    Default

    Quote Originally Posted by romulob View Post
    If you don't have mod_security with good rules, your server will run a lot of malicious perl scripts soon. Enabling allow_url_fopen and allow_url_include will open security holes.

    Good luck.
    "inside php.ini, it is a security matter for sure but"
    Eduardo R. da Silva
    BRHospedagens Webhosting



Similar Threads

  1. PHP or include
    By msh100 in forum Themes and Branding
    Replies: 2
    Last Post: 06-29-2008, 05:32 PM
  2. php4 and Zend - issue with include()
    By EWD in forum cPanel & WHM Discussions
    Replies: 4
    Last Post: 12-09-2007, 11:32 PM
  3. php include() problems
    By gioppil in forum cPanel & WHM Discussions
    Replies: 3
    Last Post: 12-06-2007, 12:47 PM
  4. php include broken?
    By Zion Ahead in forum cPanel & WHM Discussions
    Replies: 3
    Last Post: 03-22-2007, 06:03 AM
  5. SECURITY ISSUE: phpCoin Remote File Include Vuln
    By cmeisinger in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 08-26-2006, 05:10 PM

Tags for this Thread