hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : open_basedir in php 4.4.6
Reply

Forum Jump

open_basedir in php 4.4.6

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
Retired Moderator
 
Join Date: Oct 2004
Location: Southwest UK
Posts: 1,159

open_basedir in php 4.4.6


Hi all.

I've just upgraded my apache install to Apache 2.0.59 and PHP 4.4.6 and suddenly open_basedir has stopped working. I have an open_basedir setting in each vhost configuration that used to work fine on php 4.3.9, now upgraded it thinks there is no path specified and I'm getting the usual failures where my scripts are not allowed to write to a directory.

Has anyone else seen this or knows what's happening? I'm on 64-bit Centos 4.4

thanks.

__________________
Do not meddle in the affairs of Dragons, for you are crunchy and taste good.



Sponsored Links
  #2  
Old
Web Hosting Guru
 
Join Date: Nov 2003
Posts: 306
You can check open_basedir setting in a phpinfo() page.

__________________
LiteSpeed Web Server by http://www.litespeedtech.com
Best PHP and Ruby On Rails hosting platform,
Completely Apache interchangeable
Compatible with all hosting control panels.

  #3  
Old
Retired Moderator
 
Join Date: Oct 2004
Location: Southwest UK
Posts: 1,159
I should point out that the open_basedir setting is printed out ok, and the /tmp path that it is trying to write to is included in the printed path.
Quote:
/home/admin/domains/xyz.co.uk/:/tmp/:/var/www/:/usr/local/lib/php/:/etc/virtual/

__________________
Do not meddle in the affairs of Dragons, for you are crunchy and taste good.

Sponsored Links
  #4  
Old
Web Hosting Master
 
Join Date: Jan 2002
Location: UK
Posts: 1,031
the apache upgrade probably the culprit diff vhost layout format.

__________________
Chris Collins
Hostingfreak.net
Directadmin Hosting in europe
www.hostingfreak.net

  #5  
Old
Retired Moderator
 
Join Date: Oct 2004
Location: Southwest UK
Posts: 1,159
As far as I can tell, the vhost config is correct, and I even moved the open_basedir setting inside the <Directory> configuration, still no luck.

Unfortunately, there is an open_basedir bug that describes my problems with writing to /tmp on the php bug tracker - the final comment is "we really don't support PHP 4 anymore". <sigh>

__________________
Do not meddle in the affairs of Dragons, for you are crunchy and taste good.

Reply

Related posts from TheWhir.com
Title Type Date Posted
OX Summit Web Hosting Events 2014-07-23 21:01:52
Top 5 Considerations for Transitioning to Open Compute Webinars 2014-06-29 21:45:11
Open Source Collaboration Provider Open-Xchange Launches OX Spreadsheet Tool: WHD.global 2014 Web Hosting News 2014-04-01 11:18:13
Open-Xchange Summit 2013 Web Hosting Events 2013-09-19 18:04:21
Open-Xchange Names New Chief Technical Officer Web Hosting News 2013-03-04 16:10:23


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?
WHT Host Brief Email:

We respect your privacy. We will never sell, rent, or give away your address to any outside party, ever.

Advertisement:
Web Hosting News:
WHT Membership
WHT Membership



 

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?