6: 2019-12-02 (Mon) 01:35:09 web-master source Cur: 2020-01-12 (Sun) 23:53:39 web-master source
Line 1: Line 1:
* PHP 7.4.0 へアップデートしようとしたらエラー [#u023958f] * PHP 7.4.0 へアップデートしようとしたらエラー [#u023958f]
 +
 +&tag(PHP7.4,トラブル);
- configure が通らない - configure が通らない
Line 10: Line 12:
 sudo sudo /etc/init.d/php7-fpm stop  sudo sudo /etc/init.d/php7-fpm stop
 sudo /etc/init.d/nginx stop  sudo /etc/init.d/nginx stop
 + 
 sudo systemctl stop dphys-swapfile  sudo systemctl stop dphys-swapfile
 sudo systemctl start dphys-swapfile  sudo systemctl start dphys-swapfile
 + 
 sudo /etc/init.d/nginx stat  sudo /etc/init.d/nginx stat
 sudo /etc/init.d/php7-fpm start  sudo /etc/init.d/php7-fpm start
Line 97: Line 99:
 make  make
 sudo make install  sudo make install
--- PECL zip 拡張をインストール (今後の PHP バージョンアップに備えて -f フラグ付き)+-- PECL zip 拡張をインストール (今後の PHP バージョンアップ時には -f オプションをつける必要あり)
 sudo /usr/local/php7/bin/pecl install -f zip  sudo /usr/local/php7/bin/pecl install -f zip
-- /etc/php7/php.ini に extention=zip.so を追加 -- /etc/php7/php.ini に extention=zip.so を追加
- とりあえずはこれで解決。何か釈然としないけど。 - とりあえずはこれで解決。何か釈然としないけど。
 +
 +** [[Normalizer クラス:https://www.php.net/manual/ja/class.normalizer.php]]を有効化 [#d6f28510]
 +
 +configure に "--enable-intl" を追加。
 +
 +早速、エラーが出た。
 +
 +#pre{{
 +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
 +
 +Consider adjusting the PKG_CONFIG_PATH environment variable if you
 +installed software in a non-standard prefix.
 +
 +Alternatively, you may set the environment variables ICU_CFLAGS
 +and ICU_LIBS to avoid the need to call pkg-config.
 +See the pkg-config man page for more details.
 +}}
 +
 + apt-get install libicu-dev
 +
 +でいけた。
** XOOPS 関連修正分 [#w1d03fb5] ** XOOPS 関連修正分 [#w1d03fb5]
Line 124: Line 151:
-Deprecated [PHP]: Non-static method exXoopsGroupPermHandler::getInstance() should not be called statically in file (html)/modules/yybbs/include/search.inc.php line 46 (1) -Deprecated [PHP]: Non-static method exXoopsGroupPermHandler::getInstance() should not be called statically in file (html)/modules/yybbs/include/search.inc.php line 46 (1)
-Deprecated [PHP]: Function get_magic_quotes_gpc() is deprecated in file (html)/modules/exFrame/xoops/object.php line 100 (10) -Deprecated [PHP]: Function get_magic_quotes_gpc() is deprecated in file (html)/modules/exFrame/xoops/object.php line 100 (10)
--Deprecated [PHP]: join(): Passing glue string after array is deprecated. Swap the parameters in file (trust)/modules/xpwiki/search.php(13) : eval()'d code line 8 (1)+-&font(Lime){''墨''};%%Deprecated [PHP]: join(): Passing glue string after array is deprecated. Swap the parameters in file (trust)/modules/xpwiki/search.php(13) : eval()'d code line 8 (1)%%


Front page   Diff Backup Copy Reload   New Page Page list Search Recent changes   Help   RSS of recent changes (RSS 1.0) RSS of recent changes (RSS 2.0) RSS of recent changes (RSS Atom)
Counter: 146, today: 1, yesterday: 0