当前位置: 首页 > news >正文

html5 视差滚动网站江苏网站seo设计

html5 视差滚动网站,江苏网站seo设计,三级分销网站建设,奶茶网站建设CentOS7使用源码安装PHP8教程整理 下载安装包解压下载的php tar源码包安装所需的一些依赖扩展库安装前的配置修改配置文件1、进入php8的安装包 配置环境变量开机自启启动服务创建软连接常见问题1、checking for icu-uc > 50.1 icu-io icu-i18n... no2、configure: error: Pa…

CentOS7使用源码安装PHP8教程整理

    • 下载安装包
    • 解压下载的php tar源码包
    • 安装所需的一些依赖扩展库
    • 安装前的配置
    • 修改配置文件
      • 1、进入php8的安装包
    • 配置环境变量
    • 开机自启
    • 启动服务
    • 创建软连接
    • 常见问题
      • 1、checking for icu-uc >= 50.1 icu-io icu-i18n... no
      • 2、configure: error: Package requirements (oniguruma) were not met:
      • 3、configure: error: Cannot find libtidy
      • 4、configure: error: Package requirements (libxslt >= 1.1.0) were not met:
      • 5、error: Package requirements (sqlite3 > 3.7.4) were not met:

下载安装包

有多个安装版本,根据自己的需求可以下载php8的各个版本

https://www.php.net/downloads.php

wget https://www.php.net/distributions/php-8.3.16.tar.gz 

解压下载的php tar源码包

tar -zxvf php-8.3.16.tar.gz

安装所需的一些依赖扩展库

yum -y install   libxml2*   openssl*  libcurl* libjpeg*      libpng*      freetype*      libmcrypt*

安装前的配置

cd php-8.3.16

进入目录,执行以下命令

./configure --prefix=/usr/local/php8 --with-config-file-path=/usr/local/php8/etc --enable-fpm --enable-mysqlnd --with-fpm-user=nginx --with-fpm-group=nginx --with-curl --enable-gd --with-tidy --with-gettext --enable-intl --with-kerberos --with-libdir=lib64 --with-mysqli --enable-ftp --with-openssl --with-pdo-mysql --with-pdo-sqlite --with-pear --disable-fileinfo --with-xsl --with-zlib --with-bz2 --with-mhash --enable-bcmath --enable-mbregex --enable-mbstring --enable-opcache --enable-pcntl --enable-shmop --enable-soap --enable-sockets --enable-sysvsem --enable-sysvshm --enable-xml --enable-calendar --enable-exif

看到这张图,表示执行成功,如果没有,就解决error

在这里插入图片描述继续执行以下命令

make && make install

在这里插入图片描述执行到这里,表示执行成功了
在这里插入图片描述

修改配置文件

1、进入php8的安装包

cd php-8.3.16/
cp -a php.ini-production /usr/local/php8/etc/php.ini

在这里插入图片描述
进入安装目录

cd /usr/local/php8/etccp -a php-fpm.conf.default php-fpm.conf  cd /usr/local/php8/etc/php-fpm.dcp www.conf.default www.conf

修改www.conf文件

修改端口号,9000 为9001,因为我有两个php版本,还有一个php7

listen = 127.0.0.1:9001
listen.owner = nginx
listen.group = nginx
listen.mode = 0666

在这里插入图片描述

配置环境变量

我这里是两个php版本,所以就又增加了一个php8

PATH=$PATH:/usr/local/php7/bin:/usr/local/php7/sbin/:/usr/local/php8/bin:/usr/local/php8/sbin/

保存环境变量,并执行以下命令,让其生效

source /etc/profile

开机自启

# 源码包 php-8.0.24/sapi/fpmcd ./php-8.3.16/sapi/fpmcp php-fpm.service /usr/lib/systemd/system/php-fpm-8.3.16.service
cp init.d.php-fpm /etc/init.d/php8-fpmchmod +x /etc/init.d/php8-fpm 

启动服务

service php8-fpm start
service php8-fpm stop
service php8-fpm restart

创建软连接

ln -s /usr/local/php8/bin/php /usr/local/bin/php8

在这里插入图片描述

常见问题

1、checking for icu-uc >= 50.1 icu-io icu-i18n… no

在这里插入图片描述

checking for icu-uc >= 50.1 icu-io icu-i18n... no
configure: error: Package requirements (icu-uc >= 50.1 icu-io icu-i18n) were not met:No package 'icu-uc' found
No package 'icu-io' found
No package 'icu-i18n' found

解决方案:

yum  -y install libicu-devel

2、configure: error: Package requirements (oniguruma) were not met:

在这里插入图片描述

checking whether to enable multibyte regex support (requires oniguruma)... yes
checking for oniguruma... no
configure: error: Package requirements (oniguruma) were not met:No package 'oniguruma' found

解决方案:

yum -y install oniguruma oniguruma-devel

3、configure: error: Cannot find libtidy

yum -y install libtidy-devel

4、configure: error: Package requirements (libxslt >= 1.1.0) were not met:

yum -y install libxslt-devel

5、error: Package requirements (sqlite3 > 3.7.4) were not met:

yum install sqlite-devel
http://www.ds6.com.cn/news/75992.html

相关文章:

  • 智慧营销系统平台搜索引擎排名优化
  • 做企业网站时需要注意哪些地方营销活动策划方案
  • 做游戏任务赚钱的网站深圳正规seo
  • 网站标题logo怎么做的优化大师软件大全
  • app页面模板seo培训优化
  • 卡通设计类网站欣赏产品营销策略
  • 怎么申请自己的网站媒体资源网官网
  • 网站关键词优化的步骤和过程北京seo运营
  • 广东省城乡建设厅网站首页自媒体视频剪辑培训班
  • 房产咨询律师免费咨询站长工具seo综合查询是什么
  • 搭建网站有哪些刷百度关键词排名
  • 水果网站怎么做网站外链出售
  • 工商代办公司东莞网络优化排名
  • 网站子页面怎么做竞价排名
  • 东莞营销网站建设价格seo排名优化的网站
  • 网站根目录多文件在线看seo网站
  • 做淘宝优惠劵网站服务器配置线上网络推广怎么做
  • 网站常用架构最佳磁力吧ciliba搜索引擎
  • 怎么用自己主机做网站、推广找客户平台
  • 设计网站公司好评y湖南岚鸿ok百度长尾关键词挖掘工具
  • 从化营销型网站建设计算机培训
  • 有网站吗给一个百度广告电话号码
  • 苏州网站建设业务的公司中关村在线app
  • 西安疫情最新消息今天又封了短视频关键词seo优化
  • 网站建设中最重要的环节是什么网站建设哪家好公司
  • 做网站有没有免费空间网站seo优化效果
  • 网站开发的目的意义郑州厉害的seo优化顾问
  • 一家专门做母婴的网站海外互联网推广平台
  • 怎么样做网站客服网络广告营销经典案例
  • 专业做公司宣传网站国际军事新闻