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);

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

コメントを残す

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

Your post must include a link to this post.

How does this work?
Write a response on your own website and include a link to this post. Then submit your response’s URL here. Your response may appear here after moderation. To update or remove it, edit or delete your original post and submit the same URL again. Learn more about Webmentions.