PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Monday, May 16, 2022

[FIXED] How to install PEAR with EasyPHP 5.3.8?

 May 16, 2022     easyphp, pear, php, phpunit, windows-7     No comments   

Issue

I'm learning Yii and following ebook written by Jeffrey Winesett, the application is built upon TDD. So I need to install PHPUnit to write unit test, which leads me to posts help installing PEAR for my Windows 7 (ref. link 1, link 2).

And in those above sites, the author keep telling to use go-pear.bat which doesn't exist in my EasyPHP 5.3.8 which also be the latest version at the time of speaking.

Even in this EasyPHP forum post we cannot find the answer.

So the question is, how to install PEAR with EasyPHP 5.3.8?

I'm using:

  • Netbeans PHP 7.0.1 as IDE for PHP.
  • EasyPHP 5.3.8 as A M P package

Solution

the script go-pear.php doesn't work on some new php version. My solution :

dowload in php folder the file from http://pear.php.net/go-pear.phar

(use the windows console in mode admin) and from php folder type : php go-pear.phar



Answered By - Michel Bobillier
Answer Checked By - Timothy Miller (PHPFixing Admin)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing