Warning: require() [function.require]: open_basedirのエラーについて
-
レンタルサーバーの簡単インストールでWordpressをインストールし、
wp-configのデバッグモードで確認したところ、下記のようなエラーが多数表示されました。
管理画面とサイトはちゃんと表示されています。Warning: require() [function.require]: open_basedir restriction in effect. File() is not within the allowed path(s): (/home/***/***/usr/share/pear53/) in /home/***/***/public_html/wp/wp-settings.php on line 64
Warning: require() [function.require]: open_basedir restriction in effect. File() is not within the allowed path(s): (/home/***/***/usr/share/pear53/) in /home/***/***/public_html/wp/wp-settings.php on line 65
Warning: require() [function.require]: open_basedir restriction in effect. File() is not within the allowed path(s): (/home/***/***/usr/share/pear53/) in /home/***/***/public_html/wp/wp-includes/functions.php on line 8
Warning: require() [function.require]: open_basedir restriction in effect. File() is not within the allowed path(s): (/home/***/***/usr/share/pear53/) in /home/***/***/public_html/wp/wp-settings.php on line 66
Warning: require() [function.require]: open_basedir restriction in effect. File() is not within the allowed path(s): (/home/***/***/usr/share/pear53/) in /home/***/***/public_html/wp/wp-settings.php on line 67
WordPressをインストールしたばかりで、プラグインはデフォルトのAkismet、Hello Dolly、WP Multibyte Patch(すべて停止)、テーマはTwenty Thirteenです。
レンタルサーバーのサポートに問い合わせたところ、
「WordPressの公式サイトなどから完全に手を加えられていない
WordPressのデータを入手していただきまして、
「wp-settings.php」などエラーが発生しているファイルに対して
上書きして、動作をお試しくださいますでしょうか。」という回答を頂いたので、念のためwp-config.phpとwp-contentフォルダ以外を削除し、ダウンロードしたWordPress3.6のデータを手動でアップし直しましたが、同じエラーが出てしまいます。
フォーラムの「open_basedirのエラーに関して」の記事を参考に、
debug.logにログを取りましたが、fatal と parse エラーは見つかりません。
ファイルがインクルードできているかもチェックしましたが、ディスプレイには「ok」の表示がされました。
(.htaccessによるopen_basedirの無効化は、やり方を調べてもわからなくて試してません。)管理画面とサイトは表示されてるので見ることはできますが、エラーに対してどう対処すればいいでしょうか?
よろしくお願いいたします。条件は下記の通りです。
wordpress : 3.6
PHP : 5.3.3
MySQL : 5.0.77
サーバー : スターサーバープラス
ブラウザ : Firefoxサーバーで使えるPHP関数は一部制限があります。
スタードメイン:PHPの仕様について(※スターサーバープラスのみ)
- トピック「Warning: require() [function.require]: open_basedirのエラーについて」には新たに返信することはできません。