Jump to content

Recommended Posts

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.