在 ubuntu 16 上安装 php5.6 启用扩展

在 ubuntu 16 上安装 php5.6 启用扩展

要启用扩展,请验证它们是否已在 .ini 中启用

文件:

  • /etc/php/5.6/cli/php.ini

  • /etc/php/5.6/cli/conf.d/10-mysqlnd.ini

  • /etc/php/5.6/cli/conf.d/10-opcache.ini

  • /etc/php/5.6/cli/conf.d/10-pdo.ini

  • /etc/php/5.6/cli/conf.d/20-calendar.ini

  • /etc/php/5.6/cli/conf.d/20-ctype.ini

  • /etc/php/5.6/cli/conf.d/20-exif.ini

  • /etc/php/5.6/cli/conf.d/20-fileinfo.ini

  • /etc/php/5.6/cli/conf.d/20-ftp.ini

  • /etc/php/5.6/cli/conf.d/20-gettext.ini

  • /etc/php/5.6/cli/conf.d/20-iconv.ini

  • /etc/php/5.6/cli/conf.d/20-json.ini

  • /etc/php/5.6/cli/conf.d/20-mbstring.ini

  • /etc/php/5.6/cli/conf.d/20-mysql.ini

  • /etc/php/5.6/cli/conf.d/20-mysqli.ini

  • /etc/php/5.6/cli/conf.d/20-pdo_mysql.ini

  • /etc/php/5.6/cli/conf.d/20-phar.ini

  • /etc/php/5.6/cli/conf.d/20-posix.ini

  • /etc/php/5.6/cli/conf.d/20-readline.ini

  • /etc/php/5.6/cli/conf.d/20-shmop.ini

  • /etc/php/5.6/cli/conf.d/20-sockets.ini

  • /etc/php/5.6/cli/conf.d/20-sysvmsg.ini

  • /etc/php/5.6/cli/conf.d/20-sysvsem.ini

  • /etc/php/5.6/cli/conf.d/20-sysvshm.ini

  • /etc/php/5.6/cli/conf.d/20-tokenizer.ini

-/etc/php/5.6/cli/conf.d/20-xdebug.ini

sudo a2enmode rewrite - 我已经做了一些事情现在它开始了 - /etc/php/7.0/cli/php.ini

  • /etc/php/7.0/cli/conf.d/10-mysqlnd.ini

  • /etc/php/7.0/cli/conf.d/10-opcache.ini

如何启用 php5.6 扩展..请帮我解决??

这是在 laravel 文件夹中运行命令“composer update”时发生的。

相关内容