Hi Guys,
I am having troubles include the System_Daemon library in http://pear.php.net/package/System_Daemon package from Pear.
I followed the WiKi and here is my code.
[code]
define(‘PATH_SEPERATOR’,’:…’);
set_include_path( ‘.’ . PATH_SEPERATOR . ‘/home/realin/pear/php’ . PATH_SEPERATOR . get_include_path() );
//works corect
require_once “System.php”;
var_dump(class_exists(‘System’));
//does not work
require_once “System/Daemon.php”;
var_dump(class_exists(‘Daemon’));[/code]
How ever the require_once “System/Daemon.php”; works on my local system i.e. Ubuntu.
What could be the reason ?
Thanks
Sachin Khosla