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

Tuesday, August 30, 2022

[FIXED] Why PEAR_INSTALL_DIR has wrong PEAR path?

 August 30, 2022     iis, pear, php, windows     No comments   

Issue

This question is related to:

Why $pear->packageExists() returns always false on installed package?

PEAR_INSTALL_DIR has:

C:\php\pear

but this path doesn't exists in my system. I have PEAR installed to:

C:\Program Files (x86)\IIS Express\PHP\v5.3\pear

How can I solve this issue?


Solution

Modify your system environment variables. See the second paragraph in the PEAR manual:

Finally you have to add that installation path to your PATH environment. Either do this manually (Start > Control Panel > System > Environment) or run (double-click) the newly generated PEAR_ENV.reg that's now found in the PHP source directory.



Answered By - cweiske
Answer Checked By - Robin (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