flagflag  
19: 2022-04-11 (Mon) 18:31:53 iseki source Cur: 2023-08-17 (Thu) 13:00:56 iseki source
Line 1: Line 1:
** PHP: Hypertext Preprocessor [#k50e5340] ** PHP: Hypertext Preprocessor [#k50e5340]
 +
*** Links [#b2d61ed1] *** Links [#b2d61ed1]
- http://www.php.net/ - http://www.php.net/
Line 8: Line 9:
#br #br
-*** PHP7 [#j770b0fd]+*** Version [#r6fc27c8]
- [[PHP7 >./PHP7]] - [[PHP7 >./PHP7]]
 +- [[PHP8 >./PHP8]]
 +
#br #br
Line 78: Line 81:
*** PHP 関数拡張 [#q614929b] *** PHP 関数拡張 [#q614929b]
- [[PHP Extension]] - [[PHP Extension]]
 +- [[Sodium>PHP Extension/Sodium]]
#br #br
 +
*** Trouble Shooting [#t160986a] *** Trouble Shooting [#t160986a]
 +**** エラーログ [#u1a71917]
 +- /etc/php.ini の error_log, log_errors で設定
 +- パーミッションに注意
 +
 + log_errors = On
 + error_log = /var/log/php/php.log
 +
 +- ただし php-fpm が動いている場合は,Web上でのエラーは error_log に出ない.
 +-- /var/log/php-fpm/www-error.log
 +
 +-- どこで指定してるんだ! ぷんぷん!
 +-- /etc/php-fpm.d/www.conf
 +
 + php_admin_value[error_log] = /var/log/php-fpm/www-error.log
 +
 +
 +#br
 +
 +**** dl() でモジュールを呼んでくれない [#v9ecf83f]
 +- php.ini で enable_dl = On とする.
 +#br
 +
**** php.ini の設定が反映されない [#df20ad07] **** php.ini の設定が反映されない [#df20ad07]
- php -i |grep php.ini  で PHPが実際に読み込んでいる php.ini を調べる - php -i |grep php.ini  で PHPが実際に読み込んでいる php.ini を調べる
Line 91: Line 118:
 dnf module enable php:7.4 -y  dnf module enable php:7.4 -y
 yum erase php  yum erase php
- yum install php --allowerasin+ yum install php --allowerasing
#br #br


Front page   New List of Pages Search Recent changes   Help   RSS of recent changes (RSS 1.0) RSS of recent changes (RSS 2.0) RSS of recent changes (RSS Atom)

Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthNov 2024Next Month
Su Mo Tu We Th Fr Sa
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
Today

Who's Online

159 user(s) are online (54 user(s) are browsing xpwiki)

Members: 0
Guests: 159

more...

Access Counter

Today : 3697369736973697
Yesterday : 3947394739473947
Total : 2446758024467580244675802446758024467580244675802446758024467580
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com