How to disable Safe Mode in PHP on Linux#
There are 3 ways
- Create a file called "php.ini" and add it to the root folder of your website, add the following text
safe_mode=Off
- Create a file called ".htaccess" in the of my local directory, add the following text
php_flag safe_mode off
- Add this text to the apache httpd.conf
<Directory " /var/www/vhosts/[domain]/httpdocs"> php_admin_flag safe_mode off </Directory>
Back to Linux
Add new attachment
Only authorized users are allowed to upload new attachments.
«
This page (revision-1) was last changed on 31-Oct-2008 11:03 by UnknownAuthor