开发者

WAMP + Pear installation issue

开发者 https://www.devze.com 2022-12-20 09:18 出处:网络
I am trying to install PEAR in my WAMP-server. The go-pear.bat is running as intended, but when it comes to changing the directories, i开发者_JS百科t all goes wrong.

I am trying to install PEAR in my WAMP-server. The go-pear.bat is running as intended, but when it comes to changing the directories, i开发者_JS百科t all goes wrong. I have followed this guide: http://phphints.wordpress.com/2008/08/26/installing-pear-package-manager-on-wamp/

The 9th line of configuration, Public Web Files directory, will not change upon command and instead says Input file error, no file extension in C:\documents

I am running XP SP3. Is there anyone else who had experienced this slight issue?

Thanks!


If anyone comes up to the same problem, try to rewrite all lines of configuration! It worked finally for me


Since my go-pear.phar was signed I was unable to edit the installation script. What DID work for me and was easier than editing system Envionment Variables through the XP interface, was to simply create c:\temp and then in the same cmd box you're in to run go-pear, type set temp=c:\temp and set tmp=c:\temp and you're good to go to run go-pear. Note that setting the Temp and Tmp manually here in the cmd box mean that they will only last for that session. After installation you can delete c:\temp


Right-click on My Computer -> Properties, Advanced tab, Environment Variables. For the environment variables TEMP and TMP values take double quotes. For example, for TEMP was %USERPROFILE%\Local Settings\Temp, but must be "%USERPROFILE%\Local Settings\Temp"

0

精彩评论

暂无评论...
验证码 换一张
取 消