显然,我已经安装了两个版本的Php。我有5.6和7。我在Mac上使用Xampp,它在5.6上工作,我试着下载composer,但是它拒绝安装cakephp to。
- cakephp/cakephp 3.4.9 requires ext-intl * -> the requested PHP extension intl is missing from your system.
在信息的末尾,它说
o enable extensions, verify that they are enabled in your .ini files:
- /usr/local/etc/php/7.0/p
安装laravel错误could not find driver
laravel的版本是5.8.38,php的版本是7.4.3,mysql的版本是8.0.21
我在安装could not find driver时得到错误laravel
mysql数据库已经配置,数据已经迁移到mysql数据库。不应报告说找不到司机。
{
"message": "could not find driver (SQL: select * from `my_admin` where `mobile` = 18912345678 order by `id` asc limit 1)
我已经使用homebrew安装了MongoDB,还安装了php mongo驱动程序,并将其包含在我的MAMP包的当前php版本中。但是当我启动MAMP时,这个错误出现在我的php错误日志中:
PHP Startup: mongo: Unable to initialize module
Module compiled with module API=20100525
PHP compiled with module API=20121212
These options need to match
in Unknown on line 0
我尝试用phpize重新编译驱动程序,phpize
我正在尝试使用tesseract php,但失败了。我得到了这个错误: Fatal error: Uncaught thiagoalessio\TesseractOCR\TesseractNotFoundException: Error! The command "tesseract" was not found. Make sure you have Tesseract OCR installed on your system: https://github.com/tesseract-ocr/tesseract
The current $PATH is C:\Wind
我试着从另一个回购中安装memcache,结果都出错了:
[root@mail ~]# php -v
PHP Warning: PHP Startup: memcache: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
我在尝试使用Google App Engine的sdk (PHP 7)在本地部署时收到此错误
dev_appserver.py app.yaml
返回
WARNING: The Cloud SDK no longer ships runtimes for PHP 5.4. Please set your runtime to be "php55".
这是我的.yaml文件
runtime: php
env: flex
runtime_config:
document_root: public
# Ensure we skip ".env", whic