php-install Digest 28 Aug 2002 03:25:53 -0000 Issue 996
Topics (messages 8228 through 8233):
Re: php 4.2.2, apache 2.0.40 make problem from source
8228 by: Rasmus Lerdorf
installation problem
8229 by: Jon Miller
Install Problems on Sol 9, Apache 1.3.26, PHP 4.2.2
8230 by: kawaii ryuko
AIX4.3 and PHP4
8231 by: eelco
W2K/PHP4.2.2
8232 by: Peska Robert
At last ...
8233 by: Klerman Gutierrez
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
Why don't you just grab the latest CVS (unstable) snapshot from
snaps.php.net? The Apache API changed in 2.0.39/40 so PHP 4.2.x will not
build cleanly against it. This is fixed in 4.3-dev
-Rasmus
On Mon, 26 Aug 2002, Gilberto J. Palau wrote:
> Well my problem is different but here it goes to see if any you guys can
> crack it.
>
> First I go to my source directory for apache and I do this:
>
> make clean
> make distclean
> ./configure --prefix=/usr/local/www --enable-module=so
> make
> make install
>
> Now apache 2.0 is installed right where I want it. Now to PHP 4.2.2:
>
> make clean
> make distclean
> ./configure --with-mysql --with-apxs2=/usr/local/www/bin/apxs
> make
> (when the make finishes it has this last lines in an error)
>
> make[3]: *** [sapi_apache2.lo] Error 1
> make[3]: Leaving directory `/usr/local/src/php-4.2.2/sapi/apache2filter'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/local/src/php-4.2.2/sapi/apache2filter'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/src/php-4.2.2/sapi'
> make: *** [all-recursive] Error 1
>
> make install
> (I get another error when the make install is done)
>
> sapi_apache2.c: In function `php_register_hook':
> sapi_apache2.c:534: warning: passing arg 3 of `ap_register_output_filter'
> makes pointer from integer without a cast
> sapi_apache2.c:534: too few arguments to function
> `ap_register_output_filter'
> sapi_apache2.c:535: warning: passing arg 3 of `ap_register_input_filter'
> makes pointer from integer without a cast
> sapi_apache2.c:535: too few arguments to function `ap_register_input_filter'
> make[3]: *** [sapi_apache2.lo] Error 1
> make[3]: Leaving directory `/usr/local/src/php-4.2.2/sapi/apache2filter'
> make[2]: *** [install-recursive] Error 1
> make[2]: Leaving directory `/usr/local/src/php-4.2.2/sapi/apache2filter'
> make[1]: *** [install-recursive] Error 1
> make[1]: Leaving directory `/usr/local/src/php-4.2.2/sapi'
> make: *** [install-recursive] Error 1
>
>
> When this is done, I DON'T have php installed and it gives me bunch of
> errors. I am stuck here and I don't know what to do. I am running RedHat
> Linux 7.3 on a Dual P3 1Ghz/768Mb Ram PC.
>
> Any help on this, or suggestions... I know PHP 4.2.2 is sketchy on apache
> 2.0, but I would like to try my best to get it running as I know there are a
> few people here that have gotten it working.
> If youcan reply here or to my e-mail at [EMAIL PROTECTED]
>
> ____________
> "Alex Stinson" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > hey, i have a small problem, and i'm not exactly sure how to work around
> it
> > involving php4.2.2, and apache 2.0.40
> >
> > uname -a:
> > FreeBSD wsip68-15-48-50.ri.ri.cox.net 4.6-RELEASE FreeBSD 4.6-RELEASE #0:
> > Tue Jun 11 06:14:12 GMT 2002
> > [EMAIL PROTECTED]:/usr/src/sys/compile/GENERIC i386
> >
> > The result of running make after configuring an almost clean source
> > (modifyed only the AP_MODULE_MAGIC code that needs to be changed to work
> > with apache2) with the following:
> > ./configure --with-tsrm-pth --with-mysql --with-apxs2=/usr/www/bin/apxs
> > everything worked fine until i upgraded to apache 2.0.40 (actually, just
> > removed the entire /usr/www directory after a problem)...
> >
> > Making all in apache2filter
> > /bin/sh /usr/php-4.2.2/libtool --silent --mode=compile gcc -I.
> > -I/usr/php-4.2.2/sapi/apache2filter -I/usr/php-4.2.2/main -I/usr/php-4.2.2
> > -I/usr/www/include -I/usr/php-4.2.2/Zend -I/usr/php-4.2.2/ext/mysql/libmys
> ql
> > -I/usr/php-4.2.2/ext/xml/expat -D_REENTRANT -D_THREAD_SAFE
> > -I/usr/php-4.2.2/TSRM -I/usr/local/include -DTHREAD=1 -g -O2 -pthread -DZT
> S
> > -prefer-pic -c sapi_apache2.c
> > sapi_apache2.c: In function `php_register_hook':
> > sapi_apache2.c:534: warning: passing arg 3 of `ap_register_output_filter'
> > makes pointer from integer without a cast
> > sapi_apache2.c:534: too few arguments to function
> > `ap_register_output_filter'
> > sapi_apache2.c:535: warning: passing arg 3 of `ap_register_input_filter'
> > makes pointer from integer without a cast
> > sapi_apache2.c:535: too few arguments to function
> `ap_register_input_filter'
> > *** Error code 1
> >
> > Stop in /usr/php-4.2.2/sapi/apache2filter.
> > *** Error code 1
> >
> > Stop in /usr/php-4.2.2/sapi/apache2filter.
> > *** Error code 1
> >
> > Stop in /usr/php-4.2.2/sapi.
> > *** Error code 1
> >
> > Stop in /usr/php-4.2.2.
> >
> >
> > _________________________________________________________________
> > Send and receive Hotmail on your mobile device: http://mobile.msn.com
> >
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--- End Message ---
--- Begin Message ---
I'm trying to install php-4.1.2-7.1.3.i386.rpm and it appears it requires all sort of
dependencies such as imap, imap-devel, freetype, freetype-devel , etc. Is there a
list that shows exactly what is needed.
Jon L. Miller, MCNE, CNS
Director/Sr Systems Consultant
MMT Networks Pty Ltd
http://www.mmtnetworks.com.au
"I don't know the key to success, but the key to failure
is trying to please everybody." -Bill Cosby
--- End Message ---
--- Begin Message ---
Hi!
I have been struggling with getting PHP 4.2.2 to load with Apache 1.3.26 for
a few days now, and after searching through the archives to find that others
have had this problem (yet I couldn't find any replies in the archives), I
thought I might ask myself. :) I'm hoping for better luck.
I have Apache 1.3.26, running on Solaris 9. I compiled and installed PHP
with no problems.
When I start Apache, it gives the following error:
Syntax error on line 249 of /etc/apache/httpd.conf:
Cannot load /usr/apache/libexec/libphp4.so into server: ld.so.1:
/usr/apache/bin/httpd: fatal: relocation error: file
/usr/apache/libexec/libphp4.so: symbol __cmpdi2: referenced symbol not found
Help?
I've attached some additional information at the end of the email. If anyone
needs anymore information, please let me know. Thanks!
Ever lovable and always scrappy,
kawaii
"Raise the Dour Roger!" - Rob
[/home/kawaii] (8:31)>ldd -r /usr/apache/libexec/libphp4.so
libdl.so.1 => /usr/lib/libdl.so.1
libpam.so.1 => /usr/lib/libpam.so.1
libz.so.1 => /usr/lib/libz.so.1
libcrypt_i.so.1 => /usr/lib/libcrypt_i.so.1
libresolv.so.2 => /usr/lib/libresolv.so.2
libm.so.1 => /usr/lib/libm.so.1
libnsl.so.1 => /usr/lib/libnsl.so.1
libsocket.so.1 => /usr/lib/libsocket.so.1
libc.so.1 => /usr/lib/libc.so.1
libcmd.so.1 => /usr/lib/libcmd.so.1
libgen.so.1 => /usr/lib/libgen.so.1
libmp.so.2 => /usr/lib/libmp.so.2
/usr/platform/SUNW,UltraSPARC-IIi-cEngine/lib/libc_psr.so.1
symbol not found: top_module
(/usr/apache/libexec/libphp4.so)
symbol not found: ap_user_name
(/usr/apache/libexec/libphp4.so)
symbol not found: ap_max_requests_per_child
(/usr/apache/libexec/libphp4.so)
symbol not found: ap_server_root
(/usr/apache/libexec/libphp4.so)
symbol not found: ap_user_id
(/usr/apache/libexec/libphp4.so)
symbol not found: ap_group_id
(/usr/apache/libexec/libphp4.so)
symbol not found: ap_block_alarms
(/usr/apache/libexec/libphp4.so)
symbol not found: ap_unblock_alarms
(/usr/apache/libexec/libphp4.so)
symbol not found: ap_rwrite
(/usr/apache/libexec/libphp4.so)
symbol not found: ap_rflush
(/usr/apache/libexec/libphp4.so)
symbol not found: ap_signal
(/usr/apache/libexec/libphp4.so)
symbol not found: ap_hard_timeout
(/usr/apache/libexec/libphp4.so)
symbol not found: ap_get_client_block
(/usr/apache/libexec/libphp4.so)
symbol not found: ap_reset_timeout
(/usr/apache/libexec/libphp4.so)
symbol not found: ap_table_get
(/usr/apache/libexec/libphp4.so)
symbol not found: ap_pstrdup
(/usr/apache/libexec/libphp4.so)
symbol not found: ap_table_add
(/usr/apache/libexec/libphp4.so)
symbol not found: ap_table_set
(/usr/apache/libexec/libphp4.so)
symbol not found: ap_send_http_header
(/usr/apache/libexec/libphp4.so)
symbol not found: ap_log_error
(/usr/apache/libexec/libphp4.so)
symbol not found: ap_block_alarms
(/usr/apache/libexec/libphp4.so)
symbol not found: ap_register_cleanup
(/usr/apache/libexec/libphp4.so)
symbol not found: ap_unblock_alarms
(/usr/apache/libexec/libphp4.so)
symbol not found: ap_getword
(/usr/apache/libexec/libphp4.so)
symbol not found: ap_uudecode
(/usr/apache/libexec/libphp4.so)
symbol not found: ap_getword_nulls_nc
(/usr/apache/libexec/libphp4.so)
symbol not found: ap_setup_client_block
(/usr/apache/libexec/libphp4.so)
symbol not found: ap_add_common_vars
(/usr/apache/libexec/libphp4.so)
symbol not found: ap_add_cgi_vars
(/usr/apache/libexec/libphp4.so)
symbol not found: ap_kill_timeout
(/usr/apache/libexec/libphp4.so)
symbol not found: ap_update_mtime
(/usr/apache/libexec/libphp4.so)
symbol not found: ap_set_last_modified
(/usr/apache/libexec/libphp4.so)
symbol not found: ap_set_etag
(/usr/apache/libexec/libphp4.so)
symbol not found: ap_add_version_component
(/usr/apache/libexec/libphp4.so)
symbol not found: ap_child_terminate
(/usr/apache/libexec/libphp4.so)
symbol not found: ap_sub_req_lookup_uri
(/usr/apache/libexec/libphp4.so)
symbol not found: ap_destroy_sub_req
(/usr/apache/libexec/libphp4.so)
symbol not found: ap_run_sub_req
(/usr/apache/libexec/libphp4.so)
symbol not found: ap_pstrndup
(/usr/apache/libexec/libphp4.so)
symbol not found: ap_table_setn
(/usr/apache/libexec/libphp4.so)
symbol not found: __cmpdi2
(/usr/apache/libexec/libphp4.so)
symbol not found: __floatdidf
(/usr/apache/libexec/libphp4.so)
--- End Message ---
--- Begin Message ---
Does anyone have a working apache2 server with php4. If yes please let me
know which versions you're using so I can try them
tnx in advance
Eelco
--- End Message ---
--- Begin Message ---
Strange errors (strange to me:-)
First of all: PHP_Self Variable is not working...
Notice: Undefined variable: PHP_SELF in
Second Problem is mysql
With myadmin I can see & create Databases, but I´m not able to create tables.
mfg
Robert Peska
System-Assistant
mailto:[EMAIL PROTECTED]
Tel: +43 1 53 170/143
Der Standard Verlagsges.m.b.H
Herrengasse 19-21
1010 Wien
--- End Message ---
--- Begin Message ---
Hello,
Well, for those trying to set up PHP4 on Win Me & PWS.
I decided to try with a Win2000 & PWS machine. After following the
directions in install.txt for a CGI PHP configuration, all runs as expected.
I can even see my hello world working !!!. And my asp pages work too.
Thanks for the help,
Klerman
--- End Message ---