News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Jacob Santos' Blog:
Zend Framework Hackish Include Path Solution
October 02, 2006 @ 13:18:50

Jacob Santos was having a problem with the Zend Framework. It couldn't find its own files. So, he's come up with a hack that helps mod_php users to avoid the problem.

I've had problem with Zend Framework not being able to find its files, which is usually not good. The "workaround" of adding the realpath works, but would be overwritten when updating. Besides, going through the files just to add realpath locations is a hassle.

The php_value only works with mod_php, so good luck if you are running PHP using CGI/FastCGI. Actually, you'll have no luck, because it won't work using CGI.

Essentially, it uses the ihi_set function to define the correct include path. Check out the comments of the post for some other suggestions.

0 comments voice your opinion now!
zend framework path solution hack iniset includepath zend framework path solution hack iniset includepath


blog comments powered by Disqus

Similar Posts

Fabien Potencier's Blog: Create your own framework... on top of the Symfony2 Components (part 10)

Blog.PHPDeveloper.org: Notes from the php|architect Zend Framework Webcast

Zend Developer Zone: Zend Launches Online Documentation Center

Zend Developer Zone: Zend Studio 5.5 Walkthrough

Ajax Magazine: Claw, PHP5 MVC Framework Ajaxified


Community Events

Don't see your event here?
Let us know!


introduction series language community voicesoftheelephpant interview configure api performance example opinion application conference php7 laravel part2 podcast release symfony2 framework

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework