php include path changes

Loading a phpinfo file for a domain on a cpanel server, you notice that the “include_path” variable changes.

Resolution:

With PHP PEAR enabled, PEAR is by default configured to include its PHP directory (/home/domina/php in this case). You can disable /home/domain/php from being in the PHP include_path by either removing that directory (/home/freedc/php) or uninstalling PEAR through EasyApache.

Leave a Comment