php-install Digest 16 Feb 2002 02:56:27 -0000 Issue 702
Topics (messages 6015 through 6019):
Re: ap_block_alarm
6015 by: Yasuo Ohgaki
Re: problem with 4.1.1, apache 1.3.23
6016 by: Peter Clarke
Setting up PHP 4.1.0 under Tomcat 4.0.1 on Solaris 8
6017 by: inigo.marketing.net.uk
php 4.1.1 make error on AIX 4.3.3
6018 by: Ron Martinez
Apache2.0 + PHP4.1 - Missing Variables
6019 by: programmer.bethie.net
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 ---
Don McMorris wrote:
> This is the following error I recieve after installing
> PHP folling the directinos posted on the internet:
> "
> Cannot load /usr/local/apache2/modules/libphp4.so into
> server: /usr/local/apache
> 2/modules/libphp4.so: undefined symbol:
> ap_block_alarms
> "
>
> Is there a module somebody out there can hopefully
> make that defins this symbol? This is apache 2.0.28
> on Redhat Linux 7.2. Thank you in advance. --Don
README says download CVS or alpha.
I'm uisng alpha(2.0.31) and does not have any problem
to build/run.
BTW, I'm using CVS version for PHP.
--
Yasuo Ohgaki
--- End Message ---
--- Begin Message ---
"Dario Nuevo" <[EMAIL PROTECTED]> wrote in message
LGZTUQC8OJXV84LHMNH7S64511TIG.3c651a58@mystica">news:LGZTUQC8OJXV84LHMNH7S64511TIG.3c651a58@mystica...
> hi folks..
>
> i've installed a new apache (1.2.23) with mod_ssl,
> compiled all without errors.. then i built php
> (4.1.1), the so-module with apxs.. how it's usual..
>
> from this point on, apache doesn't came up anymore
> ;-(.. he showed no errors when making startssl, but
> no processes were started when making a ps aux..
>
> for testing if it's php's or mod_ssl's thing, i
> commented the loadmodule-line in the httpd.conf from
> the php4_module.. et voilą, after that it came up
> without any problems (startssl).. so i think it must
> be php's problem..
> has anyone seen this behaviour already? how can i
> solve it? it were really nice to have an apache with
> php, he's really "nude" this way ;-))
>
This may help...
In my experience, if Apache loads the php module before mod_ssl then it
doesn't work (much as you describe)
So look for the line:
LoadModule php4_module libexec/libphp4.so
in httpd.conf and move it to after the SSL initializing stuff:
<IfModule mod_ssl.c>
#SSL stuff here
</IfModule>
LoadModule php4_module libexec/libphp4.so
This way Apache deals with SSL first then PHP and it then works.
Peter
> here's my configure i did..:
> ./configure --with-apxs=/usr/apache/bin/apxs --with-
> openssl --disable-short-tags --with-bz2 --with-ccvs
> --
> enable-ftp --with-mcrypt --with-
> mysql=/usr/local/mysql
> --with-ncurses --enable-shared
>
> then, sure, apache produced an entry into the error-
> log, here is it:
> [Thu Feb 7 23:59:13 2002] [warn] pid file
> /usr/apache/logs/httpd.pid overwritten -- Unclean
> shutdown of previous Apache run?
>
> as i read that message, i tried to fire up apache
> every time with deleting the pid-file before making
> a new try. also that had no affect..
>
> massive thanks if you can help me, my home-
> mailinglist (the german one) had no comments for me
> ;-( so you are one of my last chances ;-)
>
> greetings from switzerland
> bye dario
>
> ps: the server is a debian potato, newest kernel
> build..
>
> --
> [EMAIL PROTECTED] / dn2k.ch
> "R.I.P., billy boy..."
>
>
--- End Message ---
--- Begin Message ---
Hi!
I'm trying to set up PHP 4.1.0 to run as a servlet
inside Tomcat 4.01 on Solaris 8, following the
instructions in the sapi/servlet/README.
I've managed to successfully compile PHP, and
I've set up Tomcat to use the generated jar, but
when I try and access a simple PHP file:
<?php phpinfo(); ?>
then I get the VM failing with the error below.
Details:
Java 1.3.1
Tomcat 4.0.1
PHP 4.1.0
Solaris 8 on a Sun Ultra 10
Has anyone else encountered this problem?
Has anyone got PHP 4 working inside Tomcat 4?
Cheers
Inigo Surguy
http://inigo.0catch.com/
---------------------------------------------
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0xf15e71b4
Function name=Java_net_php_reflect_setEnv
Library=/usr/local/lib/php/libphp4.so
Current Java thread:
at net.php.servlet.send(Native Method)
at net.php.servlet.service(servlet.java:162)
at net.php.servlet.service(servlet.java:180)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:1264)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1011)
at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106)
at java.lang.Thread.run(Thread.java:484)
Dynamic libraries:
0x10000 /usr/java/bin/../bin/sparc/native_threads/java
0xff340000 /usr/lib/libthread.so.1
0xff380000 /usr/lib/libdl.so.1
0xff200000 /usr/lib/libc.so.1
0xff320000 /usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1
0xfe480000 /usr/java1.3.1/jre/lib/sparc/client/libjvm.so
0xff2d0000 /usr/lib/libCrun.so.1
0xff1d0000 /usr/lib/libsocket.so.1
0xff100000 /usr/lib/libnsl.so.1
0xff0d0000 /usr/lib/libm.so.1
0xff300000 /usr/lib/libw.so.1
0xff0b0000 /usr/lib/libmp.so.2
0xff080000 /usr/java1.3.1/jre/lib/sparc/native_threads/libhpi.so
0xff050000 /usr/java1.3.1/jre/lib/sparc/libverify.so
0xfe440000 /usr/java1.3.1/jre/lib/sparc/libjava.so
0xff020000 /usr/java1.3.1/jre/lib/sparc/libzip.so
0xfaee0000 /usr/java1.3.1/jre/lib/sparc/libnet.so
0xface0000 /usr/lib/nss_files.so.1
0xf1580000 /usr/local/lib/php/libphp4.so
0xf2c50000 /usr/lib/libz.so.1
0xf2d30000 /usr/lib/libcrypt_i.so.1
0xf23b0000 /usr/lib/libresolv.so.2
0xf21e0000 /usr/lib/libpam.so.1
0xf21a0000 /usr/local/mysql/lib/mysql/libmysqlclient.so.10
0xf20e0000 /usr/lib/libgen.so.1
0xf20c0000 /usr/local/lib/libgcc_s.so.1
Local Time = Fri Feb 15 15:01:23 2002
Elapsed Time = 32
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.3.1_01 mixed mode)
#
--- End Message ---
--- Begin Message ---
Hi,
I'm having trouble installing php 4.1.1 with apache 1.3.23 on AIX 4.3.3. The
configure runs ok, but the make command stops with errors. Any help would be welcomed.
Thanks,
Ron
My config file is:
./configure --prefix=3D/usr/local/php_4.1.1
--with-apxs=3D/usr/local/apache_1.3.23/bin/apxs
--without-mysql
and the errors from the make are:
Making all in .
/bin/sh /mnt/COMPILE/php_4.1.1/php-4.1.1/libtool --silent --mode=link cc -I.
-I/mnt/COMPILE/php_4.1.1/php-4.1.1/ -I/mnt/COMPILE/php_4.1.1/php-4.1.1/main
-I/mnt/COMPILE/php_4.1.1/php-4.1.1 -I/usr/local/apache_1.3.23/include
-I/mnt/COMPILE/php_4.1.1/php-4.1.1/Zend
-I/mnt/COMPILE/php_4.1.1/php-4.1.1/ext/xml/expat
-I/mnt/COMPILE/php_4.1.1/php-4.1.1/TSRM -g -prefer-pic -o libphp4.la -rpath
/mnt/COMPILE/php_4.1.1/php-4.1.1/libs
-Wl,-bI:/usr/local/apache_1.3.23/libexec/httpd.exp -avoid-version stub.lo
Zend/libZend.la sapi/apache/libsapi.la main/libmain.la regex/libregex.la
ext/pcre/libpcre.la ext/posix/libposix.la ext/session/libsession.la
ext/standard/libstandard.la ext/xml/libxml.la TSRM/libtsrm.la -ldl -lcrypt -lbind -lm
-ldl -lcrypt
nm: main/.libs/libmain.al[main.lo]: 0654-203 Specify an XCOFF object module.
nm: main/.libs/libmain.al[snprintf.lo]: 0654-203 Specify an XCOFF object module.
nm: main/.libs/libmain.al[php_sprintf.lo]: 0654-203 Specify an XCOFF object module.
nm: main/.libs/libmain.al[safe_mode.lo]: 0654-203 Specify an XCOFF object module.
nm: main/.libs/libmain.al[fopen_wrappers.lo]: 0654-203 Specify an XCOFF object module.
nm: main/.libs/libmain.al[alloca.lo]: 0654-203 Specify an XCOFF object module.
nm: main/.libs/libmain.al[php_ini.lo]: 0654-203 Specify an XCOFF object module.
nm: main/.libs/libmain.al[SAPI.lo]: 0654-203 Specify an XCOFF object module.
nm: main/.libs/libmain.al[rfc1867.lo]: 0654-203 Specify an XCOFF object module.
nm: main/.libs/libmain.al[php_content_types.lo]: 0654-203 Specify an XCOFF object
module.
nm: main/.libs/libmain.al[strlcpy.lo]: 0654-203 Specify an XCOFF object module.
nm: main/.libs/libmain.al[strlcat.lo]: 0654-203 Specify an XCOFF object module.
nm: main/.libs/libmain.al[mergesort.lo]: 0654-203 Specify an XCOFF object module.
nm: main/.libs/libmain.al[reentrancy.lo]: 0654-203 Specify an XCOFF object module.
nm: main/.libs/libmain.al[php_variables.lo]: 0654-203 Specify an XCOFF object module.
nm: main/.libs/libmain.al[php_ticks.lo]: 0654-203 Specify an XCOFF object module.
nm: main/.libs/libmain.al[streams.lo]: 0654-203 Specify an XCOFF object module.
nm: main/.libs/libmain.al[network.lo]: 0654-203 Specify an XCOFF object module.
nm: main/.libs/libmain.al[php_open_temporary_file.lo]: 0654-203 Specify an XCOFF
object module.
nm: main/.libs/libmain.al[php_logos.lo]: 0654-203 Specify an XCOFF object module.
nm: main/.libs/libmain.al[output.lo]: 0654-203 Specify an XCOFF object module.
cc: 1501-218 file .libs/libphp4.lax/libmain.al/main.lo contains an incorrect file
suffix
cc: 1501-218 file .libs/libphp4.lax/libmain.al/internal_functions.lo contains an
incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libmain.al/snprintf.lo contains an incorrect file
suffix
cc: 1501-218 file .libs/libphp4.lax/libmain.al/php_sprintf.lo contains an incorrect
file suffix
cc: 1501-218 file .libs/libphp4.lax/libmain.al/safe_mode.lo contains an incorrect file
suffix
cc: 1501-218 file .libs/libphp4.lax/libmain.al/fopen_wrappers.lo contains an incorrect
file suffix
cc: 1501-218 file .libs/libphp4.lax/libmain.al/alloca.lo contains an incorrect file
suffix
cc: 1501-218 file .libs/libphp4.lax/libmain.al/php_ini.lo contains an incorrect file
suffix
cc: 1501-218 file .libs/libphp4.lax/libmain.al/SAPI.lo contains an incorrect file
suffix
cc: 1501-218 file .libs/libphp4.lax/libmain.al/rfc1867.lo contains an incorrect file
suffix
cc: 1501-218 file .libs/libphp4.lax/libmain.al/php_content_types.lo contains an
incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libmain.al/strlcpy.lo contains an incorrect file
suffix
cc: 1501-218 file .libs/libphp4.lax/libmain.al/strlcat.lo contains an incorrect file
suffix
cc: 1501-218 file .libs/libphp4.lax/libmain.al/mergesort.lo contains an incorrect file
suffix
cc: 1501-218 file .libs/libphp4.lax/libmain.al/reentrancy.lo contains an incorrect
file suffix
cc: 1501-218 file .libs/libphp4.lax/libmain.al/php_variables.lo contains an incorrect
file suffix
cc: 1501-218 file .libs/libphp4.lax/libmain.al/php_ticks.lo contains an incorrect file
suffix
cc: 1501-218 file .libs/libphp4.lax/libmain.al/streams.lo contains an incorrect file
suffix
cc: 1501-218 file .libs/libphp4.lax/libmain.al/network.lo contains an incorrect file
suffix
cc: 1501-218 file .libs/libphp4.lax/libmain.al/php_open_temporary_file.lo contains an
incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libmain.al/output.lo contains an incorrect file
suffix
cc: 1501-218 file .libs/libphp4.lax/libmain.al/php_logos.lo contains an incorrect file
suffix
cc: 1501-218 file main/.libs/libmain.al contains an incorrect file suffix
ld: 0711-711 ERROR: Input file .libs/libphp4.lax/libmain.al/main.lo is empty.
The file is being ignored.
make: 1254-004 The error code from the last command is 8.
Stop.
make: 1254-004 The error code from the last command is 1.
Stop.
--- End Message ---
--- Begin Message ---
I'm trying to get an install of Linux Apache 2.0 + PHP 4.1.0 working, and the
standard global variables are missing. This address iterates throught the
$_SERVER variables, then pulls up the phpinfo() screen. As you can see none of
the variables are there. One in particular that I was expecting to see is
$_SERVER['REMOTE_ADDR'].
Has anyone had any experience with this? can anyone offer me some advice?
Thanks Much,
Joe
--- End Message ---