Nginx PHP-FPM and MySQL on CentOS 5
This is tutorial how to install Nginx PHP-FPM and MySQL on CentOS 5 64bit VPS
Install Remi repository on CentOS 5 :
# rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
# rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-5.rpm
Install Nginx and PHP-FPM
# yum --enablerepo=remi,remi-test install nginx php-fpm php-common
Install PHP modules
# yum --enablerepo=remi,remi-test install php-pecl-apc php-cli php-pear php-pdo php-mysql php-pgsql php-pecl-mongo php-sqlite php-pecl-memcache php-pecl-memcached php-gd php-mbstring php-mcrypt php-xml
Start Nginx and Autostart on boot
#service nginx start
# chkconfig nginx on
Start php-fpm and autostart on boot
# service php-fpm start
# chkconfig php-fpm on
for install mysql uses this tutorial:
yum --enablerepo=remi,remi-test install mysql-server
Test Nginx and PHP-FPM setup:
- Create info.php file on nginx vhost directory with following content:
<?php
phpinfo();
?> - type in browser xxxxx/info.php
相關文章
- Linux CentOS7 系統中部署 Nginx + PHP-fpm + MySQL 環境LinuxCentOSNginxPHPMySql
- Mac下Nginx、PHP、MySQL 和 PHP-fpm安裝配置MacNginxPHPMySql
- centos 下 安裝 node,nginx, mysqlCentOSNginxMySql
- CentOS 6.x 開啟Nginx和Php-fpm狀態統計CentOSNginxPHP
- 筆記:MAC使用brew配置nginx、php、mysql、php-fpm、redis筆記MacNginxPHPMySqlRedis
- PHP-FPM和nginx配置PHPNginx
- nginx + PHP-fpm 配置示例NginxPHP
- CentOS 7 下安裝PHP環境並且配置Nginx支援php-fpm模組CentOSPHPNginx
- nginx 和 PHP-fpm 的互動NginxPHP
- Nginx、fastCGI、php-fpm關係梳理NginxASTPHP
- Centos6 下安裝Nginx+Mysql+PHPCentOSNginxMySqlPHP
- 詳解 nginx php-fpm 工作機制NginxPHP
- PHP-FPM 與 NGINX 通訊過程PHPNginx
- 調整PHP-FPM(Nginx)的子程式PHPNginx
- CentOS7上安裝並配置Nginx、PHP、MySqlCentOSNginxPHPMySql
- Centos7下配置PHP + MySQL + Nginx開發環境CentOSPHPMySqlNginx開發環境
- 使用supervisor管理你的nginx、php-fpm程式NginxPHP
- centos yum install nginxCentOSNginx
- Kubernetes 部署 PHP-fpm 與 nginx 多容器應用PHPNginx
- nginx與php-fpm通訊的兩種方式NginxPHP
- PHP-FPM 與 Nginx 的通訊機制總結PHPNginx
- Centos 7 安裝NginxCentOSNginx
- CentOS 7 - 安裝NginxCentOSNginx
- CentOS 上安裝 NginxCentOSNginx
- centos 7.6 安裝 nginxCentOSNginx
- 阿里雲CentOS7下部署Nginx,MySQL,PHP7環境阿里CentOSNginxMySqlPHP
- 阿里雲 Centos7安裝ssh+nginx+mysql 傻瓜式教程阿里CentOSNginxMySql
- 高流量站點NGINX與PHP-fpm配置最佳化NginxPHP
- nginx 如何解析php檔案php-fpm的解釋NginxPHP
- CentOS7 安裝NginxCentOSNginx
- CentOS7-安裝NginxCentOSNginx
- Centos 7 yum 安裝nginxCentOSNginx
- CentOS 7 yum 安裝 NGINXCentOSNginx
- CentOS容器中安裝NginxCentOSNginx
- centos安裝nginx1.17.9CentOSNginx
- centos7安裝nginxCentOSNginx
- Centos7 安裝 NginxCentOSNginx
- CentOS系統安裝NginxCentOSNginx
- CentOS離線安裝NginxCentOSNginx