Please disable the 'safe_mode' setting in php.ini
5 posts by 3 authors in: Forums > CMS Builder
Last Post: March 20, 2009 (RSS)
By 2n-Jenn - November 17, 2008 - edited: November 18, 2008
I tried to setup my new copy of CMS builder and when running the program, ran into the error message 'Please disable the 'safe_mode' setting in php.ini. The hosting company indicates that PHP safe mode management is off. A quick search in the forum brought me to the following link: http://www.interactivetools.com/iforum/Products_C2/CMS_Builder_F35/gforum.cgi?post=65432;search_string=safe_mode;t=search_engine#65432 and I followed the suggestion to remove a line from /lib/init.php
I am now running into a new error message (as was indicated might happen) loadini: SAFE MODE Restriction in effect. The script whose uid is 10435 is not allowed to access /home/httpd/vhosts/lindsaybroadbandinc.com/httpdocs/cmsAdmin/data//schema/our_business.ini.php owned by uid 48 [not sure where that extra "/" is coming from between data and schema]
The hosting company is 'HORRENDOUS' to deal with - I'm fairly certain that they use cue cards ;) If they think PHP safe mode turned off, then I am sure before I start that I won't get anywhere with them. I'm wondering if there is a patch available to just get around this as mentioned in the link above. If there is someone I could email directly, I would be happy to provide FTP info and url to CMS Builder.
Thank you so much for any assistance you can offer,
Sincerely,
Jenn
Re: [2n-Jenn] Please disable the 'safe_mode' setting in php.ini
By Dave - November 18, 2008
We've found the easiest way to get through to hosts is to create a simple one line script that demonstrates the problem.
Create a file in the same folder as CMS Builder called phpinfo.php with this contents:
<?php phpinfo(); ?>
When you run it you should see a long pages with all the PHP configuration values. Search for "safe_mode" the first value (Local Value) should be "Off". If it's not, let us know and email your host and send them the link to the phpinfo.php script that shows safe_mode is still on.
Hope that helps, let me know what happens! :)
interactivetools.com
Re: [Dave] Please disable the 'safe_mode' setting in php.ini
By 2n-Jenn - November 18, 2008 - edited: November 18, 2008
I appreciate your help, and love the simple solution.
Many thanks, Jenn
Re: [Dave] Please disable the 'safe_mode' setting in php.ini
By gagester - March 20, 2009
When i login to the admin for the host, i have the option to turn "PHP Safe Mode" on or off, as well as the option to turn "PHP Safe Mode GID" on or off. Do i need to turn the second one off as well?
Thanks!
Re: [gagester] Please disable the 'safe_mode' setting in php.ini
By Dave - March 20, 2009
I replied to your other post on this topic here:
http://www.interactivetools.com/forum/gforum.cgi?post=70337#70337
Hope that helps!
interactivetools.com