chris.dempsey
New Pleskian
We had our server updated from v9.5.4 to v11.0.9 recently and PHP websites that were running fine on PHP 5.2.17 FastCGI are now failing when trying to include files eg. require_once('include.txt'); throws error:
PHP Warning: require_once(): open_basedir restriction in effect. File(include.txt) is not within the allowed path(s): (C:/inetpub/vhosts//website.co.uk\;C:\Windows\Temp\) in C:\inetpub\vhosts\website.co.uk\subdomains\mali\httpdocs\claymore-api\index.php on line 12
open_basedir value in the PHP settings tab is: {WEBSPACEROOT}\;{TMP}\
Can anyone advise what I can look at to resolve this? We paid Parallels to perform the update but they will not look at this on the same support ticket (even though the issue was caused by the update).
Environment:
- Windows Server 2008 R2 64bit
- Plesk Panel 11.0.9
- PHP 5.2.17 and 5.3.19 via FastCGI (no issue when via CGI)
PHP Warning: require_once(): open_basedir restriction in effect. File(include.txt) is not within the allowed path(s): (C:/inetpub/vhosts//website.co.uk\;C:\Windows\Temp\) in C:\inetpub\vhosts\website.co.uk\subdomains\mali\httpdocs\claymore-api\index.php on line 12
open_basedir value in the PHP settings tab is: {WEBSPACEROOT}\;{TMP}\
Can anyone advise what I can look at to resolve this? We paid Parallels to perform the update but they will not look at this on the same support ticket (even though the issue was caused by the update).
Environment:
- Windows Server 2008 R2 64bit
- Plesk Panel 11.0.9
- PHP 5.2.17 and 5.3.19 via FastCGI (no issue when via CGI)