Search code examples
phppathdirectoryincludetypo3

Current directory (./) is not within PHP include path XAMMP


Hey i am trying to get TYPO3 CMS 7.6.19 installed but im allways recieving this error...

include_path = C:\xampp\htdocs\mrs\vendor/pear/pear_exception C:\xampp\htdocs\mrs\vendor/pear/http_request2 C:\xampp\php\pear
Normally the current path '.' is included in the include_path of PHP. Although TYPO3 does not rely on this, it is an unusual setting that may introduce problems for some extensions.

Solution

  • You need to fix your include_path in php.ini.

    In that file you will find a line that says something similar to:

    include_path = C:\xampp7\php\PEAR.

    To fix change the line below

    from
    include_path=C:\xampp7\php\PEAR
    to
    include_path=".;C:\xampp7\php\PEAR"