zoukankan      html  css  js  c++  java
  • XAMPP 1.8.3 安装调试

    安装文件

      文件名:xampp-win32-1.8.3-2-VC11-installer.exe 

      下载地址:http://sourceforge.net/projects/xampp/

      官网:http://www.apachefriends.org/en/index.html

    问题

      安装完毕后,由于80端口占用和SSL 443端口占用,Apache服务器不能启动。如下图:

      

    问题的解决

    修改配置文件:

      路径: D:xamppapacheconfhttpd.conf  (将Listen 80和 ServerName localhost:80中的80改为8081)

          D:xamppapacheconfextrahttpd-ssl.conf(将Listen 443这句注释掉:# Listen 443或将443改为4433或其它值)

    启动成功画面(注意:在下图中点击Config--Service and Port Settings中的设置按照配置文件中的改变。这里的改变用于此处配置只用于引用,修改不会影响配置文件。)

    测试

    在浏览器键入:localhost:8081

    其它注意事项

    进入phpmyadmin,默认的mysql root用户没有密码,应该加上密码:

    UPDATE user SET PASSWORD = PASSWORD(  '123456' ) WHERE user =  'root'

    查询后发现已用密文保存:

    在htdocs文件夹中发布文件

    在htdocs中新疆lnphp文件夹,添加文件:

    D:xampphtdocslnphp est.php,内容如下:

    <?php 
    phpinfo(); 
    ?> 

    浏览器运行:

    http://localhost:8081/lnphp/test.php

    截图:

    报错

    Access forbidden!
    
    You don't have permission to access the requested object. It is either read-protected or not readable by the server.
    
    If you think this is a server error, please contact the webmaster.
    
    Error 403
    
    localhost
    Apache/2.4.7 (Win32) OpenSSL/1.0.1e PHP/5.5.6
  • 相关阅读:
    【ZJOI2017】树状数组
    【ZJOI2014】力
    【WC2017】挑战
    kube event 事件监控
    k8s nginx-ingress 504 timeout
    k8s 工具集
    jvm 性能调优工具之 jmap
    Elasticsearch unassigned 故障排查
    harbor API 与tag 清理
    前后端分离文档
  • 原文地址:https://www.cnblogs.com/gmth/p/3507479.html
Copyright © 2011-2022 走看看