doubi1713 2015-06-18 13:23
浏览 104

AddModule mod_php5.c不在httpd.conf中

PHP manual: http://php.net/manual/en/install.macosx.bundled.php says to uncomment this line: # AddModule mod_php5.c in /etc/httpd/httpd.conf, but the line is missing (same issue here: https://apple.stackexchange.com/questions/91933/unable-to-enable-php-in-osx-10-8-mountain-lion but for Yosemite)

Tried to see if updating using instructions from here: http://ziad.eljammal.com/install-php-5-5-on-mac-os-x/ (replace with 5.6) would help resolve, but it did not also install modules

How do you install modules? There are some solutions with Homebrew and other package installers, but will it update the httpd.conf file or create a new instance of it in another location? Do I need to get rid of the original php install then? How do you make sure you don't keep unnecessary packages/versions? What's the difference between a module and an extension?

  • 写回答

1条回答 默认 最新

  • donglinxin8765 2015-07-09 06:32
    关注

    I was having the same issue, and I followed this guidehttp://jason.pureconcepts.net/2014/11/install-apache-php-mysql-mac-os-x-yosemite/

    The author doesn´t mention anything about the second line, and now I have everything working, so maybe it is not necessary anymore.

    评论

报告相同问题?

悬赏问题

  • ¥15 使用EMD去噪处理RML2016数据集时候的原理
  • ¥15 神经网络预测均方误差很小 但是图像上看着差别太大
  • ¥15 Oracle中如何从clob类型截取特定字符串后面的字符
  • ¥15 想通过pywinauto自动电机应用程序按钮,但是找不到应用程序按钮信息
  • ¥15 如何在炒股软件中,爬到我想看的日k线
  • ¥15 seatunnel 怎么配置Elasticsearch
  • ¥15 PSCAD安装问题 ERROR: Visual Studio 2013, 2015, 2017 or 2019 is not found in the system.
  • ¥15 (标签-MATLAB|关键词-多址)
  • ¥15 关于#MATLAB#的问题,如何解决?(相关搜索:信噪比,系统容量)
  • ¥500 52810做蓝牙接受端