Summary: PHP4

From: Chewy <chewy_at_slamon.com>
Date: Thu, 24 Aug 2000 10:02:34 +0100

Right then.
A few people suggested a number of things, but in the end, all I needed to
do was download php4.0.0.
The latest version worked with everything except oracle, which was what I
really needed.
Also, installing gnu make, and autoconf, automake, flex, bison and libtool
may have helped.
gnu make will work for an apxs dynamic version, if you're not using oci8.
Otherwise, just follow the instructions on php.net
Thanks again to everyone who mailed me.




> Quoting Chewy <chewy_at_slamon.com>:
>
> > Has anyone installed PHP4 under Tru64 5.0a? I'm
> compiling as a static
> > binary, because apxs keeps returning things
> like 'APXS cannot be found'.
> > It seems it needs some weird switches. If anyone has
> a workaround, I'd
> > rather be using APXS, but on to the current problem.
> > When I compile php as a static binary, it goes more
> or less ok, and says
> > 'fine, done'
> > When I go to build apache, it complains that it can't
> find some include
> > files, so I add the include files, and things go ok
> until the end, where I
> > get:
> >
> > cc -c -I./os/unix -I./include -
> I/usr/local/include/php/Zend
> > -I/usr/local/in
> > clude/php/main -I/usr/local/include/php -DOSF1 -
> DUSE_HSREGEX -DUSE_EXPAT
> > -I
> > ./lib/expat-lite -DNO_DL_NEEDED modules.c
> > cc -c -I./os/unix -I./include -
> I/usr/local/include/php/Zend
> > -I/usr/local/in
> > clude/php/main -I/usr/local/include/php -DOSF1 -
> DUSE_HSREGEX -DUSE_EXPAT
> > -I
> > ./lib/expat-lite -DNO_DL_NEEDED buildmark.c
> > cc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-
> lite -DNO_DL_NEEDED
> >
> > -o httpd buildmark.o modules.o modules/php4/libphp4.a
> > modules/standard/libstandard.a
> main/libmain.a ./os/unix/libos.a
> > ap/libap.a regex/libregex.a lib/expat-
> lite/libexpat.a -lm
> > ld:
> > Unresolved:
> > modphp4_module
> > *** Exit 1
> > Stop.
> >
> > This is after the php module has (allegedly)
> compiled, with a couple of
> > warnings, namely:
> > cc: Warning: mod_php4.c, line 334: In this
> declaration, "sapi_module" is
> > declared with both internal and external linkage.
> The previous declaration
> > is at line number 59 in
> file /usr/local/include/php/main/SAPI.h.
> > (mixlinkage)
> > static sapi_module_struct sapi_module = {
> > --------------------------^
> > cc: Warning: /usr/local/src/php-
> 4.0.1pl2/Zend/zend_execute.h, line 174:
> > There is no function named
> zend_assign_to_variable_reference defined in
> > this
> > compilation unit. (nofunc)
> > ZEND_API inline void zend_assign_to_variable_reference
> (znode *result, zval
> > **variable_ptr_ptr, zval **value_ptr_ptr,
> temp_variable *Ts ELS_DC)
> > ---------------------^
> > cc: Warning: /usr/local/src/php-
> 4.0.1pl2/Zend/zend_execute.h, line 131:
> > There is no function named zend_ptr_stack_get_arg
> defined in this
> > compilation unit. (nofunc)
> > ZEND_API inline int zend_ptr_stack_get_arg(int
> requested_arg, void **data
> > ELS_DC)
> > --------------------^
> > cc: Warning: /usr/local/src/php-
> 4.0.1pl2/Zend/zend_execute.h, line 115:
> > There is no function named
> zend_ptr_stack_clear_multiple defined in this
> > compilation unit. (nofunc)
> > ZEND_API inline void zend_ptr_stack_clear_multiple
> (ELS_D)
> > ---------------------^
> > cc: Warning: /usr/local/src/php-
> 4.0.1pl2/Zend/zend_execute.h, line 71:
> > There
> > is no function named i_zend_is_true defined in this
> compilation unit.
> > (nofunc)
> > ZEND_API inline int i_zend_is_true(zval *op)
> > --------------------^
> > cc: Warning: /usr/local/src/php-
> 4.0.1pl2/Zend/zend_execute.h, line 57:
> > There
> > is no function named safe_free_zval_ptr defined in
> this compilation unit.
> > (nofunc)
> > ZEND_API inline void safe_free_zval_ptr(zval *p)
> > ---------------------^
> > cc: Warning: /usr/local/src/php-
> 4.0.1pl2/Zend/zend_operators.h, line 61:
> > There is no function named is_numeric_string defined
> in this compilation
> > unit. (nofunc)
> > ZEND_API inline int is_numeric_string(char *str, int
> length, long *lval,
> > double *dval)
> > --------------------^
> >
> >
> > If anyone has any ideas or has worked around this
> before, I'd love to hear
> > some possible solutions.
> > Thanks in advance.
> >
> >
>
>
> -------------------------------------------------------------
> This mail sent through myiris: http://mail.myiris.com/
Received on Thu Aug 24 2000 - 09:03:07 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:41 NZDT