I'm not familiar with how your host has ZF setup. However, I don't think you can "unload" ZF from your host. You may have to write some PHP that "unloads" from scope. Not sure if that is possible. I'll let some PHP pro comment on that one.
Dear all,
The shared hosting has a Zend Framework (an old version) under PEAR.
In the project, I would like to place a 1.9.7 version under my own project (includes/lib/Zend).
However, when I try to require_once('includes/lib/Zend/Db.php');
and run Zend_Db::factory();
Fatal error: Cannot redeclare class Zend_Db in /lib/php/pear/Zend/Db.php
What should I do in order to unload the Zend Framework under PEAR?
Thank you very much.
I'm not familiar with how your host has ZF setup. However, I don't think you can "unload" ZF from your host. You may have to write some PHP that "unloads" from scope. Not sure if that is possible. I'll let some PHP pro comment on that one.