V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Livid
V2EX  ›  macOS

关于恢复 ML 里的 Web Sharing

  •  
  •   Livid · 2012-07-31 02:57:41 +08:00 · 3017 次点击
    这是一个创建于 4308 天前的主题,其中的信息可能已经有所发展或是发生改变。
    最简单的方法就是安装下面的这个 prefPane:

    http://clickontyler.com/blog/2012/02/web-sharing-mountain-lion/
    4 条回复    1970-01-01 08:00:00 +08:00
    Eyon
        1
    Eyon  
       2012-07-31 04:03:33 +08:00
    直接 sudo apachectl start 就可以了
    ivanlw
        2
    ivanlw  
       2012-07-31 16:36:22 +08:00
    请不要使用“恢复”这个字眼,这个是第三方的,明显和以前的官方不一样……
    49degree
        3
    49degree  
       2012-08-01 00:25:17 +08:00
    默认的Apache已经是启动的,wwwroot在/Library/WebServer/Documents/

    http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion
    这里有教程教怎么开启PHP和安装MySQL
    49degree
        4
    49degree  
       2012-08-01 00:28:30 +08:00
    @ivanlw 过于扣字眼了,仔细看下介绍吧
    @Livid 推荐的只不过是个GUI界面,开启的就是ML里官方自带的Apache
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5680 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 07:22 · PVG 15:22 · LAX 00:22 · JFK 03:22
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.