08 Sep 2010 
Support Center » Knowledgebase » Getting a "The file /home/USERNAME/public_html/setup.php has been encoded with the ionCube PHP Encoder and requires the free ionCube PHP Loader to be installed." Error
 Getting a "The file /home/USERNAME/public_html/setup.php has been encoded with the ionCube PHP Encoder and requires the free ionCube PHP Loader to be installed." Error
Solution This error usually means that your server has SAFE_MODE set to ON.

The PHP safe mode is an attempt to solve the shared-server security problem. Safe mode can be set to be On or Off, and is configured in PHP settings (php.ini). By default safe mode is disabled in PHP settings. Enabled safe mode in your account indicates that this has been set by your hosting provider.
MyPimpScript is a complex application which utilizes many PHP functions and can work with large amounts of data. This may require changing certain PHP settings in real time (during scripts execution), e.g. changing time limit allowed for script execution. Enabled safe mode prevents these changes from taking an effect. During safe mode you are not able to change such settings in real time. Though this problem can be resolved by setting the name of your web server to be the owner of the folder where image file is residing, it is still recommended to disable safe mode in php.ini file:

safe_mode = Off

If the server you are using has enabled safe mode please contact your provider to see if it can be turned off.

Usually free hosting providers set safe mode to On, and those providers who offer paid hosting disable safe mode. Enabling safe mode restricts the number of PHP applications you can install and use in your account. Such applications as guestbooks, visitors counters, etc do not encounter problems running in safe mode. However, using safe mode for more complex software (e.g. shopping cart software, content management systems, bulletin boards) is strongly discouraged.

If you are going to use complex software in your account, and your hosting provider denies disabling safe mode, consider changing the provider.

You can read more about safe_mode parameter in PHP Manual:
http://php.net/manual/en/features.safe-mode.php


Article Details
Article ID: 22
Created On: 06 Mar 2007 02:04 AM

 This answer was helpful  This answer was not helpful

 Back
 Login  
Username:
Password:
Remember Me:
 
 Search
 Article Options
Home | Submit a Ticket | Knowledgebase | Downloads
Language:

Help Desk Software By Kayako SupportSuite v3.20.02