Helen Pang
Basic Pleskian
Hi,
May I know if PHP in Plesk Windows support PEAR? I checked in phpinfo(), i saw this:
include_path .;./includes;./pear .;./includes;./pear
But when i enter below code
<?php
require_once 'System.php';
var_dump(class_exists('System'));
?>
It shows:
Warning: require_once(System.php) [function.require-once]: failed to open stream: No such file or directory in D:\inetpub\vhosts\oxy.com.my\httpdocs\php\mailtest.php on line 2
Fatal error: require_once() [function.require]: Failed opening required 'System.php' (include_path='.;./includes;./pear') in D:\inetpub\vhosts\oxy.com.my\httpdocs\php\mailtest.php on line 2
I read from another forum, they advice to change the path in php.ini. My current config in php.ini is:
; Windows: "\path1;\path2"
;include_path = ".;c:\php\includes"
include_path = ".;./includes;./pear"
Please advice.
Thanks.
May I know if PHP in Plesk Windows support PEAR? I checked in phpinfo(), i saw this:
include_path .;./includes;./pear .;./includes;./pear
But when i enter below code
<?php
require_once 'System.php';
var_dump(class_exists('System'));
?>
It shows:
Warning: require_once(System.php) [function.require-once]: failed to open stream: No such file or directory in D:\inetpub\vhosts\oxy.com.my\httpdocs\php\mailtest.php on line 2
Fatal error: require_once() [function.require]: Failed opening required 'System.php' (include_path='.;./includes;./pear') in D:\inetpub\vhosts\oxy.com.my\httpdocs\php\mailtest.php on line 2
I read from another forum, they advice to change the path in php.ini. My current config in php.ini is:
; Windows: "\path1;\path2"
;include_path = ".;c:\php\includes"
include_path = ".;./includes;./pear"
Please advice.
Thanks.