Mac OS X - 需要有关apache和amp;的建议PHP [英] Mac OS X - need advice regarding apache & php

查看:74
本文介绍了Mac OS X - 需要有关apache和amp;的建议PHP的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,


我得到了Mac OS 10.5.5,PHP 5和apache2。它到目前为止工作正常,但我注意到苹果默认的PHP安装错过了我需要的一些功能。所以显而易见的是升级它基本上我发现了三种方式:

- 使用熵包(但这不会让我得到最新版本)

- 使用macports(类似于apt for mac)(但是我发现php总是和apache2一起安装(在/ opt / local /目录下),虽然这样我可以保留最新版本)

- 进行手动安装(不确定我是不是因为我的系统崩溃了)


现在我的(决定)问题就是那个我想使用原始的apache(为什么要安装两次相同的东西......这将算上熵),另一方面我希望有一个像样的php安装(这对于macports来说很重要) )


任何意见欢迎

解决方案

在询问了一些朋友之后,我最终选择了macports选项。得到它并运行正常。


为什么不使用手动安装?我没有在我的Mac上做过 - 只是使用MAMP :)但这似乎并不太难?


亲切的问候


< blockquote>我对干预基础系统没有经验。加上我必须首先删除旧的PHP(我认为)所以我对此感到不安。猜我下次考虑MAMP。


问候


hello,

I got Mac OS 10.5.5, PHP 5 and apache2. it is working fine so far but I noticed that the apple default php installation misses some features I need. so the obvious thing is to "upgrade" it.

basicly I found three ways:
- use the entropy package (but this won''t get me the latest version)
- use macports (kind of apt for mac) (but I found that php was always installed together with apache2 (in the /opt/local/ directory), though with this I can stay with the latest versions)
- make a manual install (not sure if I don''t crash my system with that)

my (decision) problem now is, that on the one hand side I''d like to use the original apache (why installing the same thing twice... which would count for entropy) and on the other hand side I''d like to have a decent php installation (which counts for macports)

any opinions welcome

解决方案

after asking some of my friends, i eventually went for the macports option. got it up and running fine.


why not using the manual install? i didn''t ever do it on my mac - just using MAMP :) but it doesn''t seem too difficult?

kind regards


I''m not that experienced in meddling with the base system. plus I have to remove the old php first (I think) so I felt uneasy about doing this. guess I consider MAMP next time.

regards


这篇关于Mac OS X - 需要有关apache和amp;的建议PHP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆