I'm trying to use a file located in C:/WEBserver/php_includes
. The file in question is called stripe.inc.php
, however when I include('stripe.inc.php')
I get this error:
Failed opening 'E:/Webserver/MY_NAME/COMPANY_SITE/www/site/templates/stripe.inc.php' for inclusion (include_path='.;c:\WEBserver\php_includes;e:\Webserver\MY_NAME\global-lib') in E:\Webserver\MY_NAME\COMPANY_SITE\www\site\assets\cache\FileCompiler\site\templates\register-payment.php on line 868
Note that MY_NAME
and MY_COMPANY
are actual names, I just removed them for this question. Also note that the current file I'm in is located in a folder called templates
, and php is looking for stripe.inc.php
in that folder. It isn't even looking in the folder set as the global include path.