Setup include path for PEAR on Wamp

后端 未结 1 1812
死守一世寂寞
死守一世寂寞 2021-01-14 03:28

Installed PEAR and followed the directions on http://www.phpunit.de/manual/current/en/installation.html:

pear config-set auto_discover 1
pear install pear.ph         


        
相关标签:
1条回答
  • 2021-01-14 03:48

    By adding those three lines to the ini, the last one will override everything. Only use this one

    include_path = ".;C:\Program Files\wamp\bin\php\php5.3.8\pear"
    

    Edit: adding @Gordon comment. We need to keep \pear. Because inner pear libraries are assuming that pear already in the include path.

    http://pear.php.net/manual/en/installation.checking.php#installation.checking.cli.modifyingphpini

    0 讨论(0)
提交回复
热议问题