开发者

require_once of certain file works on local windows, not on dev linux machine

I'm trying to integrate Goutte http://github.com/fabpot/Goutte into my existing symfony 1.4 project and am running into a problem.

I have everything working on my local wamp server, here are the two lines in question:

require_once('path_to_goutte.phar');
$client = new Goutte\Client();

Now to debug I've put a print statement before and after the require_once statement an开发者_StackOverflow社区d the second print statement doesn't get fired off. No error logs are generated - the error is silent and very frustrating.

Any ideas as to why this might be happening?


"No error logs" is something that should be fixed! Check your php configuration (the php;ini file). Is the log_errors setting set to on?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜