如果想要快速的部署PHP的环境,你可以选择lnmp.org的LNMP一键安装包。
但是,缺点也很明显,安装过程虽然一键自动化,但是解压、编译,非常耗时。

另一个方式是采用XAMPP。

XAMPP的官方网站是:
https://www.apachefriends.org/zh_cn/index.html

最新版本的Linux安装包的下载链接为:
https://www.apachefriends.org/xampp-files/5.6.23/xampp-linux-5.6.23-0-installer.run

下载完成后,上传软件到服务器:

赋予执行权限:

安装:

启动:

浏览器查看:

URL:
http://192.168.232.180
xampp_1

测试PHP:

URL:
http://192.168.232.180/me.php
xampp_2

————————————
Done。

2 thoughts on “Xampp:Install on RHEL6”

  1. 图形化的管理XAMPP:
    [root@adamhuan-info-center lampp]# export DISPLAY=192.168.92.1:2.0
    [root@adamhuan-info-center lampp]# xhost +
    access control disabled, clients can connect from any host
    xhost: must be on local machine to enable or disable access control.
    [root@adamhuan-info-center lampp]#
    [root@adamhuan-info-center lampp]# pwd
    /opt/lampp
    [root@adamhuan-info-center lampp]#
    [root@adamhuan-info-center lampp]# ./manager-linux-x64.run
    [root@adamhuan-info-center lampp]#

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

隐藏
变装