centralnic / php-epp

EPP Support for PHP. This repository is a mirror of the offical repository on CentralNic's GitLab server.
https://gitlab.centralnic.com/centralnic/php-epp
GNU General Public License v2.0
44 stars 25 forks source link

php-epp error, #7

Open alain1 opened 11 years ago

alain1 commented 11 years ago

I am getting the following error: but I have Protocol.php file in the directory and pear path is correct can someone help me please ?

Warning: require_once(Net/EPP/Protocol.php) [function.require-once]: failed to open stream: No such file or directory in C:\wamp\www\php-epp\Net\EPP\Client.php on line 27

Fatal error: require_once() [function.require]: Failed opening required 'Net/EPP/Protocol.php' (include_path='.;C:\php\pear') in C:\wamp\www\php-epp\Net\EPP\Client.php on line 27

gbxyz commented 11 years ago

This error is probably due to the php-epp library directory not being in the include path.

To resolve this, add this to the script where you're including Net/EPP/Client.php:

ini_set('include_path', ini_get('include_path') . PATH_SEPARATOR . '/path/to/php-epp');