hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : php Safe Mode question
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

php Safe Mode question

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 10-14-2003, 11:20 AM
MattMans MattMans is offline
WHT Addict
 
Join Date: Jan 2002
Location: Midlands, UK
Posts: 114

php Safe Mode question


Hi Everyone

I'm trying to turn on safe mode per apache virtual host on my Redhat 7.3 server.

I've tried putting "php_admin_value safe_mode on" in a virtual host, but it has no effect.

Am I going about it the right way? Just to confirm, I do not want to turn on safe mode for the whole server.

Thanks

Matt

Reply With Quote


Sponsored Links
  #2  
Old 10-14-2003, 11:23 AM
3spades 3spades is offline
Web Hosting Master
 
Join Date: Oct 2002
Location: Brooklyn NY
Posts: 809
Try php_admin_flag safe_mode Off and dont forget to restart apache. Also be aware that if a subdomain requires safe mode off, you will need to find the virtualhost entry for the subdomain and add the php_admin_flag safe_mode Off.

__________________
Why do they call them fingers? I never seen them fing. Oh, there they go.


Reply With Quote
  #3  
Old 10-14-2003, 11:29 AM
MattMans MattMans is offline
WHT Addict
 
Join Date: Jan 2002
Location: Midlands, UK
Posts: 114
I did try that 3spades and it worked.

The only problem then is that I have a number of php shell scripts which run from cron overnight which need to do things like set_time_limit() which will not run if safe mode is turned on globally.

I haven't been able to find a way of turning off safe mode for php scripts *not* run by apache.

Reply With Quote
Sponsored Links
Reply

Related posts from TheWhir.com
Title Type Date Posted
Fake Web Hosting Invoices Issued in BC, Canada Fraud Case Web Hosting News 2012-11-15 10:00:39
Selling Your Hosting Company - #6 - Turning Over the Keys Blog 2012-03-13 10:00:32
Rackspace Blog Looks at Easy Outsourcing for App Development Blog 2012-03-05 19:07:48
Data Center Firm QTS Achieves Safe Harbor Status Web Hosting News 2011-11-30 19:14:13
Security Firm StillSecure Launches New Version of Safe Access Network Solution Web Hosting News 2011-08-12 17:30:18


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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 Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?