Jump to content

Safe Mode/ Open_DIR Issues


cooldude832

Recommended Posts

I've tried to flag save mode of in .htaccess with no luck getting an error

 

Warning: unlink() [function.unlink]: SAFE MODE Restriction in effect. The script whose uid is 32021 is not allowed to access /tmp/lr5JZ3.....................

 

.htaccess tried:

php_flag safe_mode off 

 

Any ideas?

Link to comment
https://forums.phpfreaks.com/topic/132041-safe-mode-open_dir-issues/
Share on other sites

safe mode is an ini system flag, only ini all/ini perder settings can be flagged in an htaccess file.

 

You'll need to change it in your php.ini or your apache httpd config file with "php_admin_flag safe_mode off".

 

edit: but I'd suggest doing so in the php.ini :)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.