i have a problem with include_path.
i have no access to my php.ini and i used :
ini_set('include_path', ini_get('include_path'));
on top of my code but it didn't change
i used
echo __FILE__;
i saw the direction of the file was :
D:\Domains\mysite.com\wwwroot\mailer.php
then i used :
ini_set('include_path', ".;D:\Domains\mysite.com\wwwroot/pear/PEAR/");
but it can't find pear class in socket.php when it exit.
it is the same about other packages and they can't find pear class in a php file.
in socket.php .. pear.php is required like this :
require_once 'PEAR.php';
error :
Fatal error: Class 'PEAR' not found in D:\Domains\mysite.com\wwwroot\pear\PEAR\Net\Socket.php on line 47
if you can please help.
thanks in advance.