安装 pear 路径定义
在按照此指南安装 pear 时,我遇到了我所拥有的路径选择不知道它们是什么:
- 公共 Web 文件目录 和
- 配置文件名称,
即执行
我在这里找到了定义 但这似乎已经过时了。
所以我的问题是 1) 公共 Web 文件目录
和 2) 配置文件名称
是什么?
谢谢你!
While installing pear by following this guide, I run into choices of paths which I have no idea what they are:
- Public Web Files directory and
- Name of configuration file
i.e. the #9 and #11 when executing <php.exe> -c <path-to-your-php.ini-location> <path to>\go-pear.phar
I found the definition here but that seems to be outdated.
So my question is what are the 1) Public Web Files directory
and 2) Name of configuration file
?
Thank you!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我可以推荐本指南吗?对我帮助很大。我接受了所有默认配置,如果您之后遇到任何问题,您可以(例如)使用以下命令更改公共 Web 文件的位置
配置文件(您实际上指定了路径和配置文件名)是以下文件:将包含所有 Pear 设置,例如 PEAR 可执行文件将驻留在何处、首选状态是稳定还是测试版等等。
再说一遍,我只会使用默认配置,因为我知道使用命令“config-set”您可以随时更改它们。 这个wiki相当不错,希望对您有所帮助。
不过你是对的,我从头到脚搜索了 Pear 文档,但找不到这两个配置设置的具体解释。
May I suggest this guide? Helped me a great deal. I accepted all default configurations, and in case you have any problem afterwards, you can (for example) change the location of you public web files with the command
The configuration file (you actually specify both path and configuration file name) is the file which will contain all pear settings such as where will PEAR executables reside, if the preferred state is stable or beta, and more.
Again, I would just go with the default configurations, knowing that with the command "config-set" you can change them at any time. This wiki is quite good, hope this helps.
You are right though, I searched the Pear documentation from head to toes and couldn't find a specific explanation of what those 2 configuration settings are.
公共 Web 文件
目录 安装 Web 应用程序文件的目录。您很少遇到使用它们的包。
当您使用这样的包/应用程序时,您需要将 Web 服务器的文档根目录指向它。
配置文件名
您需要为共享主机设置创建自定义配置文件。
页面顶部显示了操作方法:
使用此文件的完整路径作为配置文件名。
Public Web Files directory
Directory where files for web applications get installed to. You seldom come across packages that use them.
When you use such a package/application, you need to point your web server's document root directory to it.
Configuration file name
You need to create a custom configuration file for your shared host setup.
How to do it is shown on the top of the page:
Use the full path to this file as config file name.