On Sep 11, 11:45 am, sanjay dalal <
sanjaydala...@gmail.com> wrote:
> Hi,
> First install libapache2-mod-php5 php4-cgi
> Then install all PHP5 and PHP4 modules
>
> Second thing Edit DirectoryIndex from apache2.conf file and put index.php
> index.php4
>
> Add below two lines in apache2.conf file
> AddHandler php-script .php4
> Action php-scriipt /cgi-bin/php4
>
> Then restart /etc/init.d/apache2 restart
>
> Then test your page using test.php
>
> <?php
> phpinfo();
> ?>
>
> Let me know if you have any problem.
>