我试图为我的新macbook上的工作项目安装php7.1 (通过命令brew install php@7.1),但我收到了以下消息:
Error: No previously deleted formula found.
==> Searching taps on GitHub...
Error: No formulae found in taps.
我不能拒绝使用php7.1,因为它需要我的工作。
如何将php7.1安装在MacOS上
我试图更新我的作曲家,但我得到了这个错误。
Problem 1
- doctrine/instantiator 1.1.0 requires php ^7.1 -> your PHP version (7.0.10) does not satisfy that requirement.
- doctrine/instantiator 1.1.0 requires php ^7.1 -> your PHP version (7.0.10) does not satisfy that requirement.
- doctrine/instantiator 1.1.0 require
C:\PHP>pear upgrade pear
pear/pear is already installed and is the same as the released version 1.9.3
upgrade failed
C:\PHP>pear -V
PEAR Version: 1.9.0
PHP Version: 5.2.17
Zend Engine Version: 2.2.0
如您所见,pear与它正在运行的版本是混淆的。我如何解决这个问题,使梨在1.9.3上运行呢?
更新
C:\PHP>pear upgrade -f pear
downloading P
捆绑安装一个Laravel 9项目。
更新的作曲家从2.0.8到2.3.10
运行composer create-project laravel/laravel blog "9.*"
给我:Could not find package laravel/laravel with version 9.* in a version installable using your PHP version, PHP extens ions and Composer version.
我已经成功使用 for magento扩展很长一段时间了,所以当我发现在最新版本中现在支持编辑数量时,我自动尝试升级到0.8.9,但是当我尝试进入目录时,我一直收到以下错误:
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'buyahood_shopithoodies.customgrid_grid_role' doesn't exist
Trace:
#0 /home/buyahood/public_html/lib/Varien/Db/Statement/Pdo/Mysql.php(110): Z
我得到了错误,但我已经升级了我的PHP版本,但我仍然得到相同的。
Problem 1
- This package requires php ^7.1.3 but your PHP version (7.0.33) does not satisfy that requirement.
Problem 2
- doctrine/inflector v1.3.0 requires php ^7.1 -> your PHP version (7.0.33) does not satisfy that requirement.
- doctrine/inflector v
我们用于连接到QuickBooks Online的php代码已经运行了大约六个月,没有明显的错误。
从Ubuntu 14.04升级到16.04后,我们突然看到这样的错误:
PHP Fatal error: Redefinition of parameter $action in /quickbooks-php/QuickBooks/Callbacks.php on line 587
在我浪费时间追查这个错误之前,我希望有人能认识到这个错误。
我目前正在运行debian 8,我希望升级由debian提供的安全修补程序,但问题是,如果我升级了一个包,那么它要求升级许多包,如下所示:
$ apt-get upgrade openssl
The following packages will be upgraded:
dpkg dpkg-dev krb5-locales libapache2-mod-php5 libdpkg-perl libfreetype6 libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-common libgssapi-krb5-2
libk5crypto3 libkrb5-3 l
我正在尝试在wampserver中安装PHP 8,我正在遵循官方wampserver论坛上的教程,但是PHP 8不起作用。它显示了以下错误。
This PHP version 8.0.2 doesn't seem to be compatible with your actual Apache Version.
c:/wamp64/bin/php/php8.0.2/php8apache2_4.dll does not exist.
如何解决这个问题并在wampaserver中安装php8?
信息
19042wampserver 3.2.3 windows 10构建Apache2
在我的joola网站的顶部,我得到了这个错误:
Strict Standards: Only variables should be assigned by reference in /home/mysite/public_html/templates/mysite/index.php on line 77
当我查找上面提到的index.php文件并转到第77行时,我看到:
$user =& JFactory::getUser();
我认为该代码有问题,我需要如何更改:
JFactory::getUser()
类似这样的东西:
JFactory->getUser()
这就是我在谷
我只是为了测试目的下载了Drupal8的开发版本。当我试图安装时,它显示了以下错误:
Your PHP installation is too old. Drupal requires at least PHP 5.3.10.
我现在的php版本是5.3.8。如何只对php进行更新?还是我也需要更新mysql?