Pear CLI install on shared host

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • webguynow

    Pear CLI install on shared host

    I've installed PEAR in my local area, on my shared host, under htdocs
    but I'm anticipating a number of issues.

    I'm forcing use of PHP5 with an .htaccess file, but by default the
    host runs PHP4
    That could mean that pear is installed under the php4/ area, but not
    php5 ?

    go-pear prompted me to install a number of packages, including DB,
    which my webhost already has made available. If I do install DB using
    go-pear, which DB will take precedence?


    go-pear and pear have worked well on my local machine,
    but after using browser to run go-pear on my webhost, and also
    WebInstaller.ph p I got:

    Fatal error: Class 'PEAR_Frontend_ CLI' not found in
    /usr/local/php5/PEAR/Command.php on line 144

    I have FTP access, but not shell access.

    I've read webpages, from the following links, that seemed helpful:

    ***


    I also note pear.conf in my htdocs ( where I ran go-pear.php from
    )

    I also confer with my host, hopefully they don't have any opposition,
    to me installing locally PEAR Pkgs that they do not supply.

    Searching for solutions, any suggestions maybe helpful. Thanks

  • webguynow

    #2
    Re: Pear CLI install on shared host

    Its hard for me to believe that 1000's of other developers have not had
    this problem. And I was hoping for some support on this.

    At this point, I have 2 options
    -Continue to pursue a local installation on my WebHost's shared Server
    -Write my own Template module, which I've seen done both in PHP and
    Java

    a good example, I just saw yesterday at:

    "Writing a Template System in PHP"

    I'll review and my next post will be along these lines:
    "Smarty vs. MyOwnTemplate"

    Comment

    Working...