How to turn off safe mode PHP 7?

DaRecordon

Well-known member
Joined
Oct 7, 2016
Messages
128
Best answers
0
Ratings
4
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
315
Best answers
0
Ratings
18
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
Replies
9
Views
72
Replies
6
Views
42
fwh
Replies
2
Views
33

Latest Hosting OffersNew Reviews

Sponsors

Latest Blog ArticlesMost Viewed Threads

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.

Top