cannot get phing to run at all

后端 未结 4 1509
有刺的猬
有刺的猬 2021-01-11 19:37

Max OS X 10.7.. when i run phing -v i get the following errors:

Warning: require_once(phing/Project.php): failed to open stream: No such file or         


        
4条回答
  •  既然无缘
    2021-01-11 20:25

    Just Want to add one more easier solution for mac LION users (those who install stuff via macport ) , might work for leopard too

    1. download this script anywhere, doesn't matter where it is

      curl http://pear.php.net/go-pear.phar > go-pear.phar
      
    2. run this command

      sudo php -q go-pear.phar
      
    3. it will ask you the paths, you shouldn't need to change it, but just check these paths contains any pear related files.

    4. it will ask you if you want to update php.ini for you with these includes path [Y]

    you are done! type phing and you should ask for your build.xml

提交回复
热议问题