How to turn off safe mode PHP 7?

DaRecordon

Well-known member
Joined
Oct 7, 2016
Messages
116
Best answers
0
Ratings
3
Points
18
#1
I am running PHP 7 and i need to turn off safe mode to test a command. I have no idea where and how to do this. Can any one help me?
 

Dr. McKay

Well-known member
Joined
Nov 26, 2016
Messages
245
Best answers
0
Ratings
9
Points
18
#3
I am running PHP 7 and i need to turn off safe mode to test a command. I have no idea where and how to do this. Can any one help me?
Using an editor like Nano and editing your php.ini and set the variable safe_mode to off.

Code:
safe_mode = Off
To find php.ini in linux run phpinfo(); in a PHP file or php -i | grep "Loaded Configuration File" on the terminal.

https://forumweb.hosting/15812-where-is-my-php-ini-file.html
https://forumweb.hosting/14216-php-ini-location.html
 
Older Threads
Latest Threads
Recommended Threads

Latest postsNew threads

Latest Hosting OffersNew Reviews

Web Hosting

Most Likes - Past 30 Days

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.