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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Install PHP on Apache Server

Status
Not open for further replies.

unixkid

IS-IT--Management
May 22, 2001
105
US
Have Solaris 8 server (apache comes pre-loaded) with apache up and running. How do you load PHP after the fact, the PHP web site really deals with Apache/PHP installs from scratch.
 
Just compile the php module, and then activate it on the apache server....

I would suggest something like this:
php with apache install: (apache and php src files in same directory /apache_1.x.x /php-4.0.4pl1


cd ../path/to/php-4.0.4pl1
./configure --with-prefix=/path/to/php --with-apache=../path/to/apache_1.x.x
make
make install

cd ../path/to/apache apache_1..x
./configure --activate-module=src/modules/php4/libphp4.a
make
make install

It would almost be better to remove the current apache and compile the new one...




 
maybe I missing something but when I try installing it I get:

./configure
loading cache ./config.cache
checking for a BSD compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking whether to enable maintainer-specific portions of Makefiles... no
checking host system type... sparc-sun-solaris2.8
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking for bison... no
checking for byacc... no
configure: warning: You will need bison if you want to regenerate the PHP parsers.
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top