note 86677 rejected from faq.installation by danbrown
| From: | danbrown@php.net | Date: | Wed, 29 Oct 2008 15:15:21 +0000 |
| Subject: | note 86677 rejected from faq.installation by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-145928@lists.php.net to get a copy of this message | ||
Note Submitter: hexp11 at yahoo dot ca
----
Someone else installed Php4.3 with Apache1.3.34 on Solaris10 before. Now, I would like to install
php5.2.6 on it without reinstalling Apache. Also, I would like both Php4 and Phe5 worked well. So, I
took statically way.
/*********install php5********************/
gunzip -c php5.2.6.tar.gz | tar xf -
cd php5.2.6
./configure --prefix=/webserver/php5.2.6/local --with-libxml-dir=//webserver/php5.2.6/local
--with-config-file-with=/webserver/php5.2.6/local/bin --disable-cli --with-apache=[path of unziped
apache1.3.34](Is that right for this configure?)
make
make install
/*************************************/
/****activate php5 module ****************/
cd apche1.3.34
./configure --prefix=[path with httpd.conf or httpd.h?(I tried both, does not work.)]
--activate-module=src/modules/php5/libphp5.a
/************************************/
Here I got issues as follows:
mod_php5.c:976: warning: (near initialization for `php_commands[0]')
mod_php5.c:976: warning: excess elements in scalar initializer
mod_php5.c:976: warning: (near initialization for `php_commands[0]')
..............
mod_php5.c:1016: warning: (near initialization for php5_module')
mod_php5.c:1016: warning: data definition has no type or storage class
../../include/http_conf_globals.h:42: error: storage size of `ap_bind_address' isn't known
../../include/http_conf_globals.h:75: error: storage size of `ap_server_root' isn't known
../../include/http_conf_globals.h:76: error: storage size of `ap_server_confname' isn't
known
../../include/http_conf_globals.h:86: error: storage size of `ap_coredump_dir' isn't known
make[4]: *** [mod_php5.o] Error 1
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
/***********************************************/
I tried to reactivate php5 module, but I could not.
Is there someone who can tell me what's going on with this? I am at a loss what to do.
Thanks in advance.
Helen