導入
http://www.yamada-lab.org/doc/win_vista/zendframework1.7/0203.htmlを行っているときに、「... failed to open stream: No such file or directory in ...」ってエラーが出てきたので、対応策をメモ。ってゆーかー↓に乗ってた。
http://code.nanigac.com/source/view/303
原因
* require_once に相対パスを使っていたため。
対応策
require_once dirname(__FILE__) . '/../models/sampleModel.php'; のように、『dirname(__FILE__)』を利用する。