冬季休業も終わり、久し振りにサーバーを再起動した。
Apache2が動かなくなって居た……何が起きた。
launchctlで起動してもメッセージを吐かないので、apachectlで起動してみる。
|
1 2 3 |
% sudo apachectl restart httpd: Syntax error on line 169 of /opt/local/etc/apache2/httpd.conf: Cannot load lib/apache2/modules/mod_php74.so into server: dlopen(/opt/local/lib/apache2/modules/mod_php74.so, 10): Library not loaded: /opt/local/lib/libicuuc.76.dylib\n Referenced from: /opt/local/lib/libxml2.2.dylib\n Reason: image not found |
うん、動かないね。
mod_php74.soは居る。
libxml2.2.dylibも居る。
libicuuc.76.dylibが居ない。
libicuuc.74.dylibなら居た。
何故消えた。
理由は簡単だ。
私が消したからだ。
其れ以外に消え様が無い。
よし、見付からないなら入れ直そう。
いっそのこと最新にしよう。
と、php84-apache2handlerと云うのを入れてみた。
コンパイルエラーで入らない。
ログを見ると、おぃ、x86_64には対応して居ないのかよっ!
|
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 31 32 33 |
:info:build Undefined symbols for architecture x86_64: :info:build "_res_9_dn_expand", referenced from: :info:build _php_parserr in dns.o :info:build _zif_dns_get_mx in dns.o :info:build "_res_9_dn_skipname", referenced from: :info:build _zif_dns_get_record in dns.o :info:build _zif_dns_get_mx in dns.o :info:build "_res_9_init", referenced from: :info:build _zif_dns_check_record in dns.o :info:build _zif_dns_get_record in dns.o :info:build _zif_dns_get_mx in dns.o :info:build "_res_9_search", referenced from: :info:build _zif_dns_check_record in dns.o :info:build _zif_dns_get_record in dns.o :info:build _zif_dns_get_mx in dns.o :info:build ld: symbol(s) not found for architecture x86_64 :info:build clang: error: linker command failed with exit code 1 (use -v to see invocation) :info:build make: *** [libs/libphp.bundle] Error 1 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_php/php84-apache2handler/work/php-8.4.0RC1' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_php/php84-apache2handler/work/php-8.4.0RC1" && /usr/bin/make -j4 -w libs/libphp.bundle :info:build Exit code: 2 :error:build Failed to build php84-apache2handler: command execution failed :debug:build Error code: CHILDSTATUS 46993 2 :debug:build Backtrace: command execution failed :debug:build while executing :debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring" :debug:build invoked from within :debug:build "command_exec -callback portprogress::target_progress_callback build" :debug:build (procedure "portbuild::build_main" line 10) :debug:build invoked from within :debug:build "$procedure $targetname" :error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_php/php84-apache2handler/main.log for details. |
其れから幾つか試してみた。
php8系は全滅かよっ!
其れでphp74(7系最終)なのか……寂しいなぁ。
再度、php74-apache2handlerをインストールし直して此れを書いている。
まぁ、動いているんなら良いよね。

