Date: 01/29/00
- Next message: jl543 <email protected>: "[PHP-DEV] PHP 4.0 Bug #3350: wrong results from sybase_fetch_row and sybase_fetch_array"
- Previous message: Bug Database: "[PHP-DEV] Bug #3349 Updated: mysql_num_fields() function has changed - now use mysql_field_count"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
I'm getting a strange problem with PHP compiled as an Apache
shared module.
While loading the module, after an strace (I'm using Linux) I
saw this:
open("./php3.ini", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/php3.ini", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/httpd/php3.ini", O_RDONLY) = -1 ENOENT (No such file or directory)
--- SIGSEGV (Segmentation fault) ---
Seems that not finding its config file doesn't make it very happy.
In fact I moved the config file since when it finds:
open("/etc/httpd/php3.ini", O_RDONLY) = 4
ioctl(4, TCGETS, 0xbfffa6a4) = -1 ENOTTY (Inappropriate ioctl for device)
read(4, "[PHP_3]\n\n;;;;;;;;;;;;;;;;;;;\n; A"..., 8192) = 8192
read(4, "ode)\n\t\t\t\t\t\t\t\t; Note that this is"..., 8192) = 3496
read(4, "", 4696) = 0
read(4, "", 8192) = 0
ioctl(4, TCGETS, 0xbfffa684) = -1 ENOTTY (Inappropriate ioctl for device)
--- SIGSEGV (Segmentation fault) ---
Why the fsck PHP tries to ioctl() its config file ? :)
-- Stephane ENTEN-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: jl543 <email protected>: "[PHP-DEV] PHP 4.0 Bug #3350: wrong results from sybase_fetch_row and sybase_fetch_array"
- Previous message: Bug Database: "[PHP-DEV] Bug #3349 Updated: mysql_num_fields() function has changed - now use mysql_field_count"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

