草庐IT

install-configuration

全部标签

php - fatal error : Class 'Memcache' not found (installed with pecl)

我通过ssh安装了memcache,使用:$peclinstallmemcache这是输出:https://pastee.org/w63sy并将这一行添加到etc/php.ini:extension=memcache.so尝试初始化时:/*MEMCACHE*/$memcache=newMemcache();$memcache->pconnect('localhost',11211);我得到:Fatalerror:Class'Memcache'notfoundin/home/piscolab/public_html/website.com/includes/sql.phponline25

php - 拉维尔 5 : Installing ide helper for Netbeans

我正在尝试实现Laravelidehelper:barryvdh/laravel-ide-helper。尝试下载要点,将它放在我项目的根文件夹中,但它没有用。还尝试使用composer安装它并在config/app.php文件中添加Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider::class。即使我重新启动netbeans,这两种方法都不起作用。使用Ubuntu和Laravel5.1.20有人知道我做错了什么吗? 最佳答案 用composer安装它是不够的,你还必须用这个命令生成

php - 如何使用 composer.phar install 解决问题

我正在尝试将composerinstall与symfony2一起使用。但是我一次又一次地遇到这个问题。当我运行时:phpcomposer.phpinstall我收到以下我不知道如何修复的错误:错误#1[Symfony\Component\Debug\Exception\ContextErrorException]Warning:date_default_timezone_get():Itisnotsafetorelyonthesystem'stimezonesettings.Youarerequiredtousethedate.timezonesettingorthedate_defa

php - WampServer 3.0.0 AH01630 : client denied by server configuration:

设置一个新的开发服务器以在PHP7上工作并接受一些培训并在僵局中运行。我可以从本地主机访问服务器,127.0.0.1没问题。但是,当我转到局域网上的另一台计算机时。我得到了可怕的:ForbiddenYoudon'thavepermissiontoaccess/dev/lab.phponthisserver.因此,为了安全起见,我使用了新界面来查看新设置如何创建虚拟主机。虚拟主机在本地工作正常,但在LAN上的另一台PC上却不行。apache_error.log显示:[authz_core:error][pid3408:tid928][client192.168.1.38:54761]AH

php - 在 composer 中设置 "config.fxp-asset.installer-paths"选项

当我运行composerupdate时,我会在继续更新之前收到以下警告。The"extra.asset-installer-paths"optionisdeprecated,usethe"config.fxp-asset.installer-paths"option我在哪里/如何更改这些设置? 最佳答案 将extra.asset-installer-paths部分替换为:"config":{"fxp-asset":{"installer-paths":{"npm-asset-library":"vendor/npm","bower-

php - 输入 : '\' while installing Laravel 4 in a dreamhost account 中的意外字符

过去几个小时我一直在尝试在我的dreamhost帐户上安装Laravel4,但我一直收到此错误:Warning:Unexpectedcharacterininput:'\'(ASCII=92)state=1in/home/user/test/artisanonline46Parseerror:syntaxerror,unexpectedT_STRINGin/home/user/test/artisanonline46当我运行时/usr/local/bin/php-5.4-dmemory_limit=256Mcomposer.pharcreate-projectlaravel/larav

php - Fontawesome 字体在 Assets :install and assetic:dump 后失败

我正在尝试建立一个我在共享主机上工作的网站,一切正常,但FontAwesome图标因为Symfony找不到它们应该在的位置。我按照以下步骤将网站移至生产共享主机:将Assets发布为硬拷贝,因为SH不允许符号链接(symboliclink),所以我运行此命令assets:install通过运行以下命令发布由Assetic处理的Assets:assetic:dump(dev)和assetic:dump--env=prod(prod)但它不起作用,因为我在Firebug中一直遇到此错误:"NetworkError:404NotFound-http://tanane.com/bundles/

php - Magento 'Select Configurable Attributes' 与 PHP

我创建了新的可配置产品,并用PHP附加了他们的简单产品。现在,当我编辑任何可配置的产品时,我会看到这个屏幕:那么在没有任何Magento文档的情况下,我应该在PHP中调用什么来以编程方式执行与上面屏幕相同的功能?我已经看到一些示例中使用了$configurable_product->setConfigurableProductsData(),但我认为这不是我需要的。 最佳答案 您是对的,您正在创建可配置产品和子产品之间的关联/链接,但实际情况是,当您创建可配置产品时,您没有设置基本上设置super属性的setConfigurable

php - "E: Package ' php-soap ' has no installation candidate"on php :7. 0-fpm Docker 镜像。退出代码:100

我想标题说明了一切......我有一个来自php:7.0-fpm图像的容器集。在Dockerfile中,我运行apt-getupdate&&apt-getinstall-yphp-soap。但是,它失败并返回100作为退出代码。此外,还有E:Package'php-soap'hasnoinstallationcandidate。基于此discussion,我需要安装apt-transport-https。我把它安装在Dockerfile中,但仍然是同样的错误。我该怎么办? 最佳答案 FPM镜像源码自带php。当您运行apt-geti

java - "JAVA_HOME points to an invalid Java installation issue"在 Elasticsearch 中使用服务安装命令

我想在我的PHP应用程序中使用Elasticsearch。运行服务安装命令后,出现休闲错误。C:\elasticsearch-0.90.10\bin>serviceinstallJAVA_HOMEpointstoaninvalidJavainstallation(nojava.exefoundin"C:\ProgramFiles(x86)\Java\jdk1.7.0_25\bin").Existing... 最佳答案 打开并查看service.bat文件:它搜索:%JAVA_HOME%\bin\java.exe因此您的%JAVA_H