Home > Backend Development > PHP Tutorial > macpro - Macbook Pro上有哪些PHP集成环境,如何像Windows进入www目录呢?

macpro - Macbook Pro上有哪些PHP集成环境,如何像Windows进入www目录呢?

WBOY
Release: 2016-06-06 20:12:34
Original
1266 people have browsed it

Macbook Pro上有哪些PHP集成环境,如何像Windows那样进入www目录呢?

回复内容:

Macbook Pro上有哪些PHP集成环境,如何像Windows那样进入www目录呢?

xampp 先装一个这个再说 至于www在哪里那是配置文件说了算

<code>XAMPP
MAMP</code>
Copy after login
<code>看你自己的喜好了。都可以</code>
Copy after login

先查看一下Apache下面的默认DocumentRoot:DocumentRoot "/Library/WebServer/Documents"
更改目录步骤
1:进入/Private/etc/apache2/users,可以看到里面有个Guest.conf

<code><directory>
        Options Indexes MultiViews
        Require all granted
</directory></code>
Copy after login

2:sudo vim username.conf

<code><directory>
    AllowOverride All
    Options Indexes MultiViews FollowSymLinks
    Require all granted
</directory>
</code>
Copy after login

这个username是用户目录

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template