News Feed
Sections




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

Cal Evans' Blog:
set_include_path() failing
February 14, 2008 @ 15:09:38

Cal Evans came up against a problem earlier in his development work - issues when he was trying to get his old include path.

What you SHOULD get back is a string describing your old include path. If you get false, you have hit the problem I hit last night. I went so far as to recompile 2 difference versions of Apache thinking (almost correctly) that it was something that had changed in my Apache config files.

If you're one of the "falsers" out there, check out the rest of his post of his solution around the problem. His problem stemmed from his trying to reassign a php_admin_value (instead of php_value where the script could override it) setting, specifically the one for the include_path.

He also points out that Zend Framework users might keep an eye out for this problem too as the Zend_Loader package changes the include path at times.

1 comment voice your opinion now!
include path setincludepath fail phpvalue phpadminvalue


blog comments powered by Disqus

Similar Posts

DevShed: Finding Paths, Timestamps and More with the DirectoryIterator Class in PHP

PHPImpact Blog: Where is the include coming from?

Daniel Hofstetter's Blog: Use components from the Zend Framework with CakePHP

DevShed: Validating URL Protocols, Hosts and Paths with Filters in PHP 5

Jaisen Methai's Blog: Stop including class files and use __autoload() instead


Community Events





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


series development introduction community release symfony zendserver interview tips list api deployment laravel framework language conference podcast code threedevsandamaybe bugfix

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