Results 1 to 9 of 9
-
05-07-2013, 03:34 AM #1Newbie
- Join Date
- Mar 2010
- Posts
- 18
safe_mode off for a single domain
I have plesk 9.5 with me. I want to switch off safe_mode for a single domain. I have copied the php.ini to httpdocs but it still shows the server configuration when I check.
Any suggestion please ?????
-
05-07-2013, 03:38 AM #2The Linux Specialist
- Join Date
- Mar 2003
- Location
- /root
- Posts
- 23,991
Moved > Hosting Security and Technology .
Specially 4 U
Reseller Hosting: Boost Your Websites | Fully Managed KVM VPS: 3.20 - 5.00 Ghz, Pure Dedicated Power
JoneSolutions.Com is on the net 24/7 providing stable and reliable web hosting solutions, server management and services since 2001
Debian|Ubuntu|cPanel|DirectAdmin|Enhance|Webuzo|Acronis|Estela|BitNinja|Nginx
-
05-07-2013, 03:40 AM #3Web Hosting Master
- Join Date
- Aug 2001
- Posts
- 5,597
First of, I would recommend not to use safe mode. It is already deprecated since the previous version and the current version does not support it anymore at all.
To answer your question, how is PHP integrated? In case of Apache and mod_php you would need to change it in the Apache configuration.
-
05-07-2013, 03:42 AM #4Disabled
- Join Date
- Feb 2013
- Location
- Cochin
- Posts
- 20
Hello,
Go to the control panel for the specific domain where you want to turn off safe mode, click on the Websites & Domains tab. At the bottom will be a listing of the domain names, click on an individual name to see it's hosting settings. There should be a checkbox for PHP, and another one for whether or not to use safe mode.
Warm Regards
AiderPro Technologies
http://aiderpro.com
-
05-07-2013, 03:50 AM #5Web Hosting Master
- Join Date
- Aug 2001
- Posts
- 5,597
-
05-07-2013, 03:53 AM #6Disabled
- Join Date
- Feb 2013
- Location
- Cochin
- Posts
- 20
Hello,
You can set this by following steps also.
find / -name php.ini
/etc/php.ini
/usr/local/psa/admin/conf/php.ini
Search for "safe_mode" in php.ini file.
and edit it as "safe_mode = Off" Then restart Apache.
Warm Regards
AiderPro Technologies
http://aiderpro.com
-
05-07-2013, 03:55 AM #7Newbie
- Join Date
- Mar 2010
- Posts
- 18
Ok will check and let you know the result
-
05-07-2013, 03:57 AM #8Newbie
- Join Date
- Mar 2010
- Posts
- 18
-
05-08-2013, 01:36 AM #9Junior Guru
- Join Date
- Mar 2011
- Location
- INDIA
- Posts
- 181
Hey,
Usually the main configuration file location is /etc/php.ini.
Please try this,
It is possible to set up php.ini per-domain for each domain which is running PHP scripts as a CGI of FastCGI application. In this case it should be located in /var/www/vhost/domain/etc/ directory to be recognized by PHP interpreter.
Similar Threads
-
Windows 2003 Web Hosting From $4.95. Single Domain, Multiple Domain, & Reseller
By Layerblue in forum Shared Hosting OffersReplies: 0Last Post: 09-22-2005, 01:20 AM -
Windows 2003 Web Hosting From $4.95. Single Domain, Multiple Domain, & Reseller
By Layerblue in forum Shared Hosting OffersReplies: 0Last Post: 07-29-2005, 07:43 PM -
Windows 2003 Web Hosting From $4.95. Single Domain, Multiple Domain, & Reseller
By Layerblue in forum Shared Hosting OffersReplies: 1Last Post: 06-30-2005, 09:12 PM -
Windows 2003 Web Hosting From $4.95. Single Domain, Multiple Domain, & Reseller
By Layerblue in forum Shared Hosting OffersReplies: 0Last Post: 04-07-2005, 12:16 AM -
Windows 2003 Web Hosting From $4.95. Single Domain, Multiple Domain, & Reseller
By Layerblue in forum Shared Hosting OffersReplies: 0Last Post: 02-26-2005, 10:32 PM