PEAR breaks on upgrading to PHP5

From DreamHost
Revision as of 17:23, 4 August 2005 by Geeksam (Talk | contribs)

Jump to: navigation, search

After enabling PHP5 using the control panel, I found that my web application didn't work. Scary!

Turns out that DreamHost's installation of PHP5 has a different include path than PHP4 did, so you have to tell it where to find the PEAR libraries. To fix this, add this in your PHP configuration file:

	get_include_path() . 
	PATH_SEPARATOR . '/usr/local/lib/php'

--Sam LG 17:22, 4 Aug 2005 (PDT)