[campsite-support] install on cgi-bin version of php
  • Hi all,

    campsite did not install on a cgi version of php, because of missing
    build-in-function apache_get_modules().

    I fixed the calling method in campsite installer, so use can continue
    installation. You can use the attached version of
    campsite/implementation/site/install/classes/CampInstallationView.php


    Best,
    Sebastian
  • 7 Comments sorted by
  • Dear list,

    I have compiled a wiki regarding installing campsite on shared hosts. I
    have tried to compile the information that has appeared thus far, as well
    as Sebastian's latest contribution (the more "permissive" install script).

    You can find the wiki here:
    http://trac.campware.org/campsite/wiki/InstallingUnderPHP-CGI

    As we have indicated before, we can't make our development priority to have
    Campsite run on every particular shared hosting setup, but we are here to
    help anybody willing to test their particular host.

    If you have any suggestions, would like to share your experiences with
    particular hosting companies, or if you spot some misinformation being
    spread about Campsite, please let us know at contactATcampwareDOTorg and
    we'll include it in the wiki.

    All the best,

    Sava
  • Hi,

    you are wonderful.
    This is NOT a complaint but I just felt a need for trying Campsite for
    one shared host environment in order to maybe add something on your
    guide. I didn't go very far since when accessing the site for install,
    I got instantly this:

    Fatal error: Call to undefined function apache_get_modules() in /home/
    luovamaa/public_html/install/classes/CampInstallationView.php on line
    219

    This is 3 lines further than it is with the previous
    CampInstallationView.php and the line 219 is the "return
    array_search..." in this function line:

    public static function CheckRewriteModule()
    {
    if (function_exists('apache_get_modules')) {
    return 'Cannot be checked';
    }
    return array_search('mod_rewrite', apache_get_modules()) !==
    FALSE ? 'Yes' : 'No';
    }

    I do not really necessarily need to install any Campsite in this
    shared host environment, so there's no rush to look at this. But just
    thought if this would give further clarity for some issues if solved.

    Sanna @ Generare


    On 23.7.2009, at 1.28, sava.tatic@mdlf.org wrote:

    > Dear list,
    >
    > I have compiled a wiki regarding installing campsite on shared
    > hosts. I
    > have tried to compile the information that has appeared thus far, as
    > well
    > as Sebastian's latest contribution (the more "permissive" install
    > script).
    >
    > You can find the wiki here:
    > http://trac.campware.org/campsite/wiki/InstallingUnderPHP-CGI
    >
    > As we have indicated before, we can't make our development priority
    > to have
    > Campsite run on every particular shared hosting setup, but we are
    > here to
    > help anybody willing to test their particular host.
    >
    > If you have any suggestions, would like to share your experiences with
    > particular hosting companies, or if you spot some misinformation being
    > spread about Campsite, please let us know at contactATcampwareDOTorg
    > and
    > we'll include it in the wiki.
    >
    > All the best,
    >
    > Sava
    >
  • The attached file was wrong. Please use this on now referenced in the wiki
    page.

    http://trac.campware.org/campsite/wiki/InstallingUnderPHP-CGI
  • Hi Sanna,

    good reason to really complain, because I uploaded an file which worked vice
    versa than wanted.

    Now there is the right file on the wiki, and I owe you a beer for my
    mistake.

    Best,
    Sebastian



    > -----Original Message-----
    > From: Generare Management Department [mailto:management@generare.com]
    > Sent: Thursday, July 23, 2009 2:56 PM
    > To: campsite-support@campware.org
    > Subject: Re: [campsite-support] Intalling on Shared Hosts wiki
    >
    >
    > Hi,
    >
    > you are wonderful.
    > This is NOT a complaint but I just felt a need for trying Campsite for
    > one shared host environment in order to maybe add something on your
    > guide. I didn't go very far since when accessing the site for install,
    > I got instantly this:
    >
    > Fatal error: Call to undefined function apache_get_modules() in /home/
    > luovamaa/public_html/install/classes/CampInstallationView.php on line
    > 219
    >
    > This is 3 lines further than it is with the previous
    > CampInstallationView.php and the line 219 is the "return
    > array_search..." in this function line:
    >
    > public static function CheckRewriteModule()
    > {
    > if (function_exists('apache_get_modules')) {
    > return 'Cannot be checked';
    > }
    > return array_search('mod_rewrite', apache_get_modules()) !==
    > FALSE ? 'Yes' : 'No';
    > }
    >
    > I do not really necessarily need to install any Campsite in this
    > shared host environment, so there's no rush to look at this. But just
    > thought if this would give further clarity for some issues if solved.
    >
    > Sanna @ Generare
    >
    >
    > On 23.7.2009, at 1.28, sava.tatic@mdlf.org wrote:
    >
    > > Dear list,
    > >
    > > I have compiled a wiki regarding installing campsite on shared
    > > hosts. I
    > > have tried to compile the information that has appeared thus far, as
    > > well
    > > as Sebastian's latest contribution (the more "permissive" install
    > > script).
    > >
    > > You can find the wiki here:
    > > http://trac.campware.org/campsite/wiki/InstallingUnderPHP-CGI
    > >
    > > As we have indicated before, we can't make our development priority
    > > to have
    > > Campsite run on every particular shared hosting setup, but we are
    > > here to
    > > help anybody willing to test their particular host.
    > >
    > > If you have any suggestions, would like to share your experiences with
    > > particular hosting companies, or if you spot some misinformation being
    > > spread about Campsite, please let us know at contactATcampwareDOTorg
    > > and
    > > we'll include it in the wiki.
    > >
    > > All the best,
    > >
    > > Sava
    > >
    >
    >
    >
    >
    >
  • Hmmm...
    now I get only the wiki site page downloaded...
    I'll try with another browser still.

    /Sanna

    On 23.7.2009, at 19.22, Sebastian Goebel wrote:

    >
    > Hi Sanna,
    >
    > good reason to really complain, because I uploaded an file which
    > worked vice
    > versa than wanted.
    >
    > Now there is the right file on the wiki, and I owe you a beer for my
    > mistake.
    >
    > Best,
    > Sebastian
    >
    >
    >
    >> -----Original Message-----
    >> From: Generare Management Department [mailto:management@generare.com]
    >> Sent: Thursday, July 23, 2009 2:56 PM
    >> To: campsite-support@campware.org
    >> Subject: Re: [campsite-support] Intalling on Shared Hosts wiki
    >>
    >>
    >> Hi,
    >>
    >> you are wonderful.
    >> This is NOT a complaint but I just felt a need for trying Campsite
    >> for
    >> one shared host environment in order to maybe add something on your
    >> guide. I didn't go very far since when accessing the site for
    >> install,
    >> I got instantly this:
    >>
    >> Fatal error: Call to undefined function apache_get_modules() in /
    >> home/
    >> luovamaa/public_html/install/classes/CampInstallationView.php on line
    >> 219
    >>
    >> This is 3 lines further than it is with the previous
    >> CampInstallationView.php and the line 219 is the "return
    >> array_search..." in this function line:
    >>
    >> public static function CheckRewriteModule()
    >> {
    >> if (function_exists('apache_get_modules')) {
    >> return 'Cannot be checked';
    >> }
    >> return array_search('mod_rewrite', apache_get_modules()) !==
    >> FALSE ? 'Yes' : 'No';
    >> }
    >>
    >> I do not really necessarily need to install any Campsite in this
    >> shared host environment, so there's no rush to look at this. But just
    >> thought if this would give further clarity for some issues if solved.
    >>
    >> Sanna @ Generare
    >>
    >>
    >> On 23.7.2009, at 1.28, sava.tatic@mdlf.org wrote:
    >>
    >>> Dear list,
    >>>
    >>> I have compiled a wiki regarding installing campsite on shared
    >>> hosts. I
    >>> have tried to compile the information that has appeared thus far, as
    >>> well
    >>> as Sebastian's latest contribution (the more "permissive" install
    >>> script).
    >>>
    >>> You can find the wiki here:
    >>> http://trac.campware.org/campsite/wiki/InstallingUnderPHP-CGI
    >>>
    >>> As we have indicated before, we can't make our development priority
    >>> to have
    >>> Campsite run on every particular shared hosting setup, but we are
    >>> here to
    >>> help anybody willing to test their particular host.
    >>>
    >>> If you have any suggestions, would like to share your experiences
    >>> with
    >>> particular hosting companies, or if you spot some misinformation
    >>> being
    >>> spread about Campsite, please let us know at contactATcampwareDOTorg
    >>> and
    >>> we'll include it in the wiki.
    >>>
    >>> All the best,
    >>>
    >>> Sava
    >>>
    >>
  • Thanks! I'll test more and I let you know if anything that the
    community can benefit.
    Our "real" Campsite is in a virtual server anyhow but it is nice to
    test this as well. Just for fun if it helps anybody. Smile

    /Sanna


    On 23.7.2009, at 19.33, Generare Management Department wrote:

    > Hmmm...
    > now I get only the wiki site page downloaded...
    > I'll try with another browser still.
    >
    > /Sanna
    >
    > On 23.7.2009, at 19.22, Sebastian Goebel wrote:
    >
    >>
    >> Hi Sanna,
    >>
    >> good reason to really complain, because I uploaded an file which
    >> worked vice
    >> versa than wanted.
    >>
    >> Now there is the right file on the wiki, and I owe you a beer for my
    >> mistake.
    >>
    >> Best,
    >> Sebastian
    >>
    >>
    >>
    >>> -----Original Message-----
    >>> From: Generare Management Department
    >>> [mailto:management@generare.com]
    >>> Sent: Thursday, July 23, 2009 2:56 PM
    >>> To: campsite-support@campware.org
    >>> Subject: Re: [campsite-support] Intalling on Shared Hosts wiki
    >>>
    >>>
    >>> Hi,
    >>>
    >>> you are wonderful.
    >>> This is NOT a complaint but I just felt a need for trying Campsite
    >>> for
    >>> one shared host environment in order to maybe add something on your
    >>> guide. I didn't go very far since when accessing the site for
    >>> install,
    >>> I got instantly this:
    >>>
    >>> Fatal error: Call to undefined function apache_get_modules() in /
    >>> home/
    >>> luovamaa/public_html/install/classes/CampInstallationView.php on
    >>> line
    >>> 219
    >>>
    >>> This is 3 lines further than it is with the previous
    >>> CampInstallationView.php and the line 219 is the "return
    >>> array_search..." in this function line:
    >>>
    >>> public static function CheckRewriteModule()
    >>> {
    >>> if (function_exists('apache_get_modules')) {
    >>> return 'Cannot be checked';
    >>> }
    >>> return array_search('mod_rewrite', apache_get_modules()) !==
    >>> FALSE ? 'Yes' : 'No';
    >>> }
    >>>
    >>> I do not really necessarily need to install any Campsite in this
    >>> shared host environment, so there's no rush to look at this. But
    >>> just
    >>> thought if this would give further clarity for some issues if
    >>> solved.
    >>>
    >>> Sanna @ Generare
    >>>
    >>>
    >>> On 23.7.2009, at 1.28, sava.tatic@mdlf.org wrote:
    >>>
    >>>> Dear list,
    >>>>
    >>>> I have compiled a wiki regarding installing campsite on shared
    >>>> hosts. I
    >>>> have tried to compile the information that has appeared thus far,
    >>>> as
    >>>> well
    >>>> as Sebastian's latest contribution (the more "permissive" install
    >>>> script).
    >>>>
    >>>> You can find the wiki here:
    >>>> http://trac.campware.org/campsite/wiki/InstallingUnderPHP-CGI
    >>>>
    >>>> As we have indicated before, we can't make our development priority
    >>>> to have
    >>>> Campsite run on every particular shared hosting setup, but we are
    >>>> here to
    >>>> help anybody willing to test their particular host.
    >>>>
    >>>> If you have any suggestions, would like to share your experiences
    >>>> with
    >>>> particular hosting companies, or if you spot some misinformation
    >>>> being
    >>>> spread about Campsite, please let us know at
    >>>> contactATcampwareDOTorg
    >>>> and
    >>>> we'll include it in the wiki.
    >>>>
    >>>> All the best,
    >>>>
    >>>> Sava
    >>>>
    >>>
  • Hi,

    thats ok, just continue. You need to make sure somehow else that apache's
    mod_rewrite is installed and enabled.

    Best,
    Sebastian


    > -----Original Message-----
    > From: Generare Management Department [mailto:management@generare.com]
    > Sent: Thursday, July 23, 2009 6:38 PM
    > To: campsite-support@campware.org
    > Subject: Re: [campsite-support] Intalling on Shared Hosts wiki
    >
    >
    > Sorry,
    >
    > it was the Safari browser making tricks.
    > Better to keep using FF!
    >
    > Now I got the install screen at once:
    >
    >