找不到go-pear。bat文件PHP 5.5 Windows 7。
16lz
2021-01-22
The command from their documentation says to run the command:
他们文档中的命令说运行命令:
C:\php>php go-pear.phar
Could not open input file: go-pear.phar
According to Installation Documents the go-pear.bat
file should be located in the root of the php files (c:\php)
. I have downloaded php-5.5.9-Win32-VC11-x64 to go with my x64
version of Apache 2.4
根据安装文件的要求。bat文件应该位于php文件的根目录(c:\php)。我下载了php- 5.9- win32 - vc11 -x64版本的Apache 2.4
The closest thing I have to this is: phar.phar.bat.
最接近这个的是:phar.phar.bat。
When trying to run this I get the following:
当我试着运行这个程序时,我得到以下信息:
C:\php>"C:\php\php.exe" "C:\php\pharcommand.phar"
No command given, check C:\php\pharcommand.phar help
or
或
C:\php>php phar.phar.bat
"%~dp0php.exe" "%~dp0pharcommand.phar" %*
2 个解决方案
#1
-1
Did you save go-pear.phar to C:\php\ ? If php is working fine then you should be able to just cd to the directory where you saved the go-pear.phar file and do
你保存go-pear。phar到C:\ php \ ?如果php运行良好,那么应该能够将cd保存到保存go-pear的目录。phar文件并做
$ php go-pear.phar
更多相关文章
- 将csv文件保存到现有文件,但在新工作表和重命名工作表中
- php.ini与php-fpm.conf配置文件的区别
- 无法在Yii中更改项目的文件夹名称
- HPH+Mysql注入点利用 读取文件内容和导出一句话木马
- 如何让Netbeans调试器暂停每个新的php文件执行?
- 如何使用PHP读取.xls文件(Excel) ?
- 解决Apache2+PHP上传文件大小限制的问题技术集锦
- 上传文件时通过AJAX更新列表
- 使用PHP发布整个mySQL命令