What do you think this means.

This code:


        ini_set('display_errors', 1);
        error_reporting(E_ALL | E_STRICT);


Outputs these error messages:


But this code:


        require_once 'System.php';
        var_dump(class_exists('System', false));


Returns "bool(true)"

Looking at these docs:


... it says:

"In every case, PEAR's php_dir should be in the include path. If not,
add it in your system's php.ini."

When viewing PHP info, I do not see "php_dir" in the include path (or
anywhere else... Nor do I see any reference to "pear".)

My friend told me that the host said Pear "is installed."

I tried adding a php.ini to the root of the server (I don't know much
about this host's setup... I am just helping a friend out) but that
did not seem to load.

I don't have shell access either.

Would it be safe for me to conclude that Pair is not setup properly?
Would it be a simple fix for the host to add Pear to the include path?
What else could I do to get Pear to work if I can't use a php.ini file
and/or ssh into the server and check/tweak/install packages?

Thanks so much!


PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to