PHP 5.2から5.3に変わるとき,いくつかのextensionsがCoreにincludeされるようになったため,他のアプリケーションのインストールの際にトラブル発生.
以下で対処.
See: http://forums.freebsd.org/showthread.php?t=13191
ほか,/usr/local/etc/php/extensions.iniから以下を削除
1 extension=pcre.so
2 extension=spl.so
http://www.freebsd.org/releases/8.1R/announce.html を参考にUpgradeしました.
# freebsd-update upgrade -r 8.1-RELEASE
# freebsd-update install
# shutdown -r now
# freebsd-update install
# portupgrade -arRy
# freebsd-update install
# shutdown -r now
301エラーを返すと,検索エンジン側も対処してくれる模様.
結局,NameVirtualHostを設定し,RedirectMatch permanent /(.*) http://新ドメイン/$1で終了.
update wp_posts set post_content=replace(post_content,'古いURL','新しいURL')
update wp_posts set guid=replace(guid,'古いURL','新しいURL')
update wp_options set option_value=replace(option_value,'古いURL','新しいURL')
を実行.ただし,wp_optionsは一部不具合が発生した(ウィジェットのRSSが消える)ので,手動で変更.
This page was produced by Jun INABA. HTML convert time: 0.287 sec. TOP of this page.
j-inb.net is proudly powered by WordPress 3.3.1. © Jun INABA, all rights reserved.