Page 1 of 1

Rebuild apache issues when updating php4 to 5 on Solaris

Posted: Wed Oct 29, 2008 2:02 pm
by helen123
Hello There,
I would like to install php-5.2.6 on apache-1.3.34 under solaris10, although we have php-4.3 on it already.
After installation php-5.2.6 statically, I need activate php5 module with configure apache as follows:

Code: Select all

$ cd ../apache
$ ./configure --prefix=[path of apache] --activate-module=src/modules/php5/libphp5.a
$ make
I got errors :

Code: Select all

make[4]: *** No rule to make target `all'.  Stop.
make[3]: *** [all] Error 1
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/mktg/fsa12/webserver/build_2/apache_1.3.34/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/mktg/fsa12/webserver/build_2/apache_1.3.34'
make: *** [build] Error 2
BTW, my Apache was installed at /mktg/fsa12/webserver/Apache/[bin], but src/modules was at /mktg/fsa12/webserver/build_2/apache_1.3.34[/src/modules]. Are those conflict?
Also, I would not like to rebuild apache. Is that alright?
So, is there anyone to tell me what should I do ? I will really appreciate for your helps.

Thanks,
Helen