UK WEB HOSTING FORUM FOR DISCUSSION ON WEB HOSTING SERVICE AND SUPPORT
LINUX HOSTING WINDOWS HOSTING PACKAGES SHOPPING CART OSCOMMERCE ZEN CART AGORA
ECOMMERCE HOSTING ASP MSSQL FRONTPAGE HOSTING PHP MYSQL HOSTING DISCUSSION FORUM
CPANEL RESELLER HOSTING DEDICATED SERVER VPS HOSTING PLESK VIRTUOZZO
Quick Search
Your forum announcement here!

  eUKhost's Official Web Hosting Forum > Technical Support > VPS Hosting - Virtual Private Servers

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 22-10-2009, 13:01
new member
 
Join Date: Oct 2009
Posts: 2
Default PHP Safe Mode / Drupal / Drush

Hi,

I was going to just send in a support ticket but I thought that I'd post on the forums in the off chance that somebody else needs this info too.

I have a Drupal site sitting on a Centos VPS running PLESK. I wanted to use a command line update tool for Drupal called Drush.

I followed the install instructions for Drush, extracted it to a /usr/local/src/drush, set up the symbolic link... all looked good... until.... I got an error saying that PHP safe mode was in effect.

PLESK wants everything to run in safe mode, but as I am only using it myself for a number of clients and I am the only one with FTP access I have been turning safe mode off via PLESK for the Drupal sites I install (there are other clashes with Drupal modules and safe mode). I don't really want to edit the php.ini file to turn safe mode off completely in case PLESK throws a wobbly.

Functionally it would be nicer to have a way of turning safe mode off in CLI but I can't seem to find a CLI specific ini file anywhere. Is there any way of accomplishing this? If not is there a functional problem with turning safe mode off?

I'm running PHP 5.2.9 (cli) and PLESK 8.6.0

Any help is much appreciated.

Thanks,
Chris
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 22-10-2009, 14:46
Senior Member
 
Join Date: May 2007
Location: Newport, Wales
Posts: 992
Send a message via AIM to WelshTom Send a message via MSN to WelshTom Send a message via Yahoo to WelshTom
Default

Quote:
Originally Posted by chris_g View Post
Hi,

I was going to just send in a support ticket but I thought that I'd post on the forums in the off chance that somebody else needs this info too.

I have a Drupal site sitting on a Centos VPS running PLESK. I wanted to use a command line update tool for Drupal called Drush.

I followed the install instructions for Drush, extracted it to a /usr/local/src/drush, set up the symbolic link... all looked good... until.... I got an error saying that PHP safe mode was in effect.

PLESK wants everything to run in safe mode, but as I am only using it myself for a number of clients and I am the only one with FTP access I have been turning safe mode off via PLESK for the Drupal sites I install (there are other clashes with Drupal modules and safe mode). I don't really want to edit the php.ini file to turn safe mode off completely in case PLESK throws a wobbly.

Functionally it would be nicer to have a way of turning safe mode off in CLI but I can't seem to find a CLI specific ini file anywhere. Is there any way of accomplishing this? If not is there a functional problem with turning safe mode off?

I'm running PHP 5.2.9 (cli) and PLESK 8.6.0

Any help is much appreciated.

Thanks,
Chris
Plesk requires safe mode? That's just silly. It's deprecated in PHP 6.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 22-10-2009, 15:53
new member
 
Join Date: Oct 2009
Posts: 2
Default

Quote:
Originally Posted by WelshTom View Post
Plesk requires safe mode? That's just silly. It's deprecated in PHP 6.
Actually it has been deprecated in 5.3 and it is completely removed in 6.

I asked EUKHOST about upgrading PHP a few weeks ago because I had heard horror stories about Plesk so they upgraded it for me to 5.2.9.... apparently Plesk breaks in 5.3.... not sure about the 9.2.x versions but the Plesk forums aren't too helpful.

I think that for now I may be stuck without Drush unless Plesk is ok with me editing the php.ini file. It is a live server so I don't really want to be messing about with it too much at the moment.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
drupal, drush, php, plesk, safe mode, vps


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT. The time now is 22:46.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
UK Web Hosting by eUKHosting 3.1.0
UK Web Hosting by eUKHosting 3.1.0
Copyright © 2001-2012, eUKhost LTD. All rights reserved.

 


UK VPS Hosting
VPS Hosting plans

Dedicated Server Hosting
Dedicated Server plans

VoIP Dedicated Servers
Asterisk, Trixbox Dedicated Servers

Business Web Hosting
100% uptime Hosting

UK Cpanel Hosting
cPanel Shared Hosting

Domain Hosting
Cheap Domains & Hosting Plans

UK Reseller Hosting
Reseller Web Hosting

Windows Hosting
Windows Shared Hosting

Windows VPS

Windows VPS Hosting

Semi Dedicated Servers
Semi-Dedicated Hosting

Dedicated Server Mirroring
Dedicated Server Mirroring

Webhosting Knowledgebase
Frequently asked Questions

Web Hosting Blog
eUKhost Blog

Web Hosting Support
Support Helpdesk

UK Data Center
eUKhost Datacenter

Web Hosting Forum
eUKhost Forum

Support Tutorials
Online Flash Tutorials

Offsite Back-up Plans
Remote Backup Service

ColdFusion Hosting
ColdFusion Web Hosting
 
 

Android and Apple App


knowledgebase articles
eUKhost.com Services

Pre-Sales Questions
Pre-sales FAQ's

Domain Names
Domain registration FAQ's

cPanel Hosting
cPanel Hosting FAQ's

Windows Web Hosting
Plesk Control Panel

Reseller Hosting
Reseller Hosting FAQ's

VPS Hosting
Virtual Private Server

Semi-Dedicated Servers
Semi-Dedicated FAQ's

Dedicated Servers
Dedicated Server Hosting

Joomla Hosting
Joomla Web Hosting

Mambo Hosting
Mambo Web Hosting

Magento Hosting
Magento Web Hosting

Wordpress Hosting
Wordpress Web Hosting

 

Web Hosting Affiliate Program
 

popular blog categories

UK Web Hosting
UK Hosting articles

Dedicated Server Hosting
Dedicated Server guidelines

VPS Hosting
VPS hosting articles

cPanel Hosting
cPanel Hosting articles

Linux Operating System
Linux Operating techniques

Windows Web Hosting
Windows plesk articles