之前在环境中部署了redmine-4.2.3
Centos7 下部署 redmine-4.2.3文章源自陈学虎-https://chenxuehu.com/article/2022/02/7917.html
由于redmine是用ruby写的,这语言我可不熟悉,也懒得去学习这门语言了,而一些接口的开发需要依赖于我熟悉的PHP语言,因此把PHP环境也给安排上,本文安装 PHP 8.0.15 ,并整合 apache 。文章源自陈学虎-https://chenxuehu.com/article/2022/02/7917.html
文章源自陈学虎-https://chenxuehu.com/article/2022/02/7917.html
一、开始安装文章源自陈学虎-https://chenxuehu.com/article/2022/02/7917.html
yum install -y https://rpms.remirepo.net/enterprise/remi-release-7.rpm yum-config-manager --disable 'remi-php*' yum-config-manager --enable remi-php80 yum install -y php php-bcmath php-cli php-common php-devel php-fpm php-gd php-intl php-ldap php-mbstring php-mysqlnd php-odbc php-pdo php-pear php-pecl-xmlrpc php-pecl-zip php-process php-snmp php-soap php-sodium php-xml
就是这么简单,验证下是否安装成功文章源自陈学虎-https://chenxuehu.com/article/2022/02/7917.html
[root@c ~]# php -v PHP 8.0.15 (cli) (built: Jan 18 2022 12:16:19) ( NTS gcc x86_64 ) Copyright (c) The PHP Group Zend Engine v4.0.15, Copyright (c) Zend Technologies
文章源自陈学虎-https://chenxuehu.com/article/2022/02/7917.html
没毛病,OK了,现在整合下 apache文章源自陈学虎-https://chenxuehu.com/article/2022/02/7917.html
vi /etc/httpd/conf/httpd.conf AddType application/x-httpd-php .php
文章源自陈学虎-https://chenxuehu.com/article/2022/02/7917.html
然后新建测试页面,就能正常访问了。文章源自陈学虎-https://chenxuehu.com/article/2022/02/7917.html
文章源自陈学虎-https://chenxuehu.com/article/2022/02/7917.html
评论