Ingent

Ingent Network

  • Login
  • Register

Language

  • English
  • Español
  • Català

RSS Feeds

  • Network
  • Modules
    • Easy invoices with Haltr
    • System management with Initr
  • Blog

Posts tagged debian

2012 business presentation

Feb 6th

Posted by David Escala in products

No comments

Presentation of our products in the Primer Simpòsium that took place in Vilafranca del Penedès, Barcelona, the 3th of February of 2012. The contents are in Catalan.

Presentació Ingent Network

View more presentations from d3scala.

PHP4 and PHP5 in Debian Squeeze

Nov 7th

Posted by Lluís in system administration

1 comment

One of out clients needs a PHP4 stack to run legacy web applications. We use Debian and we do not want to replace Squeeze’s PHP5, as many other Debian-packaged applications like squirrelmail or PhpMyAdmin need it. Our solution is to run PHP4 through fcgid.

PHP4 as CGI

In order to install php4-cgi we choose to add the amazing debian snapshots archive to apt sources.list. This gives us access to old Debian packages (there are other methods).

cat /etc/apt/sources.list.d/etch.list
# installed from http://snapshot.debian.org/package/php4/
deb http://snapshot.debian.org/archive/debian/20070612T000000Z lenny main

install php4 normally

apt-get update
apt-get install php4-cgi php4-cli php4-common php4-curl php4-dev php4-domxml php4-gd php4-imap php4-mcal php4-mcrypt php4-mysql

to configure an Apache VirtualHost to use PHP4 instead of PHP5 add this configuration:

<VirtualHost ...>
    (...)

  # PHP4
  <FilesMatch "\.ph(p3?|tml)$">
    Options ExecCGI FollowSymLinks
    SetHandler fcgid-script
    FCGIWrapper /usr/bin/php-cgi .php
  </FilesMatch>

</VirtualHost>
    • Recent comments
    • Archives
    • Tags
    • Categories
    • b2b (1)
    • products (1)
    • system administration (11)
    accounting b2b backscatting bandwidth centos cloud debian desktop exchange internet explorer iowait java kvm linux mdadm migration munin p2v passenger peppol performance php postfix products raid raid5 rdp ruby on rails server services shorewall terminal server tmpfs traffic virtualization windows wine workstation
    • March 2012 (2)
    • February 2012 (2)
    • January 2012 (1)
    • December 2011 (1)
    • November 2011 (3)
    • October 2011 (2)
    • August 2011 (2)
    • Ahlonko: Nice Post ...It's gonna save me lot of time. THANK
    • windows_7: Ante la próxima desaparición de Windows XP, la necesidad de las empresas de migrar a Windows 7 se h...
    • Lluís: Hi Philip, thanks for this point, updated post!
    • Philip Helger: Hi! There's a little typo in this page. The generated DNS names should start with upperbase "B"...
Copyright © 2021 Ingent RSS Feeds