PHP 4.0 Bug #10106 Updated: Garbage files created when trying to load an extension which doesn't exist(?)
| From: | sniper@php.net | Date: | Mon, 02 Apr 2001 10:40:12 +0000 |
| Subject: | PHP 4.0 Bug #10106 Updated: Garbage files created when trying to load an extension which doesn't exist(?) | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-50555@lists.php.net to get a copy of this message | ||
ID: 10106
Updated by: sniper
Reported By: nick@loman.net
Old-Status: Open
Status: Feedback
Bug Type: *Configuration Issues
Assigned To:
Comments:
I can't reproduce this with latest CVS. Please try the latest snapshot from http://snaps.php.net/
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2001-04-01 22:51:43] nick@loman.net
The line:
extension=satellite.so
in /usr/local/lib/php.ini causes garbage files being created in root (/) directory:
e.g.
-rw-rw-r-- 1 root root 2184 Mar 30 14:05 P}5@P}5@`?
-rw-rw-r-- 1 root root 364 Apr 2 02:45 P?*@P?*@@?
-rw-rw-r-- 1 root root 182 Mar 30 14:31 P?*@P?*@`?
-rw-rw-r-- 1 root root 182 Mar 30 14:57 ]???t?.?
Contents of file looks like:
[25-Mar-2001 01:50:18] PHP Warning: Unable to load dynamic library './satellite.so' -
./satellite.so: cannot open shared object file: No such file or directory in Unknown on line 0
[26-Mar-2001 00:50:28] PHP Warning: Unable to load dynamic library './satellite.so' -
./satellite.so: cannot open shared object file: No such file or directory in Unknown on line 0
[26-Mar-2001 10:58:29] PHP Warning: Unable to load dynamic library './satellite.so' -
./satellite.so: cannot open shared object file: No such file or directory in Unknown on line 0
php info:
'./configure' '--with-apache=../apache_1.3.14' '--enable-track-vars'
'--enable-ftp' '--with-gd=/home/nick/graph/gd-1.8.3' '--with-msql'
'--with-mysql=/var/lib/mysql' '--with-xml=../expat/xmlparse'
'--enable-wddx' '--enable-bcmath' '--with-sybase=/opt/sybase-11.9.2'
'--enable-sockets' '--without-imap-ssl'
php ini file (error/log section)
error_reporting = E_ALL & ~E_NOTICE ; Show all errors except for notices
display_errors = On ; Print out errors (as a part of the output)
; For production web sites, you're strongly
encouraged
; to turn this feature off, and use error logging
instead (see below).
; Keeping display_errors enabled on a production web
site may reveal
; security information to end users, such as file
paths on your Web server,
; your database schema or other information.
display_startup_errors = On ; Even when display_errors is on, errors that occur during
; PHP's startup
sequence are not displayed. It's strongly
; recommended to keep
display_startup_errors off, except for
; when debugging.
log_errors = On ; Log errors into a log file (server-specific log, stderr,
or error_log (below))
; As stated above, you're strongly advised to
use error logging in place of
; error displaying on production web sites.
track_errors = Off ; Store the last error/warning message in $php_errormsg (boolean)
;error_prepend_string = "<font color=ff0000>" ; string to output before an error
message
;error_append_string = "</font>" ; string to output after an error
message
;error_log = /tmp/php_errors ; log errors to specified file
error_log = syslog ; log errors to syslog (Event Log on NT, not valid in
Windows 95)
warn_plus_overloading = Off ; warn if the + operator is used with strings
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10106&edit=2