LAMP環境配置安裝注意安裝步驟及說明事項

2022-08-15 06:00:18 字數 2982 閱讀 4619

shell># yum -y install gcc

shell>## cd /home/hsk/tar

shell># tar –zxvf zlib-1.2.5.tar.gz

shell># cd zlib-1.2.5

shell># ./configure --build=arm-linux    //

這個配置編譯命令不要加目錄引數

啟動apache

複製php.ini

配置檔案到指定目錄

shell># cp php.ini-development /usr/local/php/lib/php.ini

配置apache使其支援php

在httpd.conf(apache主配置檔案)中增加:

找到下面這段話:

directoryindex index.html

在index.html 前面新增index.php

建立php測試網頁

輸入如下內容:

<?php

phpinfo();

參考本地網頁版安裝mysql

lamp環境安裝

安裝 yum install y vsftpd 設定開機啟動 systemctl enable vsftpd.service 啟動systemctl start vsftpd.service 停止systemctl stop vsftpd.service 檢視狀態 systemctl status ...

LAMP環境安裝

1.訪問 ftp報錯 解決方法 關閉selinux vi etc selinux config 內容修改為 selinux disable 之後輸入reboot重啟。2.依賴軟體查詢 一.安裝gcc gcccloog ppl ppl libppl.so.7 libppl c.so.2 cppmpfr...

yum安裝配置lamp環境

一 安裝apache yum install httpd 根據提示,輸入y安裝即可成功安裝 etc init.d httpd start 啟動apache 備註 apache啟動之後會提示錯誤 正在啟動 httpd httpd could not reliably determine the ser...