Hi all,
Im sorry if this is a very silly question.
When users use PHP on our server if they include a file or require a file like so
require_once 'vendor/autoload.php';
it will error out saying.
PHP Warning: require_once(vendor/autoload.php): failed to open stream: No such file or directory in /home/<user>/public_html/development/index.php on line 10 [15-Sep-2017 17:18:46 Europe/London] PHP Fatal error: require_once(): Failed opening required 'vendor/autoload.php' (include_path='.:/opt/cpanel/ea-php56/root/usr/share/pear') in /home/<user>/public_html/development/index.php on line 10
Although the file is there. its showing the include pather as ".:/opt/cpanel/ea-php56/root/usr/share/pear" rather than their user area.
This seems odd.. How can i make this to their user area ?
Im sorry if this is a very silly question.
When users use PHP on our server if they include a file or require a file like so
require_once 'vendor/autoload.php';
it will error out saying.
PHP Warning: require_once(vendor/autoload.php): failed to open stream: No such file or directory in /home/<user>/public_html/development/index.php on line 10 [15-Sep-2017 17:18:46 Europe/London] PHP Fatal error: require_once(): Failed opening required 'vendor/autoload.php' (include_path='.:/opt/cpanel/ea-php56/root/usr/share/pear') in /home/<user>/public_html/development/index.php on line 10
Although the file is there. its showing the include pather as ".:/opt/cpanel/ea-php56/root/usr/share/pear" rather than their user area.
This seems odd.. How can i make this to their user area ?