草庐IT

failed-installation

全部标签

php - file_get_contents 无法打开流 : HTTP request failed! HTTP/1.1 500 Internal > Server Error in

我看到很多问题与我的问题相匹配。但他们都没有提供任何可行的解决方案。因此,我不需要制作复杂的功能,而是需要简单的解决方案。请不要curl。我已经使用这段代码完成了很多工作。我正在做一个抓取项目,需要从ebay加载产品修订的内容。我正在使用PHP函数file_get_contents();这是我遇到麻烦的URL。https://cgi.ebay.com/ws/eBayISAPI.dll?ViewItemRevisionDetails&item=272908801183这个file_get_contents();在不同的URL上工作得很好,但不知道为什么不在这个上。这是我正在使用的代码。但

php - 安装了 php71w-gd 并收到错误 GD Library extension not available with this PHP installation

我在centos7服务器和nginx网络服务器上使用laravel网络框架,我安装了php71w-gd,但当我想上传文件时仍然出现此错误Intervention\Image\Exception\NotSupportedExceptionGDLibraryextensionnotavailablewiththisPHPinstallation.你可能需要知道这个#php-i|grepgd/etc/php.d/gd.ini,gdgd.jpeg_ignore_warning=>1=>1 最佳答案 @HamedAbdollahi请检查以下步

php - 如何修复 Docker 上的 'Failed to fetch Debian Jessie-updates' 问题?

这个问题在这里已经有了答案:apt-getupdatefailswith404inapreviouslyworkingbuild(1个回答)关闭3年前。我的docker工作正常。我重置了Docker的磁盘镜像,然后当我运行“docker-composeup-d”命令时。我开始收到“无法获取http://deb.debian.org/debian/dists/jessie-updates/main/binary-amd64/Packages404未找到”E:一些索引文件下载失败。它们已被忽略,或者使用了旧的。”错误。我的DockerFile是FROMphp:7.1.16-apache#i

php - 警告 : filesize function failing to operate

很难说出这里要问什么。这个问题模棱两可、含糊不清、不完整、过于宽泛或夸夸其谈,无法以目前的形式得到合理的回答。如需帮助澄清此问题以便重新打开,visitthehelpcenter.关闭10年前。以下代码:1616){$setstatus="enabled";}else{$setstatus="disabled";}?>结果:Warning:filesize()[function.filesize]:statfailedfor/images/staunton/3-25.gifin[OriginatingPHPFILE(Edited)]online24路径是正确的文件....我的托管服务器

php - 为什么 Assets :install doesn´t copy/Resources/public to/web folder?

我在运行phpapp/consoleasset:install命令时遇到问题。我的操作系统是Windows。我的意图是使用该命令从app/Resources/public复制css、js、图像等文件。运行该命令后,在/web中创建了一个bundles文件夹。但是在创建的bundle文件夹中,没有来自app/Resources/public的任何文件。只有两个文件夹:sensiodistribution和framework。为什么我没有在/web/bundles中获取包含复制资源的AppBundle文件夹? 最佳答案 您的Resour

php - Twilio PHP API 库 : Warning: file_get_contents(): SSL operation failed with code 1

我通过composer("twilio/sdk":"~3.12")安装了官方TwilioPHPAPI库。当我尝试通过测试凭证使用API(例如发送短信)时出现错误:Warning:file_get_contents():SSLoperationfailedwithcode1.OpenSSLErrormessages:error:14090086:SSLroutines:SSL3_GET_SERVER_CERTIFICATE:certificateverifyfailedin..vendor/twilio/sdk/Services/Twilio/HttpStream.phpline62如果

php - 警告 : preg_match(): Compilation failed: unrecognized character after (? 或 (?-

我有一个以前的程序员编写的代码,一个抛出编译错误的正则表达式preg_match:$regex_t="/".$op."(?\\>[^".$op.$cl."]+)*".$cl."/s";preg_match($regex_t,$text,$inner);我收到的警告是:Warning:preg_match():Compilationfailed:unrecognizedcharacterafter(?or(?-atoffset4另外,我想提一下var_dump($regex_t)的值是:string'/\{(?\>[^\{\}]+)*\}/s'(length=21)

php - MAC 操作系统 El Capitan 10.11 : Install XDEBUG

我正在寻找调试php脚本的方法。在互联网上,我发现我可以使用MacGDBp+XDebug来做到这一点。当我尝试在Shell中使用PECL安装时:sudopeclinstallxdebugThenexterrorhavebeenoccured:downloadingxdebug-2.4.0.tgz...Startingtodownloadxdebug-2.4.0.tgz(264,832bytes).....................done:264,832bytes76sourcefiles,buildingrunning:phpizegrep:/usr/include/php/m

php - 拉维尔 5.6 : Table creation failed

我是Laravel的新手,我正在尝试使用Schema外观创建表。我使用命令创建迁移文件phpartisanmake:migrationcreate_products_define_standards_table--create=products_define_standards这是文件:increments('id');$table->string('code')->unique();$table->string('image');$table->timestamps();});}/***Reversethemigrations.**@returnvoid*/publicfunctio

php - brew install php55-intl 失败,无法安装 Composer

我正在尝试安装npminstall&&grunt,但它告诉我我需要composer。我正在尝试安装Composer,但这取决于php55。我试过brewinstallphp55、php55-intl、php56、php56-intl等我正在阅读此处的说明:https://getcomposer.org/doc/00-intro.md它声明对于Mac我应该简单地使用brew命令:brewupdatebrewtaphomebrew/homebrew-phpbrewtaphomebrew/dupesbrewtaphomebrew/versionsbrewinstallphp55-intl#f