michslle Posted June 16, 2007 Share Posted June 16, 2007 Hi, does anyone knows how to turn off safe_mode in the php.ini? I cannot even find any php.ini in my server, do you know where i must look for? I read in articles, saying: To Turn off PHP "safemode" on Your Linux Virtual Dedicated Server 1. Using SSH, connect to your server. 2. Once you are logged in, type su -. 3. For your password, type the same password you used to connect to your server. 4. At the command prompt type: vi /etc/php.ini 6. Go to the line safe_mode = on and press the "i" key. 7. Change the line to safe_mode = off and press the "Esc" key. 8. Type :wq and press Enter to save your file and quit vi. I have access to etc but i cannot find any php.ini in it... Please kindly help, i need this urgently. Link to comment https://forums.phpfreaks.com/topic/55863-turn-off-safe_mode-in-the-phpini/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.