<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                安裝包 和 依賴包 請自行網上查找 或者 聯系文章作者 ## 一,oniguruma是什么? ? ? ?oniguruma是一個處理正則表達式的庫,我們之所以需要安裝它,是因為在安裝php7.4的過程中,mbstring的正則表達式處理功能對這個包有依賴性,所以我們要先安裝這個庫。 開源源碼地址:https://github.com/kkos/oniguruma ## **一.安裝PHP8依賴包** ``` yum -y install autoconf freetype gd libpng libpng-devel libjpeg libxml2 libxml2-devel zlib curl curl-devel net-snmp-devel libjpeg-devel php-ldap openldap-devel openldap-clients freetype-devel gmp-devel libzip libzip-devel sqlite-devel ``` ## **二.編譯PHP8依賴包oniguruma** 1.解壓 ``` tar -zxvf oniguruma-6.9.4.tar.gz ``` 2.切換目錄 ``` cd oniguruma-6.9.4/ ``` 3.生成configure ``` ./autogen.sh ``` 4.生成編譯配置文件 ``` ./configure --prefix=/usr ``` 5.編譯并安裝 ``` make && make install ``` ## **三.編譯PHP8主包** 1.解壓 ``` tar xzf php-8.0.0.tar.gz ``` 2.切換目錄 ``` cd php-8.0.0/ ``` 3.生成編譯配置文件 ``` ./configure --prefix=/usr/local/php --with-config-file-path=/usr/local/php/etc --enable-fpm --with-fpm-user=nginx --with-fpm-group=nginx --enable-mysqlnd --with-mysqli --with-pdo-mysql --enable-opcache --with-pcre-jit --enable-gd --with-jpeg --with-freetype --with-gettext --with-curl --with-openssl --enable-sockets --enable-mbstring --enable-xml --with-zip --with-zlib --with-snmp --with-mhash --enable-ftp --enable-bcmath --enable-soap --enable-shmop --enable-sysvsem --enable-pcntl --with-gmp ``` 4.編譯并安裝 ``` make && make install ``` ## **四.php8環境配置** 1.配置文件 ``` cp /usr/local/src/php-7.2.6/php.ini-development /usr/local/php/etc/php.ini ``` 2.配置文件語法檢測 ``` /usr/local/php/sbin/php-fpm -t ``` 3.服務管理 1)啟動 ``` /usr/local/php/sbin/php-fpm ``` 2)關閉 ``` pkill php-fpm ``` 3)重載 ``` pkill -USR2 php-fpm ``` 4.開機啟動 ``` vi /etc/rc.local /usr/local/php/sbin/php-fpm ``` 5.nginx與php結合 #bbs.linux.com虛擬主機 ``` server{ listen 80; server_name bbs.linux.com; access_log logs/bbs.access.log main; location / { root html/bbs; index index.php index.html index.htm; } location ~ \.php(.*)$ { fastcgi_index index.php; fastcgi_pass 127.0.0.1:9000; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; #nginx支持tp fastcgi_param PATH_INFO $1; include fastcgi_params; } } ``` 查看更多 請跳轉 https://learnku.com/articles/54738
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看