If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > PHP > Install PHP standalone on Solaris 9

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-06-03, 15:42
sbeard99 sbeard99 is offline
Registered User
 
Join Date: Nov 2003
Posts: 2
Lightbulb Install PHP standalone on Solaris 9

Could anyone please tell me how to install PHP by itself on Solaris 9? All the instructions show it being compiled with Apache and I cant do that for our purposes. We are going to run it as CGI. Thank you.
Reply With Quote
  #2 (permalink)  
Old 12-07-03, 17:59
ika ika is offline
Registered User
 
Join Date: Oct 2003
Location: Slovakia
Posts: 482
Re: Install PHP standalone on Solaris 9

Quote:
Originally posted by sbeard99
Could anyone please tell me how to install PHP by itself on Solaris 9? All the instructions show it being compiled with Apache and I cant do that for our purposes. We are going to run it as CGI. Thank you.
Why you cant? I am asking because CGI version has lower performance.

OK first we check for DSO module possibility.

First check how is instaled the Apache server?
try execute this in shell:
/path/to/apache/bin/httpd -l
If in the result will be mod_so.c then compile PHP as DSO module.
Instalation instuctions for DSO module you can find on www.php.net or in INSTALL file in php source package.

For instalation as CGI first read this: http://www.php.net/manual/en/install.commandline.php

gunzip php-4.x.x.tar.gz
tar xvf php-4.x.x.tar
cd php-4.x.x
./configure && make && make install

modify http.conf file and add the Handler for php scripts.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On