Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2011
    Location
    Vancouver, Canada
    Posts
    329

    Angry CSF Recommendation Breaks WHMCS

    So I was going through all the recommendations to security up dates by CSF and trying to get as many setup as possible, and this one came up:

    Check php for disable_functions: You should modify the PHP configuration and disable commonly abused php functions, e.g.:
    disable_functions = show_source, system, shell_exec, passthru, exec, phpinfo, popen, proc_open, allow_url_fopen
    Some client web scripts may break with some of these functions disabled, so you may have to remove them from this list
    So I went in to php.ini and put the following:

    disable_functions = show_source, system, shell_exec, passthru, exec, phpinfo, popen, proc_open, allow_url_fopen
    And suddenly WHMCS breaks. Apparently one of those disable commands stops ionCube from loading. Does anybody know which function is it that does it so I can disable the rest?

    I'd rather not sit there experimenting with each function to figure out which breaks ionCube.

    Thanks

  2. #2
    Join Date
    May 2009
    Location
    Tennessee
    Posts
    303
    Disabling those will break a lot of scripts. I can't recommend doing that.

    Anyway, the setting you likely disabled is enable_dl. Enable that and PHP modules will be able to load normally. Alternatively, you can rebuild apache/php and include the IonCube loader.
    AudioProbe.net - Playing the best music from the 70s, 80s, 90s, 00s, and more...
    Commercial free, high quality 192kb/s, and firewall friendly port 80!
    Look for us in the iTunes Radio directory under Adult Contemporary

  3. #3
    Join Date
    Jul 2009
    Location
    Indiana
    Posts
    2,193
    How did you install IonCube? It is probably the enable_dl setting.
    Sam Barrow - CEO @ SQUIDIX (1-855-SQUIDIX)
    Ask Us About Sponsoring Your Web Site (High Traffic Sites Only)
    Squidix - Shared, Reseller, Semi-Dedicated, Managed VPS and Managed Dedicated Hosting
    Midwestern Web - Web Design & Development Services

Similar Threads

  1. Replies: 0
    Last Post: 06-30-2010, 04:24 PM
  2. Replies: 0
    Last Post: 06-09-2010, 01:27 AM
  3. Replies: 4
    Last Post: 06-06-2010, 09:34 PM
  4. Advanced WHMCS Module - WHMCS-CSF Auto Unblocker
    By lonea in forum Software & Scripts Offers
    Replies: 2
    Last Post: 05-28-2010, 04:53 AM
  5. WHMCS-CSF Auto Unblocker - Advance WHMCS Module
    By lonea in forum Software & Scripts Offers
    Replies: 2
    Last Post: 04-02-2010, 01:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •