php-install Digest 25 Mar 2001 23:56:47 -0000 Issue 233
Topics (messages 2568 through 2576):
Compiling PHP on Unixware with Informix support
2568 by: Mike Elliott
2569 by: Rasmus Lerdorf
2570 by: Mike Elliott
configure dies with 4.0.4p11 and apache 1.3.19
2571 by: Andy Furnell
What is trutype string function?
2572 by: Jason Lam
Re: fatal: Symbol referencing errors.
2573 by: Brad Atkins
problems with servlet
2574 by: John Cartwright
Re: Windows 2000-Apache PHP installation problems
2575 by: Gleb Andreev
How can over 1000 user online?
2576 by: Home Chen
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]
----------------------------------------------------------------------
I am running into the following problem. Has anyone gotten this combination
working in the past?
>vi debug.log
"debug.log" 21 lines, 1896 characters
CONFIGURE: './configure' '--with-mysql'
'--with-informix=/usr1/informix_7.30'
'--with-oci8--with-oracle' '--enable-debug' '--enable-ftp'
'--with-apache=/usr2/
ApacheSetup/apache_1.3.19'
CC: cc
CFLAGS: -g -I/usr1/informix_7.30/incl/esql
CPPFLAGS:
CXX:
CXXFLAGS:
INCLUDES: -I/usr2/ApacheSetup/apache_1.3.19/src/include
-I/usr2/ApacheSetup/a
pache_1.3.19/src/os/unix -I$(top_builddir)/Zend
-I/usr1/informix_7.30/incl/esql
-I/usr2/phpgzip/php-4.0.4pl1/ext/mysql/libmysql
LDFLAGS: -L/usr/ucblib -L/usr/ucblib -L/usr1/informix_7.30/lib
-L/usr1/infor
mix_7.30/lib -L/usr1/informix_7.30/lib/esql -L/usr1/informix_7.30/lib/esql
-L/u
sr2/phpgzip/php-4.0.4pl1/ext/informix
-L/usr2/phpgzip/php-4.0.4pl1/ext/informix
LIBS: -lresolv -lresolv -lm -ldl -lcrypt -lsocket -lsocket -lifsql
-lifas
f -lifgen -lifos -lifgls -lsocket -ldl -lelf -lphp_ifx -lifglx
DLIBS:
SAPI: apache
PHP_RPATHS: /usr/ucblib /usr1/informix_7.30/lib
/usr1/informix_7.30/lib/esql /u
sr2/phpgzip/php-4.0.4pl1/ext/informix
uname -a: UnixWare hershey 5 7.1.1 i386 x86at SCO UNIX_SVR5
cc -o conftest -g -I/usr1/informix_7.30/incl/esql -L/usr/ucblib
-L/usr/ucblib
-L/usr1/informix_7.30/lib -L/usr1/informix_7.30/lib
-L/usr1/informix_7.30/lib/es
ql -L/usr1/informix_7.30/lib/esql -L/usr2/phpgzip/php-4.0.4pl1/ext/informix
-L/
usr2/phpgzip/php-4.0.4pl1/ext/informix conftest.c -lresolv -lresolv -lm -ldl
-lc
rypt -lsocket -lsocket -lifsql -lifasf -lifgen -lifos -lifgls -lsocket -ldl
-le
lf -lphp_ifx -lifglx 1>&5
Undefined first referenced
symbol in file
ceil /usr1/informix_7.30/lib/esql/libifsql.so
fabs /usr1/informix_7.30/lib/esql/libifgen.so
getmntent /usr1/informix_7.30/lib/esql/libifos.so
UX:ld: ERROR: conftest: fatal error: Symbol referencing errors. No output
writte
n to conftest
Here is the output of my esql -libs command
/esql -libs
-lifsql
-lifasf
-lifgen
-lifos
-lifgls
-lsocket
/usr1/informix_7.30/lib/libnetstub.so
-ldl
-lelf
/usr/ccs/lib/libgen.a
-lm
-L/usr/lib/libp
/usr1/informix_7.30/lib/esql/checkapi.o
-lifglx
Any help would be greatly appreciated!
Mike Elliott
Internal Technical Support
Versaterm Inc.
TEL:613-820-0311
Fax:613-596-5884
[EMAIL PROTECTED]
http://www.versaterm.com
Put -lm at the end of your LIBS line and it should work
On Fri, 23 Mar 2001, Mike Elliott wrote:
> I am running into the following problem. Has anyone gotten this combination
> working in the past?
>
>
> >vi debug.log
> "debug.log" 21 lines, 1896 characters
> CONFIGURE: './configure' '--with-mysql'
> '--with-informix=/usr1/informix_7.30'
> '--with-oci8--with-oracle' '--enable-debug' '--enable-ftp'
> '--with-apache=/usr2/
> ApacheSetup/apache_1.3.19'
> CC: cc
> CFLAGS: -g -I/usr1/informix_7.30/incl/esql
> CPPFLAGS:
> CXX:
> CXXFLAGS:
> INCLUDES: -I/usr2/ApacheSetup/apache_1.3.19/src/include
> -I/usr2/ApacheSetup/a
> pache_1.3.19/src/os/unix -I$(top_builddir)/Zend
> -I/usr1/informix_7.30/incl/esql
> -I/usr2/phpgzip/php-4.0.4pl1/ext/mysql/libmysql
> LDFLAGS: -L/usr/ucblib -L/usr/ucblib -L/usr1/informix_7.30/lib
> -L/usr1/infor
> mix_7.30/lib -L/usr1/informix_7.30/lib/esql -L/usr1/informix_7.30/lib/esql
> -L/u
> sr2/phpgzip/php-4.0.4pl1/ext/informix
> -L/usr2/phpgzip/php-4.0.4pl1/ext/informix
> LIBS: -lresolv -lresolv -lm -ldl -lcrypt -lsocket -lsocket -lifsql
> -lifas
> f -lifgen -lifos -lifgls -lsocket -ldl -lelf -lphp_ifx -lifglx
> DLIBS:
> SAPI: apache
> PHP_RPATHS: /usr/ucblib /usr1/informix_7.30/lib
> /usr1/informix_7.30/lib/esql /u
> sr2/phpgzip/php-4.0.4pl1/ext/informix
> uname -a: UnixWare hershey 5 7.1.1 i386 x86at SCO UNIX_SVR5
>
> cc -o conftest -g -I/usr1/informix_7.30/incl/esql -L/usr/ucblib
> -L/usr/ucblib
> -L/usr1/informix_7.30/lib -L/usr1/informix_7.30/lib
> -L/usr1/informix_7.30/lib/es
> ql -L/usr1/informix_7.30/lib/esql -L/usr2/phpgzip/php-4.0.4pl1/ext/informix
> -L/
> usr2/phpgzip/php-4.0.4pl1/ext/informix conftest.c -lresolv -lresolv -lm -ldl
> -lc
> rypt -lsocket -lsocket -lifsql -lifasf -lifgen -lifos -lifgls -lsocket -ldl
> -le
> lf -lphp_ifx -lifglx 1>&5
> Undefined first referenced
> symbol in file
> ceil /usr1/informix_7.30/lib/esql/libifsql.so
> fabs /usr1/informix_7.30/lib/esql/libifgen.so
> getmntent /usr1/informix_7.30/lib/esql/libifos.so
> UX:ld: ERROR: conftest: fatal error: Symbol referencing errors. No output
> writte
> n to conftest
>
> Here is the output of my esql -libs command
>
> /esql -libs
> -lifsql
> -lifasf
> -lifgen
> -lifos
> -lifgls
> -lsocket
> /usr1/informix_7.30/lib/libnetstub.so
> -ldl
> -lelf
> /usr/ccs/lib/libgen.a
> -lm
> -L/usr/lib/libp
> /usr1/informix_7.30/lib/esql/checkapi.o
> -lifglx
>
> Any help would be greatly appreciated!
>
> Mike Elliott
> Internal Technical Support
> Versaterm Inc.
> TEL:613-820-0311
> Fax:613-596-5884
> [EMAIL PROTECTED]
> http://www.versaterm.com
>
>
>
forgive my ignorance, but the LIBS line in what file config_vars.mk?
-----Original Message-----
From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 23, 2001 2:40 PM
To: Mike Elliott
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP-INST] Compiling PHP on Unixware with Informix support
Put -lm at the end of your LIBS line and it should work
On Fri, 23 Mar 2001, Mike Elliott wrote:
> I am running into the following problem. Has anyone gotten this
combination
> working in the past?
>
>
> >vi debug.log
> "debug.log" 21 lines, 1896 characters
> CONFIGURE: './configure' '--with-mysql'
> '--with-informix=/usr1/informix_7.30'
> '--with-oci8--with-oracle' '--enable-debug' '--enable-ftp'
> '--with-apache=/usr2/
> ApacheSetup/apache_1.3.19'
> CC: cc
> CFLAGS: -g -I/usr1/informix_7.30/incl/esql
> CPPFLAGS:
> CXX:
> CXXFLAGS:
> INCLUDES: -I/usr2/ApacheSetup/apache_1.3.19/src/include
> -I/usr2/ApacheSetup/a
> pache_1.3.19/src/os/unix -I$(top_builddir)/Zend
> -I/usr1/informix_7.30/incl/esql
> -I/usr2/phpgzip/php-4.0.4pl1/ext/mysql/libmysql
> LDFLAGS: -L/usr/ucblib -L/usr/ucblib -L/usr1/informix_7.30/lib
> -L/usr1/infor
> mix_7.30/lib -L/usr1/informix_7.30/lib/esql -L/usr1/informix_7.30/lib/esql
> -L/u
> sr2/phpgzip/php-4.0.4pl1/ext/informix
> -L/usr2/phpgzip/php-4.0.4pl1/ext/informix
> LIBS: -lresolv -lresolv -lm -ldl -lcrypt -lsocket -lsocket -lifsql
> -lifas
> f -lifgen -lifos -lifgls -lsocket -ldl -lelf -lphp_ifx -lifglx
> DLIBS:
> SAPI: apache
> PHP_RPATHS: /usr/ucblib /usr1/informix_7.30/lib
> /usr1/informix_7.30/lib/esql /u
> sr2/phpgzip/php-4.0.4pl1/ext/informix
> uname -a: UnixWare hershey 5 7.1.1 i386 x86at SCO UNIX_SVR5
>
> cc -o conftest -g -I/usr1/informix_7.30/incl/esql -L/usr/ucblib
> -L/usr/ucblib
> -L/usr1/informix_7.30/lib -L/usr1/informix_7.30/lib
> -L/usr1/informix_7.30/lib/es
>
l -L/usr1/informix_7.30/lib/esql -L/usr2/phpgzip/php-4.0.4pl1/ext/informix
> -L/
> usr2/phpgzip/php-4.0.4pl1/ext/informix
conftest.c -lresolv -lresolv -lm -ldl
> -lc
>
rypt -lsocket -lsocket -lifsql -lifasf -lifgen -lifos -lifgls -lsocket -ldl
> -le
> lf -lphp_ifx -lifglx 1>&5
> Undefined first referenced
> symbol in file
> ceil
/usr1/informix_7.30/lib/esql/libifsql.so
> fabs
/usr1/informix_7.30/lib/esql/libifgen.so
> getmntent
/usr1/informix_7.30/lib/esql/libifos.so
> UX:ld: ERROR: conftest: fatal error: Symbol referencing errors. No output
> writte
> n to conftest
>
> Here is the output of my esql -libs command
>
> /esql -libs
> -lifsql
> -lifasf
> -lifgen
> -lifos
> -lifgls
> -lsocket
> /usr1/informix_7.30/lib/libnetstub.so
> -ldl
> -lelf
> /usr/ccs/lib/libgen.a
> -lm
> -L/usr/lib/libp
> /usr1/informix_7.30/lib/esql/checkapi.o
> -lifglx
>
> Any help would be greatly appreciated!
>
> Mike Elliott
> Internal Technical Support
> Versaterm Inc.
> TEL:613-820-0311
> Fax:613-596-5884
> [EMAIL PROTECTED]
> http://www.versaterm.com
>
>
>
Hello,
When trying to configure php4 with the following parameters:
EAPI_MM=../mm-1.1.3 ./configure --with-apxs=/usr/local/apache/bin/apxs
--with-config-file-path=/usr/local/lib --enable-versioning
I get this error:
checking for Apache module support via DSO through APXS...
Usage: apxs -g [-S <var>=<val>] -n <modname>
apxs -q [-S <var>=<val>] <query> ...
apxs -c [-S <var>=<val>] [-o <dsofile>] [-D <name>[=<value>]]
[-I <incdir>] [-L <libdir>] [-l <libname>] [-Wc,<flags>]
[-Wl,<flags>] <files> ...
apxs -i [-S <var>=<val>] [-a] [-A] [-n <modname>] <dsofile> ...
apxs -e [-S <var>=<val>] [-a] [-A] [-n <modname>] <dsofile> ...
Sorry, I was not able to successfully run APXS. Possible reasons:
1. Perl is not installed;
2. Apache was not compiled with DSO support (--enable-module=so);
3. 'apxs' is not in your path.
configure: error: ;
Apache has been configured with DSO support, apxs has been changed
countless times (according to the FAQ), and perl 5.005003 is
installed... can anyone shed any light on this?
I'm following the mod_frontpage install instructions located at
http://home.edo.uni-dortmund.de/~chripo/install/apache+frontpage+mod_ssl+php4+php3.html#Step%2010:%20Configure,%20compile,%20install%20and%20enable%20PHP4,
and the only difference between what's located there and what I've
used is that I used --enable-module=so in the apache config.
--
Best regards,
Andy mailto:[EMAIL PROTECTED]
Can anyone tell me what is truetype string function?
I got this from config:
checking whether to enable truetype string function in gd... no
Does it mean I cannot use functions like imagettftext()?
How do I need to do to enable this?
Jason Lam
Hello,
I'm trying to install PHP 4.0.4pl1 on
SunOS hill.adgrafix.com 5.7 Generic_106541-07 sun4u sparc
SUNW,UltraSPARC-IIi-Engine
Here is my configure line:
./configure \
--with-mysql \
--with-apxs=/opt2/bludot4u/apache/bin/apxs \
--enable-track-vars \
--enable-track-errors \
--with-regex=system \
--enable-libgcc \
--with-gd \
--with-config-file=path=/opt2/bludot4u/httpd/conf
I get a message at the end of the configure saying something wierd is up,
and to look into the debug.log:
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
Anyone have any idea what that means?
Thanks,
Brad Atkins
Hello All,
I'm having a little trouble getting the servlet running. Running
jdk1.3, tomcat 3.2.1 on RH linux 6.2. Here's the steps that I
performed:
1)./configure --with-servlet --with-java
2) make
3) copy the phpsrvlt.jar to the context's WEB-INF/lib
4) copy the libphp4.so to a directory in the classpath
5) added the servlet config and mapping to the context's web.xml
6) restarted tomcat
when I try to hit jinfo.php in that context, I get the following
written
to stdout and it kills tomcat:
#
# An unexpected exception has been detected in native code outside
the
VM.
# Program counter=0x404b010c
#
# Problematic Thread: prio=1 tid=0x489afd08 nid=0x153a runnable
#
Can anyone point me to what might be wrong?
Thanks!
-- john
--
===============================================================================
John Cartwright
Professional Research Assistant / Associate Scientist
CIRES, SEG/NGDC/NOAA
(303) 497-6284
[EMAIL PROTECTED]
===============================================================================
Same thing.
php4_module loads successfully but Apache doesn't parse php files at all.
Could anyone please give exact instructions how to install php as Apache
module under Win2K
Thanks in advance,
Gleb
<[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I have Apache running on my Win 2000 box. I am having a problem with my PHP
installation. I've tried to follow the instructions on the install.txt file
but still can't make PHP work.
After I make changes to the httpd.conf file, as I try to do a stop/start for
Apache. Unfortunately, after these changes are made, Apache refuses to start
up. It works fine if I remove these additions to the httpd.conf file.
This is what I added into my httpd.conf file.
# for the apache module
LoadModule php4_module D:\php\sapi\php4apache.dll
AddType application/x-httpd-php .php4
#for the cgi binary (you can use that one compiled with force cgi redirect
too)
ScriptAlias /php4/ "D:\php\"
Action application/x-httpd-php4 "\php4\php.exe"
AddType application/x-httpd-php4 .php
I have also tried this. But it fails as well:
# for the apache module
LoadModule php4_module D:/php/sapi/php4apache.dll
AddType application/x-httpd-php .php4
#for the cgi binary (you can use that one compiled with force cgi redirect
too)
ScriptAlias /php4/ "D:/php/"
Action application/x-httpd-php4 "/php4/php.exe"
AddType application/x-httpd-php4 .php
I have move php4ts.dll to the windows/system(32) directory. I have also put
php.ini in the Window's directory (on Win 2000), it's called WINNT.
I am pretty sure I did something wrong for Apache to behave this way. I am
no expert on Win 2000, so please help me.
Thanks much.
-----------------------------------------------
Runbox Mail Manager - www.runbox.com
Free online email application
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
I am http://mychat.to webmaster.
my system
FreeBSD 4.2
Apache 1.3.19
PHP4.0.4pl1
Zend Optimizer.
mysql 3.23.33
Dual CPU PIII-650
1G Ram
18G HD
AHA-29160 SCSI
I have a question.
My website have over 700 user online.
and each user 5-10 second refresh page.
I config apache maxclient=512.
I look top
last pid: 15724; load averages: 1.37, 1.33, 1.44 up 1+01:09:54 00:57:01
520 processes: 4 running, 519 sleeping
CPU states: 49.7% user, 0.0% nice, 7.8% system, 1.0% interrupt, 41.6%
idle
Mem: 629M Active, 177M Inact, 95M Wired, 17M Cache, 112M Buf, 87M Free
Swap: 256M Total, 51M Used, 205M Free, 20% Inuse
PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU CPU COMMAND
251 mysql 32 0 91516K 43816K RUN 1 162:16 10.06% 10.06% mysqld
74485 nobody 2 0 70400K 3408K accept 0 1:41 0.34% 0.34% httpd
74377 nobody 2 0 70352K 3352K sbwait 1 1:42 0.29% 0.29% httpd
74409 nobody 2 0 72692K 4132K accept 0 1:40 0.29% 0.29% httpd
74483 nobody 2 0 71104K 3884K sbwait 1 1:32 0.29% 0.29% httpd
74391 nobody 2 0 71232K 4264K sbwait 1 1:46 0.20% 0.20% httpd
74431 nobody 2 0 73000K 6032K accept 1 1:41 0.20% 0.20% httpd
74503 nobody 2 0 71184K 4196K sbwait 1 1:38 0.20% 0.20% httpd
74492 nobody 2 0 73212K 6224K sbwait 1 1:38 0.20% 0.20% httpd
74394 nobody 2 0 70416K 3404K accept 0 1:38 0.20% 0.20% httpd
14560 nobody 2 0 69936K 2940K sbwait 1 0:00 0.20% 0.20% httpd
74579 nobody 2 0 70324K 3336K sbwait 0 1:47 0.15% 0.15% httpd
74498 nobody 2 0 70384K 3372K sbwait 1 1:41 0.15% 0.15% httpd
74610 nobody 2 0 72960K 5972K sbwait 0 1:39 0.15% 0.15% httpd
74451 nobody 2 0 73124K 6128K sbwait 0 1:38 0.15% 0.15% httpd
74439 nobody 2 0 72816K 5840K sbwait 1 1:38 0.15% 0.15% httpd
I always over 500 apache process. and eat memory.
How can I config my apache and php?
because I wish over 1000 user online.