I am trying to use PHP 5.3.5 for development of a system. When I try the commands
include PEAR_DIR.'Compat.php'
PHP_Compat::loadFunction('file_get_contents');
it is returning error Class 'PHP_Compat' not found
I can load the file in the browser with correct directory path. I tried the command
include_once dirname(__FILE__).'/libs/Pear/Compat.php';
This also showing same error.
This is a general pattern happening with include, include_once, require and require_once commands.
Any helping pointers are really appreciated.
----
Server IP: 202.65.157.132
Probable Submitter: 117.204.125.96
----
Manual Page -- http://www.php.net/manual/en/function.include-once.php
Edit -- https://master.php.net/note/edit/102778
Del: integrated -- https://master.php.net/note/delete/102778/integrated
Del: useless -- https://master.php.net/note/delete/102778/useless
Del: bad code -- https://master.php.net/note/delete/102778/bad+code
Del: spam -- https://master.php.net/note/delete/102778/spam
Del: non-english -- https://master.php.net/note/delete/102778/non-english
Del: in docs -- https://master.php.net/note/delete/102778/in+docs
Del: other reasons-- https://master.php.net/note/delete/102778
Reject -- https://master.php.net/note/reject/102778
Search -- https://master.php.net/manage/user-notes.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.