PEAR on Windows: How to change pear.ini location

前端 未结 5 1488
闹比i
闹比i 2021-02-07 00:44

I am trying to install a PEAR package into my recent XAMPP PHP installation (PHP 5.3.1) on Windows 7 64-bit.

Installing new packages fails because PEAR tries to access <

5条回答
  •  时光说笑
    2021-02-07 01:18

    Thanks user2204085 ! To be more accurate, when you run

     php go-pear.phar 
    

    type 11 (not 'all' or not enter) then type $prefix\pear.ini . The file PEAR_ENV.reg will be created in your php directory. I've followed the above steps, and it works fine for me.enter code here

提交回复
热议问题