By infoindustry
on Mon, 08/11/2014 - 16:21
Hello
I have this error in SampleSelector.php
VWS Samples in PHP using HTTP_Request2
Warning: require_once() [function.require-once]: open_basedir restriction in effect. File(/usr/share/php/Net/URL2.php) is not within the allowed path(s): (/var/www/bluegg/data:.) in /var/www/blu++egg/data/www/bluegg.mobi/vuforia/HTTP/Request2.php on line 24Warning: require_once(/usr/share/php/Net/URL2.php) [function.require-once]: failed to open stream: Operation not permitted in/var/www/bluegg/data/www/bluegg.mobi/vuforia/HTTP/Request2.php on line 24Fatal error: require_once() [function.require]: Failed opening required 'Net/URL2.php' (include_path='.:/usr/share/php:/usr/share/pear') in/var/www/bluegg/data/www/bluegg.mobi/vuforia/HTTP/Request2.php on line 24
How to fix this?
HTTP/Request2.php error
You need to install the PEAR
http://pear.php.net/