dongtiannai0654 2017-03-24 14:44
浏览 1133

在Centos for PHP 7上安装mod_php

I was using Chef to provision Apache with PHP module using the httpd cookbook. However, installing mod_php with that cookbook would install the PHP 5 module , even though I had remi set up to install PHP 7 (php -v outputs version 7.1).

How do I manually install (using yum or something) Apache PHP 7 module (php7_module) on Centos 6.7?

  • 写回答

1条回答 默认 最新

  • dpwle46882 2017-03-25 16:56
    关注

    It is installing PHP5 because that cookbook is suppose to support only upto that. If you want a change, you can go and change/update/wrapper the module_helper.rb file for your environment and test it out.

    https://github.com/chef-cookbooks/httpd/blob/master/libraries/httpd_module.rb

    评论

报告相同问题?

悬赏问题

  • ¥15 怎么获取下面的: glove_word2id.json和 glove_numpy.npy 这两个文件
  • ¥15 js调用html页面需要隐藏某个按钮
  • ¥15 ads仿真结果在圆图上是怎么读数的
  • ¥20 Cotex M3的调试和程序执行方式是什么样的?
  • ¥20 java项目连接sqlserver时报ssl相关错误
  • ¥15 一道python难题3
  • ¥15 牛顿斯科特系数表表示
  • ¥15 arduino 步进电机
  • ¥20 程序进入HardFault_Handler
  • ¥15 oracle集群安装出bug