zoukankan      html  css  js  c++  java
  • php下载文件提示

    To enable PHP in Apache add the following to httpd.conf and restart Apache:
    LoadModule php7_module /usr/local/opt/php/lib/httpd/modules/libphp7.so

    <FilesMatch .php$>
    SetHandler application/x-httpd-php
    </FilesMatch>

    Finally, check DirectoryIndex includes index.php
    DirectoryIndex index.php index.html

    The php.ini and php-fpm.ini file can be found in:
    /usr/local/etc/php/7.4/

    To have launchd start php now and restart at login:
    brew services start php
    Or, if you don't want/need a background service you can just run:
    php-fpm

    apache下载文件的提示

    ==> Pouring httpd-2.4.46.high_sierra.bottle.tar.gz

    ==> Caveats

    DocumentRoot is /usr/local/var/www.

    The default ports have been set in /usr/local/etc/httpd/httpd.conf to 8080 and in

    /usr/local/etc/httpd/extra/httpd-ssl.conf to 8443 so that httpd can run without sudo.

    To have launchd start httpd now and restart at login:

      brew services start httpd

    Or, if you don't want/need a background service you can just run:

      apachectl start

  • 相关阅读:
    web--ajax--json
    4.26
    4.25
    4.23
    4.22
    4.20
    4.19
    4.18
    4月问题总结章
    4.17
  • 原文地址:https://www.cnblogs.com/ayanboke/p/14133503.html
Copyright © 2011-2022 走看看