I am trying to install PEAR with EASYPHP. I get to the batch file where it asks about the file layout. I 开发者_如何学Goam not sure what to set. I get where to put my public web files directory but am lost on the other ones. Please help?
- Installation base ($prefix) : C:\EasyPHP\php
- Temporary directory for processing : C:\EasyPHP\php\tmp
- Temporary directory for downloads : C:\EasyPHP\php\tmp
- Binaries directory : C:\EasyPHP\php
- PHP code directory ($php_dir) : C:\EasyPHP\php\pear
- Documentation directory : C:\EasyPHP\php\docs
- Data directory : C:\EasyPHP\php\data
- User-modifiable configuration files directory : C:\EasyPHP\php\cfg
- Public Web Files directory : C:\EasyPHP\php\www
- Tests directory : C:\EasyPHP\php\tests
- Name of configuration file : C:\Windows\pear.ini
- Path to CLI php.exe : .
PHP is under EasyPHP\php
The settings are fully ok. Just make sure to add the bin
directory to your PATH
environment variable.
Also, it seems you don't have any problems as your question doesn't ask about a specific problem.
I found a BAT file that does the PEAR installation steps for you...
C:\Program Files (x86)\EasyPHP-5.3.6.0\php\go-pear.bat
It also has most of the file-paths preconfigured, so you don't really need to change anything.
精彩评论