require():Failed opening request
2 posts
• Page 1 of 1
require():Failed opening request
When I attempt to start a module I get:
Its telling me that my library is not in the include_path but how do I change the path?
- Code: Select all
require(): Failed opening required '../KoolAjax/koolajax.php' (include_path='.;C:\php\pear')
Its telling me that my library is not in the include_path but how do I change the path?
- JamesBrown
- Posts: 27
- Joined: June 20th, 2013, 5:04 pm
Re: require():Failed opening request
Hi,
include_path can be changed in PHP configuration file (php.ini). More preferably, it can be changed in your code http://php.net/manual/en/function.set-include-path.php
Is the library placed within your project correctly, so the relative path should work?
include_path can be changed in PHP configuration file (php.ini). More preferably, it can be changed in your code http://php.net/manual/en/function.set-include-path.php
Is the library placed within your project correctly, so the relative path should work?
Jakub Misek │ DEVSENSE s.r.o. | @misekjakub │ jakub@devsense.com │
-
Jakub Misek - Posts: 2092
- Joined: January 4th, 2012, 2:42 pm
- Location: Prague
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 53 guests