in reply to Re: LAMP and hosting: Convenient Perl solution, similar to PHP setup?
in thread LAMP and hosting: Convenient Perl solution, similar to PHP setup?

Shared servers suck.

I've had pretty good experiences with shared hosting, as long as the server is running GNU/Linux, I can ssh in, and all I need is CGI. The problem comes in when CGI is no longer fast enough. At that point, I remember that the hosting provider has mod_php and wish there was a "Perl-equivalent" for it.

  • Comment on Re^2: LAMP and hosting: Convenient Perl solution, similar to PHP setup?

Replies are listed 'Best First'.
Re^3: LAMP and hosting: Convenient Perl solution, similar to PHP setup?
by Rhandom (Curate) on Mar 12, 2008 at 16:35 UTC
    If they have mod_php you probably don't want to host with them. mod_php is also susceptible to compromise. Most likely they are using fastcgi to run their php or using a php bytecode caching mechanism.

    my @a=qw(random brilliant braindead); print $a[rand(@a)];
Re^3: LAMP and hosting: Convenient Perl solution, similar to PHP setup?
by perrin (Chancellor) on Mar 12, 2008 at 16:59 UTC
    Are you sure they have mod_php? Many shared hosts run PHP as CGI because they don't trust the security of mod_php in a shared environment.

      Rhandom wrote

      Most likely they are using fastcgi to run their php or using a php bytecode caching mechanism.

      and you wrote

      Are you sure they have mod_php? Many shared hosts run PHP as CGI because they don't trust the security of mod_php in a shared environment.

      No, I'm not sure. Really? PHP as CGI? I'd just assumed that mod_php was being used. Thank you both. The sites I've dealt with were pretty quick and were getting a fair amount of traffic, and since it was php, I'd just assumed that they running with mod_php. I'll have to make some inquiries to hosting providers. I'd be very curious to know if they're using fastcgi for php, and if I could take advantage of it using Perl.

      Perhaps shared hosting setups offering fastcgi are more common than I'd thought?

        Ruby on Rails is driving an increased demand for FastCGI. You should be able to find a host offering it without much trouble.