iPage fix internal server error 500 they changed URL file treatment fix

Php, Divx, Apache, phpBB
Forum rules
Do not post any code that circumvents rules of any server. You are responsible for anything you use here.
Post Reply
darknkreepy3#
Site Admin
Posts: 247
Joined: Tue Oct 27, 2009 9:33 pm

iPage fix internal server error 500 they changed URL file treatment fix

Post by darknkreepy3# »

iPage without telling anyone messed up the following things in PHP, when you use INCLUDE in php it gets blocked by default. You will get some random error and if you're lucky you'll maybe get this (03-01-2023 their server errors don't always show properly, beware using them)
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.
you can go to your shared server control panel when you're logged in:
https://www1.ipage.com/controlpanel/advanced-tools/

then go to CGI and Scripted Language Support

choose the PHP Scripting | Make your site dynamic with PHP. icon and you will see PHP 7.4 as part of the drop down, etc...
look for the code that treats includes and change it from OFF to ON and then don't forget to press the SAVE button.

Your includes will work again. They didn't even bother to tell anyone they changed it. IPOWER and IPAGE are in the same bigger company umbrella. For the cheap price, they're good but ipower does sneaky stuff with memory and scripting and ipage is even worse at times.

Code: Select all

;;;;;;;;;;;;;;;;;;
; Fopen wrappers ;
;;;;;;;;;;;;;;;;;;

; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
; http://php.net/allow-url-fopen
allow_url_fopen = On

; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
; http://php.net/allow-url-include
allow_url_include = On
Post Reply