Mac system default MAWP configuration

Source: Internet
Author: User

Mac system is self-brought Apache, configuration is also very easy, but itself is not support PHP need to manually open a bit, here to record the configuration process

1.apache config file in/etc/apache2/httpd.conf, DocumentRoot and directory to their own site directory, Allowoverride=all, restart command is sudo apachectl Restart

2.php need to httpd.conf loadmodule php5_module libexec/apache2/libphp5.so Uncomment

3. Also deploy Php.ini,sudo Cp/etc/php.ini.default/etc/php.ini

4. Turn on rewrite and cancel httpd.conf loadmodule rewrite_module libexec/apache2/mod_rewrite.so Comment

Mac system default MAWP configuration

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.