note 86677 added to faq.installation
| From: | hexp11 at yahoo dot ca | Date: | Wed, 29 Oct 2008 15:13:45 +0000 |
| Subject: | note 86677 added to faq.installation | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-145927@lists.php.net to get a copy of this message | ||
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
----
Server IP: 209.41.74.194
Probable Submitter: 199.82.243.71 (proxied: 199.81.243.50)
----
Manual Page -- http://www.php.net/manual/en/faq.installation.php
Edit -- https://master.php.net/note/edit/86677
Del: integrated -- https://master.php.net/note/delete/86677/integrated
Del: useless -- https://master.php.net/note/delete/86677/useless
Del: bad code -- https://master.php.net/note/delete/86677/bad+code
Del: spam -- https://master.php.net/note/delete/86677/spam
Del: non-english -- https://master.php.net/note/delete/86677/non-english
Del: in docs -- https://master.php.net/note/delete/86677/in+docs
Del: other reasons-- https://master.php.net/note/delete/86677
Reject -- https://master.php.net/note/reject/86677
Search -- https://master.php.net/manage/user-notes.php