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

Wednesday, August 31, 2022

[FIXED] How to configure PEAR ENV windows?

 August 31, 2022     pear, phpunit, windows-7     No comments   

Issue

the file .reg generate when finish the pear installation was addedd and when i try pear command i get this message:

´PHP_PEAR_PHP_BIN is not set correctly. Please fix it using your environment variable or modify the default value in pear.bat The current value is: .\php.exe´

i'm traying to install PHPUnit


Solution

Set the environment variable in

Control center 
  extended system settings
    extended
      environment variables

alternatively, set it directly in pear.bat - but that change will vanish after the next update.



Answered By - cweiske
Answer Checked By - Mary Flores (PHPFixing Volunteer)
  • 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