LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > [solved] open_basedir restriction

Reply
 
Thread Tools Display Modes
  #1  
Old 05-13-2012, 03:26 AM
pardis pardis is offline
Senior Member
 
Join Date: Jun 2011
Posts: 83
Default [solved] open_basedir restriction

Hello :

When my server switched to LS some website face to open_basedir restriction error . How can resolve this globally ?

Regards

Last edited by NiteWave; 05-22-2012 at 10:56 PM..
Reply With Quote
  #2  
Old 05-13-2012, 04:20 AM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,226
can you post the website's virtual host definition in httpd.conf ?
just open_basedir related part, like
Quote:
<IfModule concurrent_php.c>
php4_admin_value open_basedir "usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/ph$
php5_admin_value open_basedir "/usr/lib/php:/usr/local/lib/php:/tmp"
</IfModule>
Reply With Quote
  #3  
Old 05-22-2012, 10:40 PM
jackwilliams jackwilliams is offline
New Member
 
Join Date: May 2012
Posts: 9
This is correct. This works for me... Thanks
Reply With Quote
  #4  
Old 05-27-2012, 11:12 AM
pardis pardis is offline
Senior Member
 
Join Date: Jun 2011
Posts: 83
Code:
    <IfModule concurrent_php.c>
        php4_admin_value open_basedir "/home4/androids/public_html:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp"
        php5_admin_value open_basedir "/home4/androids/public_html:/usr/lib/php:/usr/local/lib/php:/tmp"
    </IfModule>
Reply With Quote
  #5  
Old 05-27-2012, 08:48 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,226
Quote:
some website face to open_basedir restriction error
please give the error detail. locate it in error_log
Reply With Quote
Reply

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

Forum Jump


All times are GMT -7. The time now is 05:50 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.