douju1852 2014-10-18 22:49
浏览 49


I had been PHP version using 5.5.11 on my Mac and have some modules installed. They took quite a lot of tinkering around to get working. I have my OSX already using this version by using a PATH in my ./~profile. After I installed Yosemite though my localhost now runs PHP 5.5.14, which doesn't have the modules installed. How do I get my localhost to use my other PHP installation?

I have tried in httpd.conf LoadModule php5_module \path\to\other\binary. I restarted Apache but it wouldn't load my page then. So i'm unsure of how to achieve this.

  • 写回答

1条回答 默认 最新

  • douliaodan2738 2014-10-18 23:44

    Not so easy, in my mind the easy way should be to install a new version with the modules you need If you are lucky all modules you need are present in the package from

    The hard way : install manually the php and all modules ...

    本回答被题主选为最佳回答 , 对您是否有帮助呢?



  • ¥15 AttributeError: 'NoneType' object has no attribute 'drop_duplicates'报错
  • ¥15 编写c++计算器,要求如下
  • ¥15 以下代码,运行结果报错
  • ¥15 Vivado仿真数据出错
  • ¥15 银河麒麟不支持vant等前端框架怎么办?
  • ¥15 vue3的子组件在父页面调用不显示不生效问题
  • ¥15 cadence PEX
  • ¥15 phython创建了文件 显示在项目下面,但运行不了,运行时还是运行main文件,并且说main文件不允许并行运行
  • ¥20 C++哈希表的设计构造哈希表
  • ¥15 FutureWarning:不推荐使用空或全 NA 条目的 DataFrame 串联行为。怎么改呢?