Dear list, I am now confused and need some enlightenment. I am trying to have php 5.2.7 as cgi module so that when require.. I can also use php 5.2 with some old php sites on this debian 6.0 server. I am following http://blog.davejamesmiller.com/2011/03/how-to-install-php-5-2-fastcgi-on-debian-6-0-squeeze
I have done all the steps as described with a little modification of file path. *activating modele* ` ` ` ` # a2enmod actions fastcgi Module actions already enabled Module fastcgi already enabled ` ` ` ` and restart apache *PATH: during compilation I have used* [.....] ./configure \ --prefix=/usr/local/bin/php5.2 \ --with-config-file-path=/usr/local/bin/php5.2 \ [.....] and at /etc/apache/php52.conf ` ` ` ` ScriptAlias /php5-cgi /usr/lib/cgi-bin/php52/php5-cgi Action application/x-httpd-php5 /php5-cgi ` ` ` ` ` I have /usr/lib/cgi-bin/php52/php5-cgi having +x permission ` ` ` ` #!/bin/sh export PHP_FCGI_CHILDREN=4 export PHP_FCGI_MAX_REQUESTS=200 exec /usr/local/bin/php5.2/bin/php-cgi ` ` ` ` I have placed ` ` ` ` Include /etc/apache/php52.conf ` ` ` ` at /etc/apache.conf and restarted apache but the phpinfo still shows php version 5.3 !!!! Obviously if I check manually the compiled php; I get correct version ` ` ` ` /usr/local/bin/php5.2/bin/php -v PHP 5.2.17 (cli) (built: Nov 2 2011 12:26:58) Copyright (c) 1997-2010 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies ` ` ` ` and ` ` ` ` # /usr/local/bin/php5.2/bin/php-cgi -v PHP 5.2.17 (cgi-fcgi) (built: Nov 2 2011 12:26:51) Copyright (c) 1997-2010 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies ` ` ` ` I am messed up now.. What cause apache to call the installed php ? Any clue please ? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20111102172453.487e4...@shiva.selfip.org