dongxiaoguang9108 2010-11-19 04:29
浏览 55
已采纳

PHP编译错误试图获取mcrypt,Mac OSx 10.6

I and working on setting up a LAMP stack on a new Mac Mini to use as a web server. I am using the bundled PHP version 5.3.3 and Apache 2.2.15.

I have gotten phpMyAdmin working and connect to my mysql installation but I get a "Cannot load mcrypt extension. I did this tutorial - http://michaelgracie.com/2009/09/23/plugging-mcrypt-into-php-on-mac-os-x-snow-leopard-10.6.1/ - to get mcrypt installed and phpinfo() shows mcrypt is installed as per the screenshot at the end.

But im still getting the mcrypt extension not loaded warning. How can I get rid of this. This server is eventually going to be used for production and I would like it to be secure.

  • 写回答

2条回答 默认 最新

  • dsfykqq3403 2010-11-19 16:04
    关注

    Replace extension=mcrypt.so from the tutorial with extension=the/full/path/to/mcrypt.so seems to clear it up.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥20 delta降尺度方法,未来数据怎么降尺度
  • ¥15 c# 使用NPOI快速将datatable数据导入excel中指定sheet,要求快速高效
  • ¥15 再不同版本的系统上,TCP传输速度不一致
  • ¥15 高德地图点聚合中Marker的位置无法实时更新
  • ¥15 DIFY API Endpoint 问题。
  • ¥20 sub地址DHCP问题
  • ¥15 delta降尺度计算的一些细节,有偿
  • ¥15 Arduino红外遥控代码有问题
  • ¥15 数值计算离散正交多项式
  • ¥30 数值计算均差系数编程