简体   繁体   English

在wamp中卸载pear

[英]uninstall pear in wamp

By mistake i installed PEAR , 错误地我安装了PEAR,

I think i installed very wrongly, 我觉得我的安装非常错误,

Now i want to uninstall only PEAR , 现在我只想卸载PEAR,

Tell me How to uninstall PEAR IN WAMP.. 告诉我如何卸载PEAR IN WAMP ..

(For Localsystem) (适用于Localsystem)

PEAR is just a set of PHP libraries. PEAR只是一组PHP库。 Just manually delete your PEAR folder and you are good to go. 只需手动删除您的PEAR文件夹就可以了。

In windows 8: Delete file C:\\Windows\\pear.ini. 在Windows 8中:删除文件C:\\ Windows \\ pear.ini。 Delete your PEAR folder. 删除您的PEAR文件夹。

As already stated in the accepted answer, you can just manually delete the PEAR folder. 如已接受的答案中所述,您只需手动删除PEAR文件夹即可。 However, when I installed PEAR, it added the following line to php.ini: 但是,当我安装PEAR时,它将以下行添加到php.ini:

include_path=".;C:\\path\\to\\pear"

Make sure to remove this line and to restart your webserver afterwards. 请务必删除此行,然后重新启动您的网络服务器。

Also, maybe the path to PEAR was also added to your Windows' PATH variable. 此外,PEAR的路径也可能添加到Windows的PATH变量中。 If you do not want to reinstall it to the same directory, you should remove that path as well. 如果您不想将其重新安装到同一目录,则还应删除该路径。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM