Bring your own apache+php support under Mac

Source: Internet
Author: User

First, start Apache: (Switch to root account or use sudo)

Apachectl Start/restart

Apache Web Directory in:/library/webserver/documents

Browser Open after launch http://localhost/can see it works! tips


Second, support PHP

1. Edit the vim/etc/apache2/httpd.conf file to remove the #LoadModule php5_module libexec/apache2/libphp5.so the previous comment

2. Command line execution: Cp/etc/php.ini.default/etc/php.ini

3. Restart Apache to

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Bring your own apache+php support under Mac

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.