Results 1 to 3 of 3

Thread: Installing Zend Framework under Shared Hosting

  1. #1
    xdallen is offline Junior Member
    Join Date
    Jan 2010
    Posts
    1

    Default Installing Zend Framework under Shared Hosting

    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.

  2. #2
    sims is offline Junior Member
    Join Date
    Feb 2010
    Posts
    13

    Default

    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.

  3. #3
    Darhazer is offline Junior Member
    Join Date
    Feb 2010
    Posts
    3

    Default

    Quote Originally Posted by xdallen View Post
    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.
    Best ask your hosting provider.

Similar Threads

  1. Installing the Zend Framework Manual
    By EvilThug in forum Installation & Configuration
    Replies: 0
    Last Post: 06-11-2010, 11:53 AM
  2. shared hosting - controllers not found
    By praethorian in forum General Q&A on Zend Framework
    Replies: 0
    Last Post: 05-18-2010, 03:46 PM
  3. Shared Hosting and Zend Framework
    By kadafiUNDEAD in forum General Talks
    Replies: 1
    Last Post: 02-28-2010, 09:54 PM
  4. Problem with 1and1 (1&1) on a shared hosting with shared ssl
    By menblack in forum Installation & Configuration
    Replies: 0
    Last Post: 12-22-2009, 07:57 PM
  5. Configuration zend framework in shared server
    By souravm in forum General Q&A on Zend Framework
    Replies: 2
    Last Post: 07-13-2009, 11:42 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •