Comments on How To Use PHP 4.4.9 (FastCGI) With Apache & ISPConfig 3 (Debian Wheezy)
Since ISPConfig 3.0.5, it is possible to use multiple PHP versions on one server and select the optimal PHP version for a website. If you have some very old websites on your server, they might not work with PHP5, but only with PHP4. This tutorial shows how to build PHP 4.4.9 as a FastCGI version for use with Apache2 on a Debian Wheezy server. This PHP version can be used together with the default PHP (installed through apt) in ISPConfig.
15 Comment(s)
Comments
Don't use PHP 4 on a web server accessible to the internet, though. There have been no security patches released for over 9000 years now, so it will be exploited.
to patch php-4.4.9 with openssl-1.0.x
http://wg.drive.ne.jp/rose/tips_php449_openssl_101j/
hi,
this script does not work for me, stops after /configure command with:
configure: error: libjpeg.(a|so) not found.
when I try to compile the make file:
It works for me fine.
If you have a problem with libjpeg.so, try to find it in your system
# find / -name libjpeg.so
If you use i386 version of your OS, then your path will be /lib/i386-linux-gnu
Good morning,
Do you have a kind of uninstall? Right now the shell defaults to 4.4.9 instead of 5.4.
Within ispconfig this is not a problem, but when using phpmyadmin I can't change the upload_max settings..
worked on wheezy.
I had to install this:
apt-get install libjpeg8-dev
apt-get install libpng12-dev
apt-get install freetype2
apt-get install libfreetype6-dev
apt-get install libmcrypt-dev
apt-get install libmysqlclient-dev
apt-get install libexpat-dev
Addition for the APC part:
if the phpize command fails, you should add this:
apt-get install autoconf
this is required by phpize.
I use - 32bit debian 7 (3.2.0-4-686-pae #1 SMP Debian 3.2.65-1+deb7u1 i686 GNU/Linux)
Unfortunately I get for "./configure \ ..." getting this message:configure: error: Kerberos libraries not found. Check the path given to --with-kerberos (if no path is given, searches in /usr/kerberos, /usr/local and /usr ) All paths are correct, soft links set in all possible directions.the installation of php 5.3 went well. About a tip I can still check I am grateful.
Thank you for this guideline.
By the way, you should never set ttl=0 for APC. It makes it useless.
http://stackoverflow.com/questions/3723316/what-is-causing-unable-to-allocate-memory-for-pool-in-php/12146046#12146046
A very nice step-by-step tutorial for newbies. Thank you. How do the "AddHandler" and "Action" statemets have to look in this scenario? Thanks in advance T.J.
Very usefull, it works for me fine on Debian jessie.
I get this error
configure: error: Cannot find OpenSSL's
I check the SSL installation, /usr/local/openssl-0.9.8 exists but if i want to ./configure then he give me this error
Does everyone know this error and have an Solution.. i search in the Web for fixes but nothing help.
How it works with jessie? Error 500
Can someone please do this guide for CentOS 7.3?
patched version of php-4.4.9 supporting openssl 1.1.x + suhosin + code optimization and security error free with gcc9+
performance is the same as php7
https://github.com/ROBERT-MCDOWELL/php-legacy-with-last-openssl