Web Design Tutorials Made Easy


PHP Include Hell

With Microsoft Windows applications you have something called “dll hell”. Anyone who has tried to deploy a app knows what I am talking about when I say “dll hell”. PHP has its own version of “dll hell” called “include hell”. “Include hell” comes when you are including multiple versions of a particular php file in one php script that wants a particular version, this usually happens with PEAR, for example; a older version is installed by the host and included in php.ini; the customer rolls their own version of PEAR and includes in it via .htaccess; and a package comes with its own version of PEAR and includes it by file. Thus we have three different versions of PEAR floating around and causing function creation errors.

Read the rest of this entry »


Categories
Archives