php-install Digest 11 Jun 2003 15:45:54 -0000 Issue 1418
Topics (messages 11060 through 11063):
PHP 5 [documentation]
11060 by: freelancing.inbox.ru
failed to create stream: No such file or directory in
11061 by: Atif Jakupovic
Re: Initialized PHP Module frequently
11062 by: andre.lagadec.education.gouv.fr
Re: php-4.3.2 errors upgrading from php-4.3.1
11063 by: Michael Mauch
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 ---
Hello people,
averybody talk about PHP 5 but where cani find a documentatione?
--
Best regards,
freelancing mailto:[EMAIL PROTECTED]
--- End Message ---
--- Begin Message ---
Hi all,
Please could somebody help me to find out why I'm getting error messages
below.
Warning: main(/claude/tse/search/config/config.php)
[function.main]: failed to create stream: No such file or directory in
/u1/myweb/htdocs/claude/tse/search/index.php on line 3
Fatal error: main() [function.main]: Failed opening required
'/claude/tse/search/config/config.php'
(include_path='.:/apps/myweb/htdocs/claude') in
/u1/myweb/htdocs/claude/tse/search/index.php on line 3
Thank you,
Atif
--- End Message ---
--- Begin Message ---
Hello,
I change the Unix right on directory https-exp3/config and now there is a core
So, I can generate a backtrace with this command
gdb /produits/netscape/server41sp9/bin/https/bin/ns-httpd
/produits/netscape/server41sp9/https-exp3/config/core.andre
And I get :
GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "sparc-sun-solaris2.7"...(no debugging symbols
found)...
Core was generated by `ns-httpd -d
/produits/netscape/server41sp9/https-exp3/config'.
Program terminated with signal 9, Killed.
Reading symbols from
/produits/netscape/server41sp9/bin/https/lib/libns-httpd40.so...(no debugging
symbols found)...done.
Reading symbols from
/produits/netscape/server41sp9/bin/https/lib/liblibsi18n.so...(no debugging
symbols found)...done.
Reading symbols from
/produits/netscape/server41sp9/bin/https/lib/libgetprop.so...(no debugging
symbols found)...done.
Reading symbols from
/produits/netscape/server41sp9/bin/https/lib/liblibdbm.so...(no debugging
symbols found)...done.
Reading symbols from
/produits/netscape/server41sp9/bin/https/lib/libnsprwrap.so...(no debugging
symbols found)...done.
Reading symbols from
/produits/netscape/server41sp9/plugins/lib/libMagnusPostInit.so...(no debugging
symbols found)...done.
Reading symbols from
/produits/netscape/server41sp9/bin/https/lib/libldap30.so...(no debugging
symbols found)...done.
Reading symbols from
/produits/netscape/server41sp9/bin/https/lib/libnsres30.so...(no debugging
symbols found)...done.
Reading symbols from
/produits/netscape/server41sp9/bin/https/lib/libnsuni30.so...(no debugging
symbols found)...done.
Reading symbols from
/produits/netscape/server41sp9/bin/https/lib/libnscnv30.so...(no debugging
symbols found)...done.
Reading symbols from
/produits/netscape/server41sp9/bin/https/lib/libnsfmt30.so...(no debugging
symbols found)...done.
Reading symbols from
/produits/netscape/server41sp9/bin/https/lib/libnscol30.so...(no debugging
symbols found)...done.
Reading symbols from
/produits/netscape/server41sp9/bin/https/lib/libnsbrk30.so...(no debugging
symbols found)...done.
Reading symbols from
/produits/netscape/server41sp9/bin/https/lib/libplc3.so...(no debugging symbols
found)...done.
Reading symbols from
/produits/netscape/server41sp9/bin/https/lib/libplds3.so...(no debugging
symbols found)...done.
Reading symbols from
/produits/netscape/server41sp9/bin/https/lib/libnspr3.so...(no debugging
symbols found)...done.
Reading symbols from /usr/lib/libsocket.so.1...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libnsl.so.1...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libdl.so.1...(no debugging symbols found)...done.
Reading symbols from /usr/lib/libposix4.so.1...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libm.so.1...(no debugging symbols found)...done.
Reading symbols from /usr/lib/libC.so.5...(no debugging symbols found)...done.
Reading symbols from /usr/lib/libw.so.1...
warning: Lowest section in /usr/lib/libw.so.1 is .hash at 0x74
(no debugging symbols found)...done.
Reading symbols from /usr/lib/libthread.so.1...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libc.so.1...(no debugging symbols found)...done.
Reading symbols from
/produits/netscape/server41sp9/bin/https/lib/libnsfc.so...(no debugging symbols
found)...done.
Reading symbols from
/produits/netscape/server41sp9/bin/https/lib/libnstp.so...(no debugging symbols
found)...done.
Reading symbols from
/produits/netscape/server41sp9/bin/https/lib/libdirmon4.so...(no debugging
symbols found)...done.
Reading symbols from
/produits/netscape/server41sp9/bin/https/lib/libnstime.so...(no debugging
symbols found)...done.
Reading symbols from
/produits/netscape/server41sp9/bin/https/lib/libsupport.so...(no debugging
symbols found)...done.
Reading symbols from
/produits/netscape/server41sp9/bin/https/lib/libares3.so...(no debugging
symbols found)...done.
Reading symbols from /usr/lib/libresolv.so.2...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libpthread.so.1...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libmp.so.2...(no debugging symbols found)...done.
Reading symbols from /usr/lib/libaio.so.1...(no debugging symbols
found)...done.
Reading symbols from
/produits/netscape/server41sp9/bin/https/lib/libatomic.so...(no debugging
symbols found)...done.
Reading symbols from /usr/platform/SUNW,Ultra-4/lib/libc_psr.so.1...(no
debugging symbols found)...done.
Reading symbols from
/produits/netscape/server41sp9/plugins/php4/exp2/nsapi/libphp4.so...(no
debugging symbols found)...done.
Reading symbols from /usr/lib/libpam.so.1...(no debugging symbols
found)...done.
Reading symbols from /usr/local/lib/libfreetype.so.6...done.
Reading symbols from /usr/local/lib/libpng.so.2...done.
Reading symbols from /usr/local/lib/libz.so...done.
---Type <return> to continue, or q <return> to quit---
Reading symbols from /usr/local/lib/libjpeg.so.62...done.
Reading symbols from /usr/lib/libcrypt_i.so.1...done.
Reading symbols from /usr/lib/libgen.so.1...done.
Reading symbols from /usr/lib/libsched.so.1...done.
Reading symbols from
/produits/oracle/product/8.1.7/lib/libclntsh.so.8.0...done.
Reading symbols from /usr/local/lib/libgcc_s.so.1...done.
Reading symbols from /produits/oracle/product/8.1.7/lib/libwtc8.so...done.
#0 0xfd6035cc in nnfgrne () from
/produits/oracle/product/8.1.7/lib/libclntsh.so.8.0
(gdb) bt
#0 0xfd6035cc in nnfgrne () from
/produits/oracle/product/8.1.7/lib/libclntsh.so.8.0
#1 0xfd78d2c4 in nlolgobj () from
/produits/oracle/product/8.1.7/lib/libclntsh.so.8.0
#2 0xfd601654 in nnfun2a () from
/produits/oracle/product/8.1.7/lib/libclntsh.so.8.0
#3 0xfd6012cc in nnfsn2a () from
/produits/oracle/product/8.1.7/lib/libclntsh.so.8.0
#4 0xfd5fe0bc in niqname () from
/produits/oracle/product/8.1.7/lib/libclntsh.so.8.0
#5 0xfd5feea0 in osncon () from
/produits/oracle/product/8.1.7/lib/libclntsh.so.8.0
#6 0xfd506e68 in kpuadef () from
/produits/oracle/product/8.1.7/lib/libclntsh.so.8.0
#7 0xfd51b380 in upiini () from
/produits/oracle/product/8.1.7/lib/libclntsh.so.8.0
#8 0xfd50c15c in upiah0 () from
/produits/oracle/product/8.1.7/lib/libclntsh.so.8.0
#9 0xfd51bde0 in kpuatch () from
/produits/oracle/product/8.1.7/lib/libclntsh.so.8.0
#10 0xfd5797cc in OCIServerAttach () from
/produits/oracle/product/8.1.7/lib/libclntsh.so.8.0
#11 0xfdeb042c in zm_info_oci () from
/produits/netscape/server41sp9/plugins/php4/exp2/nsapi/libphp4.so
#12 0xfdeb0964 in zm_info_oci () from
/produits/netscape/server41sp9/plugins/php4/exp2/nsapi/libphp4.so
#13 0xfdeb45ec in zif_ocilogon () from
/produits/netscape/server41sp9/plugins/php4/exp2/nsapi/libphp4.so
#14 0xfde54084 in execute () from
/produits/netscape/server41sp9/plugins/php4/exp2/nsapi/libphp4.so
#15 0xfde56bfc in execute () from
/produits/netscape/server41sp9/plugins/php4/exp2/nsapi/libphp4.so
#16 0xfde66334 in zend_execute_scripts () from
/produits/netscape/server41sp9/plugins/php4/exp2/nsapi/libphp4.so
#17 0xfde75514 in php_execute_script () from
/produits/netscape/server41sp9/plugins/php4/exp2/nsapi/libphp4.so
#18 0xfde71ddc in nsapi_module_main () from
/produits/netscape/server41sp9/plugins/php4/exp2/nsapi/libphp4.so
#19 0xfde71f58 in php4_execute () from
/produits/netscape/server41sp9/plugins/php4/exp2/nsapi/libphp4.so
#20 0xff26659c in
__0Fafunc_native_pool_wait_workPFP6GpblockP6HSessionP6HRequest_iUiP6GpblockP6HSessionP6HRequest
()
from /produits/netscape/server41sp9/bin/https/lib/libns-httpd40.so
#21 0xff265bbc in __0FNfunc_exec_strP6KFuncStructP6GpblockP6HSessionP6HRequest
()
from /produits/netscape/server41sp9/bin/https/lib/libns-httpd40.so
#22 0xff266b54 in INTobject_execute () from
/produits/netscape/server41sp9/bin/https/lib/libns-httpd40.so
#23 0xff26b7f4 in __0FQ_perform_serviceP6HSessionP6HRequestP6Mhttpd_object ()
from /produits/netscape/server41sp9/bin/https/lib/libns-httpd40.so
#24 0xff26b8b0 in INTservact_service () from
/produits/netscape/server41sp9/bin/https/lib/libns-httpd40.so
#25 0xff26bbc8 in INTservact_handle_processed () from
/produits/netscape/server41sp9/bin/https/lib/libns-httpd40.so
#26 0xff29a0fc in __0fLHttpRequestUUnacceleratedRespondPCcPcTC ()
from /produits/netscape/server41sp9/bin/https/lib/libns-httpd40.so
#27 0xff298ed8 in __0fLHttpRequestNHandleRequestP6Gnetbuf () from
/produits/netscape/server41sp9/bin/https/lib/libns-httpd40.so
#28 0xff2956f4 in __0fNDaemonSessionHRespondv () from
/produits/netscape/server41sp9/bin/https/lib/libns-httpd40.so
#29 0xff295580 in __0fNDaemonSessionKThreadMainv () from
/produits/netscape/server41sp9/bin/https/lib/libns-httpd40.so
#30 0xff29500c in CThreadMain () from
/produits/netscape/server41sp9/bin/https/lib/libns-httpd40.so
#31 0xfef32ad8 in _pt_root () from
/produits/netscape/server41sp9/bin/https/lib/libnspr3.so
(gdb)
This can help someone to give me advice ?
Andre Lagadec a écrit :
> Hi,
>
> There is no core created on the server.
>
> I use the same libphp4.so on an other web server on the same machine, and I
> have no problem of restart ns-httpd.
>
> The problem seem to happen when there is a lot of users on the web server.
>
> Can I modify obj.conf or magnus.conf to optimize the web server ?
> Can I use perfdump to see more information ?
>
> Can I optimize PHP to work fine with a lot of charge ?
> For exeample with option '--without-pear' '--disable-FEATURE'
> '--disable-xml' in configure ?
>
> AL
>
> Andre Lagadec a écrit :
>
> > Hello,
> >
> > On Sun Solaris with Iplanet 4.1 et PHP 4.2.3, I have theses messages on
> > the error log
> > of the Web server :
> > [04/Jun/2003:16:04:54] info ( 7643): php4_init reports: Initialized PHP
> > Module
> > [04/Jun/2003:16:09:57] info ( 7679): php4_init reports: Initialized PHP
> > Module
> > [04/Jun/2003:16:11:12] info ( 7690): php4_init reports: Initialized PHP
> > Module
> > [04/Jun/2003:16:17:17] info ( 7742): php4_init reports: Initialized PHP
> > Module
> > [04/Jun/2003:16:17:25] info ( 7745): php4_init reports: Initialized PHP
> > Module
> > [04/Jun/2003:16:19:26] info ( 7761): php4_init reports: Initialized PHP
> > Module
> > [04/Jun/2003:16:37:52] info ( 7906): php4_init reports: Initialized PHP
> > Module
> > [04/Jun/2003:16:47:24] info ( 7985): php4_init reports: Initialized PHP
> > Module
> > [04/Jun/2003:16:48:40] info ( 7992): php4_init reports: Initialized PHP
> > Module
> > [04/Jun/2003:16:50:04] info ( 8002): php4_init reports: Initialized PHP
> > Module
> > [04/Jun/2003:16:54:13] info ( 8032): php4_init reports: Initialized PHP
> > Module
> >
> > And at the same time, I have theses other messages on the console :
> > Jun 4 16:04:53 server1 uxwdog[23185]: server terminated (signal 10):
> > watchdog is restarting it
> > Jun 4 16:09:56 server1 uxwdog[23185]: server terminated (signal 11):
> > watchdog is restarting it
> > Jun 4 16:11:12 server1 uxwdog[23185]: server terminated (signal 10):
> > watchdog is restarting it
> > Jun 4 16:17:24 server1 last message repeated 2 times
> > Jun 4 16:19:25 server1 uxwdog[23185]: server terminated (signal 11):
> > watchdog is restarting it
> > Jun 4 16:37:51 server1 uxwdog[23185]: server terminated (signal 10):
> > watchdog is restarting it
> > Jun 4 16:47:23 server1 uxwdog[23185]: server terminated (signal 11):
> > watchdog is restarting it
> > Jun 4 16:48:40 server1 uxwdog[23185]: server terminated (signal 10):
> > watchdog is restarting it
> > Jun 4 16:50:03 server1 uxwdog[23185]: server terminated (signal 11):
> > watchdog is restarting it
> > Jun 4 16:54:12 server1 last message repeated 1 time
> >
> > Why the process ns-httpd is restarting ? Is-it due to PHP ?
> >
> > AL
--- End Message ---
--- Begin Message ---
Nate Parsons wrote:
> './configure' '--with-apxs=/usr/local/httpd/bin/apxs'
> '--with-config-file-path=/usr/local/httpd/conf' '--with-xmlrpc'
> '--with-xml' '--with-freetype-dir=/home/system/src/freetype-2.0.9'
> '--with-gd=/usr' '--with-gdbm=/usr' '--with-jpeg'
> '--with-jpeg-dir=/home/system/src/jpeg-6b' '--with-png'
> '--with-png-dir=/home/system/src/libpng-1.2.1' '--with-zlib'
> '--with-zlib-dir=/home/system/src/zlib-1.1.4' '--with-mysql'
> '--enable-gd-native-ttf' '--enable-ftp' '--enable-sockets'
> '--enable-track-vars' '--enable-trans-sid' '--enable-exif'
>
> when I configure php-4.3.2 with this line it won't configure, giving the
> following error: (with some other stuff for context)
>
> checking for FreeType 2... /home/system/src/freetype-2.0.9
> checking for T1lib support... no
> checking whether to enable truetype string function in GD... yes
> checking whether to enable JIS-mapped Japanese font support in GD... no
> checking for jpeg_read_header in -ljpeg... yes
> configure: error: png.h not found.
>
> I looked in the configure file but sadly this same error is given in
> about six places so its not easy to figure out where things are gonig
> off the tracks. Anyhow anyone have any insight as to whats different in
> the configure files between 4.3.1 and 4.3.2 that might be causing this
> problem?
Maybe you can see what's going wrong if you look into your config.log
(search for "png").
Regards...
Michael
--- End Message ---