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 24-May-2017 15:30 by UnknownAuthor
G’day (anonymous guest) My Prefs
  • View Page Source
  • This clear IPSec security association,
    clear ipsec sa peer X.X.X.X
    

All Pages

Page views: 3164

Private Tomcat

Linux

MySQL

Email

SQL Server

ASP

JSP

C#

Web Mail

Windows Plesk

Linux Plesk

PHP

Gaming

ASP.NET

Persits ASPUpload

Wiki Help

Referring Pages:
...nobody

JSPWiki v2.8.1