![]() |
[Resolved] LiteSpeed Path Issue
Having an issue with RVSitebuilder. It appears the script wants to pull from the path which LiteSpeed does not have configured.
[STDERR] PHP Warning: is_file() [<a href='function.is-file'>function.is-file</a>]: open_basedir restriction in effect. File(/usr/local/lsws/lsphp5/lib/php/RVSeagullMod/lib/SGL/FrontController.php) is not within the allowed path(s): (/home/philipss:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp) in /home/philipss/public_html/new/rvscommonfunc.php on line 50 FrontController.php is located @ /usr/local/lib/php/RVSeagullMod/lib/SGL/FrontController.php So the question is how do I append to the path to meet the requirements of this or change where the default path is searched? |
as the warning message suggested,
FrontController.php is located at /usr/local/lsws/lsphp5/lib/php/RVSeagullMod/lib/SGL/ so you need add /usr/local/lsws/lsphp5/lib/php/RVSeagullMod/lib/SGL/ or (should be better) /usr/local/lsws/lsphp5/lib/php/ to your open_basedir (search php.ini) |
That is not the proper path though as explained clearly. The proper path is :
/usr/local/lib/php/RVSeagullMod/lib/SGL/FrontController.php |
what's the include_path value in phpinfo() output?
|
include_path .:/usr/local/lsws/lsphp5/lib/php .:/usr/local/lsws/lsphp5/lib/php
Quote:
|
so I think the issue is almost clear: the order of include paths.
when PHP Code:
you wish it get /usr/local/lib/php/RVSeagullMod/lib/SGL/FrontController.php instead of /usr/local/lsws/lsphp5/lib/php/RVSeagullMod/lib/SGL/FrontController.php then try to change include_path in php.ini to .:/usr/local/lib/php:/usr/local/lsws/lsphp5/lib/php etc |
No Include path is defined @ /usr/local/lsws/lsphp5/lib/php.ini which IS the php.ini file used.
Where else would it be pulling from? Quote:
|
?
. . |
made 2 changes, the cPanel plugin RVSitebuilder working now:
Quote:
|
Not to get too OT here, but if you hand edited the httpd.conf file you are just waiting for a disaster. The next time cPanel rebuilds httpd.conf those chages will get wiped out.
|
| All times are GMT -7. The time now is 02:36 PM. |