Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Add PHP as CGI to PHP as Module 1

Status
Not open for further replies.

Sleidia

Technical User
Joined
May 4, 2001
Messages
1,284
Location
FR
Hello,

I already have PHP as an Apache module installed on Redhat, but I would like to know how to add the CGI version of PHP without messing with the already installed version.

I've seen plenty of tutorials that explain hwo to make a fresh install of the CGI version but I'm affraid to damage the module version.

Any info would be great.
Thank you :) !!!
 
Are you sure you don't have it installed already?

//Daniel
 

Hello danielhozac , yes, I'm sure.
 
So you didn't use the RPM, but rather compiled from source and explicitly used the option to *not* install the CGI version?

//Daniel
 
Hello again,

PHP was already installed when I got the new server and the interpreter isn't there. So I assume it was installed without the CGI option enabled.

 
Then the easiest way would probably be to install PHP with a prefix of [tt]/usr/local/php[/tt] or similar, just make sure that the directory doesn't exist already.

//Daniel
 
Ah, thanks Daniel, I didn't knew it was that simple :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top