DreamhostにPimcoreインストール

気になったのでPimcoreをインストールしてみた。

インストレーションガイドの流れで特に問題なしやけど、WEBインストーラ起動すると
環境チェックで弾かれるのでDreamhost側で
PHP modeはPHP 5.3 fast modeに変更。

いやー、全然使い方分からんが、これからすな。

で、インストレーションガイドの流れで設定したcronがエラーを吐くので調べたところ、

chdir(__DIR__)

でこけている模様。__DIR__がphp5.3からとのことやけど、なんでやろ?

まあ、

$current_dir = dirname(__FILE__);
chdir($current_dir);

として回避した。
エラーは返さなくなったけど、実行できてんのやろか。
アップデートの度に更新せなならんのかな。

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です

To respond on your own website, enter the URL of your response which should contain a link to this post's permalink URL. Your response will then appear (possibly after moderation) on this page. Want to update or remove your response? Update or delete your post and re-enter your post's URL again. (Find out more about Webmentions.)