Pages

Categories

Archives

Meta

To install PHP CGI,

> Connect through SSH and root to the server :
> Install php with the following :

% vinstall php(enter version here)-cgi

> Select the extension that are required
> Please make sure you only select the appropriate extensions
> At any point of time, you may edit php.ini file and add the exntensions
> It is always advisable to upgrade to the recent version
> PHP CGI on VPS Hosting package is installed at ~/usr/local/bin/php

% cd ~/www/cgi-bin

% ln ../../../bin/php.cgi php

> Also, you can make the following changes to httpd.conf file :

Changes in the directory file in order to include PHP CGI

> Also, add the lines so that all files and extensions will be redirected to PHP CGI executables :

for e.g.

Action php4-script /cgi-bin/php
AddHandler php4-script .php .php3 .php4 .phtml

> Restart the VPS by running restart_apache

> In order to check PHP installation, create the following :

~/www/htdocs/test.php(Version) and you may view it in the web browser

phpinfo();
?>

This is how to install PHP CGI on linux vps hosting

2 Comments »


  1. Pillspot.org. Canadian Health&Care.No prescription online pharmacy.Best quality drugs.Special Internet Prices. Online Pharmacy. Buy pills online

    Buy:Prozac.SleepWell.Female Pink Viagra.Female Cialis.Lipothin.Seroquel.Cozaar.Advair.Lasix.Zocor.Acomplia.Buspar.Wellbutrin SR.Zetia.Lipitor.Nymphomax.Benicar.Ventolin.Aricept.Amoxicillin….

    Trackback by CHRIS — July 15, 2010 @ 10:49 pm

  2. greece http://dfashionylz.01DODGEPARTS.US/tag/r2+greece+fashion/ : r2…

    r2…

    Trackback by r2 — August 30, 2010 @ 3:01 am

RSS feed for comments on this post. TrackBack URL

Leave a comment