LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   General (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=25)
-   -   [solved] open_basedir restriction (http://www.litespeedtech.com/support/forum/showthread.php?t=5925)

pardis 05-13-2012 03:26 AM

[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

NiteWave 05-13-2012 04:20 AM

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>

jackwilliams 05-22-2012 10:40 PM

This is correct. This works for me... Thanks :D

pardis 05-27-2012 11:12 AM

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>


NiteWave 05-27-2012 08:48 PM

Quote:

some website face to open_basedir restriction error
please give the error detail. locate it in error_log


All times are GMT -7. The time now is 02:32 PM.