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

  • 相关阅读:
    勇气
    Node.js的安装和配置
    jekins构建时,远程执行shell的问题
    CDMA系统原理二
    详解Android定位
    Docker 简介
    Polly+HttpClientFactory
    K8s-Helm
    k8s-部署应用
    K8S-Pod
  • 原文地址:https://www.cnblogs.com/ayanboke/p/14133503.html
Copyright © 2011-2022 走看看