Consistent crash using PHP 5.1.4 & SQLite 3.2.8 (PDO)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I get a crash on execution of any sqlite query (PDO). I think that
pretty much everything I know about the problem is described in detail
below, and I'm hoping someone can tell me that this is a known bug,
and that it's been fixed already.

These are the versions of Apache and SQLite that ship with Mac OS X
10.4.x, for what it's worth.

Thanks in advance for any and all help.

- Avram Lyon

Expected Behavior:
With the PHP code and SQLite database described below, I expect the
following result, which I get from the CLI version of PHP:

$ cat BasicTest.php | php
Array
(
   [COUNT(*)] => 1
   [0] => 1
)

When I load request the page BasicTest.php (below) from the webserver,
using any user agent I've tried (Firefox, Safari, curl, wget, Internet
Explorer, lynx), half the time I get no response:

$ curl http://localhost/~lyonavra/yellowtail/BasicTest.php
curl: (52) Empty reply from server

The other half of the time, I get the correct response:

$ curl http://localhost/~lyonavra/yellowtail/BasicTest.php
Array
(
   [COUNT(*)] => 1
   [0] => 1
)

When I get no response from the server, it's because an instance of
httpd crashed, and the crash report information is provided below. The
crash information is identical, regardless of the query.

When I use the CLI version of PHP, I can repeat the call as often as I
like, and it'll run correctly every time. Via Apache, every other
request fails, even if the requests are spaced out as much as a minute
apart (I haven't tried longer apart, but it really doesn't seem to
have to do with the time separation).


Reduced case PHP code (BasicTest.php):
<?php
$db = new PDO("sqlite:/Library/WebServer/Databases/yellowtail.sqlite");
$sth = $db->prepare("SELECT COUNT(*) FROM users");
$sth->execute();
print_r($sth->fetch());
?>

Output from sqlite3:
sqlite> .dump
BEGIN TRANSACTION;
CREATE TABLE users (id INTEGER PRIMARY KEY, username VARCHAR(70),
password VARCHAR(70), created DATETIME, last_login DATETIME, UNIQUE
(username));
INSERT INTO "users" VALUES(1, 'ajlyon',
'b7a875fc1ea228b9061041b7cec4bd3c52ab3ce3', '2006-11-06 00:29:39',
NULL);
COMMIT;
sqlite> SELECT COUNT(*) FROM users;
1
sqlite> SELECT * FROM users;
1|ajlyon|b7a875fc1ea228b9061041b7cec4bd3c52ab3ce3|2006-11-06 00:29:39|


Line in /var/log/httpd/error_log:
[Mon Nov  6 22:33:55 2006] [notice] child pid 17792 exit signal Bus error (10)

Crash report follows (httpd.crash.log, from CrashReporter)
--
Host Name:      avram
Date/Time:      2006-11-06 22:33:52.542 +0300
OS Version:     10.4.7 (Build 8J135)
Report Version: 4

Command: httpd
Path:    /usr/sbin/httpd
Parent:  httpd [14555]

Version: ??? (???)

PID:    17792
Thread: 0

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_PROTECTION_FAILURE (0x0002) at 0x00000000

Thread 0 Crashed:
0   libphp5.so 	0x0218f8cc shutdown_memory_manager + 116 (zend_alloc.c:511)
1   libphp5.so 	0x02168f44 php_request_shutdown + 928 (main.c:1307)
2   libphp5.so 	0x02227438 apache_php_module_main + 252 (sapi_apache.c:60)
3   libphp5.so 	0x02228130 send_php + 1096 (mod_php5.c:493)
4   httpd      	0x0000dd18 ap_invoke_handler + 232
5   httpd      	0x00017dd4 process_request_internal + 640
6   httpd      	0x00017e54 ap_process_request + 72
7   httpd      	0x00006b60 child_main + 1832
8   httpd      	0x00006dc4 make_child + 312
9   httpd      	0x000070f4 perform_idle_server_maintenance + 572
10  httpd      	0x000076d0 standalone_main + 964
11  httpd      	0x00007d74 main + 1052
12  httpd      	0x0000238c _start + 348
13  httpd      	0x0000222c start + 60

Thread 0 crashed with PPC Thread State 64:
 srr0: 0x000000000218f8cc srr1: 0x000000000200f030
   vrsave: 0x0000000000000000
   cr: 0x24000444          xer: 0x0000000000000002   lr:
0x000000000218f8e8  ctr: 0x0000000000000001
   r0: 0x00000000003eb580   r1: 0x00000000bfffe510   r2:
0x0000000000000000   r3: 0x00000000003ed6b0
   r4: 0x00000000003ebd60   r5: 0x0000000002168f0c   r6:
0x00000000022db384   r7: 0x00000000000000ff
   r8: 0x0000000000000001   r9: 0x00000000a0001fac  r10:
0x0000000000000001  r11: 0x0000000044000442
  r12: 0x00000000900067ac  r13: 0x0000000000000000  r14:
0x0000000000000000  r15: 0x0000000000000000
  r16: 0x0000000000000000  r17: 0x0000000000000000  r18:
0x0000000000000000  r19: 0x0000000000000000
  r20: 0x0000000000000000  r21: 0x0000000000000000  r22:
0x00000000ffffffff  r23: 0x0000000000056ec0
  r24: 0x0000000000000000  r25: 0x00000000022de084  r26:
0x0000000000000008  r27: 0x00000000022de080
  r28: 0x0000000000000300  r29: 0x00000000022e0c90  r30:
0x0000000000000001  r31: 0x000000000218f860

Binary Images Description:
   0x1000 -    0x4ffff httpd 	/usr/sbin/httpd
  0x65000 -    0x67fff mod_log_config.so 	/usr/libexec/httpd/mod_log_config.so
  0x6a000 -    0x6bfff mod_mime.so 	/usr/libexec/httpd/mod_mime.so
  0x6e000 -    0x72fff mod_negotiation.so
	/usr/libexec/httpd/mod_negotiation.so
  0x75000 -    0x7afff mod_include.so 	/usr/libexec/httpd/mod_include.so
  0x7e000 -    0x82fff mod_autoindex.so 	/usr/libexec/httpd/mod_autoindex.so
  0x86000 -    0x86fff mod_dir.so 	/usr/libexec/httpd/mod_dir.so
  0x89000 -    0x8afff mod_cgi.so 	/usr/libexec/httpd/mod_cgi.so
  0x8d000 -    0x8dfff mod_asis.so 	/usr/libexec/httpd/mod_asis.so
  0x90000 -    0x92fff mod_imap.so 	/usr/libexec/httpd/mod_imap.so
  0x95000 -    0x95fff mod_actions.so 	/usr/libexec/httpd/mod_actions.so
  0x98000 -    0x98fff mod_userdir.so 	/usr/libexec/httpd/mod_userdir.so
  0x9b000 -    0x9cfff mod_alias.so 	/usr/libexec/httpd/mod_alias.so
  0x9f000 -    0xa8fff mod_rewrite.so 	/usr/libexec/httpd/mod_rewrite.so
  0xac000 -    0xadfff mod_access.so 	/usr/libexec/httpd/mod_access.so
  0xb0000 -    0xb1fff mod_auth.so 	/usr/libexec/httpd/mod_auth.so
  0xb4000 -    0xb5fff mod_log_forensic.so
	/usr/libexec/httpd/mod_log_forensic.so
  0xb8000 -    0xb8fff mod_setenvif.so 	/usr/libexec/httpd/mod_setenvif.so
  0xd1000 -    0xd1fff mod_hfs_apple.so 	/usr/libexec/httpd/mod_hfs_apple.so
  0xd4000 -    0xd9fff mod_bonjour.so 	/usr/libexec/httpd/mod_bonjour.so
 0x405000 -   0x449fff pdo_sqlite.so
	/usr/local/lib/php/extensions/no-debug-non-zts-20050922/pdo_sqlite.so
0x1008000 -  0x12cdfff libphp4.so 	/usr/libexec/httpd/libphp4.so
0x2008000 -  0x2278fff libphp5.so 	/usr/libexec/httpd/libphp5.so
0x8fe00000 - 0x8fe52fff dyld 45.3	/usr/lib/dyld
0x90000000 - 0x901bbfff libSystem.B.dylib 	/usr/lib/libSystem.B.dylib
0x90213000 - 0x90218fff libmathCommon.A.dylib
	/usr/lib/system/libmathCommon.A.dylib
0x9021a000 - 0x90267fff com.apple.CoreText 1.0.2
(???)	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreText.framework/Versions/A/CoreText
0x90292000 - 0x90343fff ATS
	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS
0x90372000 - 0x9072cfff com.apple.CoreGraphics 1.258.33
(???)	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
0x907b9000 - 0x90892fff com.apple.CoreFoundation 6.4.6
(368.27)	/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x908db000 - 0x908dbfff com.apple.CoreServices 10.4
(???)	/System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x908dd000 - 0x909dffff libicucore.A.dylib 	/usr/lib/libicucore.A.dylib
0x90a39000 - 0x90abdfff libobjc.A.dylib 	/usr/lib/libobjc.A.dylib
0x90ae7000 - 0x90b57fff com.apple.framework.IOKit 1.4
(???)	/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x90b6d000 - 0x90b7ffff libauto.dylib 	/usr/lib/libauto.dylib
0x90b86000 - 0x90e5dfff com.apple.CoreServices.CarbonCore
681.4	/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
0x90ec3000 - 0x90f43fff com.apple.CoreServices.OSServices
4.1	/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
0x90f8d000 - 0x90fcefff com.apple.CFNetwork 4.0
(129.16)	/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
0x90fe3000 - 0x90ffbfff com.apple.WebServices 1.1.2
(1.1.0)	/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/WebServicesCore.framework/Versions/A/WebServicesCore
0x9100b000 - 0x9108cfff com.apple.SearchKit
1.0.5	/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
0x910d2000 - 0x910fcfff com.apple.Metadata 10.4.4
(121.36)	/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
0x9110d000 - 0x9111bfff libz.1.dylib 	/usr/lib/libz.1.dylib
0x9111e000 - 0x912d8fff com.apple.security 4.4
(27566)	/System/Library/Frameworks/Security.framework/Versions/A/Security
0x913d6000 - 0x913dffff com.apple.DiskArbitration
2.1	/System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x913e6000 - 0x9140efff com.apple.SystemConfiguration
1.8.3	/System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
0x91421000 - 0x9142cfff libgcc_s.1.dylib 	/usr/lib/libgcc_s.1.dylib
0x91431000 - 0x91439fff libbsm.dylib 	/usr/lib/libbsm.dylib
0x9143d000 - 0x914b8fff com.apple.audio.CoreAudio
3.0.4	/System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x914f5000 - 0x914f5fff com.apple.ApplicationServices 10.4
(???)	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
0x914f7000 - 0x9152ffff com.apple.AE 1.5
(297)	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
0x9154a000 - 0x91617fff com.apple.ColorSync
4.4.4	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync
0x9166c000 - 0x916fdfff com.apple.print.framework.PrintCore 4.6
(177.13)	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore
0x91744000 - 0x917fbfff com.apple.QD 3.10.20
(???)	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD
0x91838000 - 0x91896fff com.apple.HIServices 1.5.3
(???)	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
0x918c5000 - 0x918e9fff com.apple.LangAnalysis
1.6.1	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
0x918fd000 - 0x91922fff com.apple.FindByContent
1.5	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/FindByContent.framework/Versions/A/FindByContent
0x91935000 - 0x91977fff com.apple.LaunchServices
181	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
0x91993000 - 0x919a7fff com.apple.speech.synthesis.framework
3.3	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x919b5000 - 0x919f5fff com.apple.ImageIO.framework
1.4.8	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
0x91a0b000 - 0x91ad3fff libcrypto.0.9.7.dylib 	/usr/lib/libcrypto.0.9.7.dylib
0x91b21000 - 0x91b36fff libcups.2.dylib 	/usr/lib/libcups.2.dylib
0x91b3b000 - 0x91b58fff libJPEG.dylib
	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
0x91b5d000 - 0x91bccfff libJP2.dylib
	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJP2.dylib
0x91be3000 - 0x91be7fff libGIF.dylib
	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib
0x91be9000 - 0x91c31fff libRaw.dylib
	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libRaw.dylib
0x91c36000 - 0x91c73fff libTIFF.dylib
	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
0x91c7a000 - 0x91c93fff libPng.dylib
	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
0x91c98000 - 0x91c9bfff libRadiance.dylib
	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib
0x91c9d000 - 0x91c9dfff com.apple.Accelerate 1.2.2 (Accelerate
1.2.2)	/System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x91c9f000 - 0x91d84fff com.apple.vImage
2.4	/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
0x91d8c000 - 0x91dabfff com.apple.Accelerate.vecLib 3.2.2 (vecLib
3.2.2)	/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
0x91e17000 - 0x91e85fff libvMisc.dylib
	/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
0x91e90000 - 0x91f25fff libvDSP.dylib
	/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
0x91f3f000 - 0x924c7fff libBLAS.dylib
	/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
0x924fa000 - 0x92825fff libLAPACK.dylib
	/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
0x92855000 - 0x928ddfff com.apple.DesktopServices
1.3.4	/System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
0x9291e000 - 0x92b49fff com.apple.Foundation 6.4.6
(567.27)	/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x92c67000 - 0x92d45fff libxml2.2.dylib 	/usr/lib/libxml2.2.dylib
0x92d65000 - 0x92e53fff libiconv.2.dylib 	/usr/lib/libiconv.2.dylib
0x92f06000 - 0x92f06fff com.apple.Carbon 10.4
(???)	/System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x92f08000 - 0x92f1cfff com.apple.ImageCapture
3.0	/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture
0x92f34000 - 0x92f44fff com.apple.speech.recognition.framework
3.4	/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition
0x92f50000 - 0x92f65fff com.apple.securityhi 2.0
(203)	/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI
0x92f77000 - 0x92ffefff com.apple.ink.framework 101.2
(69)	/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink
0x93012000 - 0x9301dfff com.apple.help 1.0.3
(32)	/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help
0x93027000 - 0x93054fff com.apple.openscripting 1.2.5
(???)	/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting
0x9306e000 - 0x9307efff com.apple.print.framework.Print 5.0
(190.1)	/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print
0x9308a000 - 0x930f0fff com.apple.htmlrendering
1.1.2	/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering.framework/Versions/A/HTMLRendering
0x93121000 - 0x93170fff com.apple.NavigationServices 3.4.4
(3.4.3)	/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationServices.framework/Versions/A/NavigationServices
0x9319e000 - 0x931bbfff com.apple.audio.SoundManager
3.9	/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.framework/Versions/A/CarbonSound
0x931cd000 - 0x931dafff com.apple.CommonPanels 1.2.2
(73)	/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels
0x931e3000 - 0x934f0fff com.apple.HIToolbox 1.4.8
(???)	/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
0x93650000 - 0x93670fff com.apple.DirectoryService.Framework
3.1	/System/Library/Frameworks/DirectoryService.framework/Versions/A/DirectoryService
0x936e3000 - 0x93703fff libmx.A.dylib 	/usr/lib/libmx.A.dylib
0x94e88000 - 0x94eb5fff com.apple.LDAPFramework 1.4.1
(69.0.1)	/System/Library/Frameworks/LDAP.framework/Versions/A/LDAP
0x94ebc000 - 0x94eccfff libsasl2.2.dylib 	/usr/lib/libsasl2.2.dylib
0x94ed0000 - 0x94efffff libssl.0.9.7.dylib 	/usr/lib/libssl.0.9.7.dylib
0x94f0f000 - 0x94f2cfff libresolv.9.dylib 	/usr/lib/libresolv.9.dylib
0x9561b000 - 0x95643fff libcurl.3.dylib 	/usr/lib/libcurl.3.dylib
0x960b8000 - 0x960e1fff libxslt.1.dylib 	/usr/lib/libxslt.1.dylib
0x9637a000 - 0x96387fff libexslt.0.dylib 	/usr/lib/libexslt.0.dylib
0x983f7000 - 0x98436fff libiodbc.2.dylib 	/usr/lib/libiodbc.2.dylib
0x98446000 - 0x9844efff libiodbcinst.2.dylib 	/usr/lib/libiodbcinst.2.dylib

--
phpinfo()
PHP Version => 5.1.4

System => Darwin avram.local 8.7.0 Darwin Kernel Version 8.7.0: Fri
May 26 15:20:53 PDT 2006; root:xnu-792.6.76.obj~1/RELEASE_PPC Power
Macintosh
Build Date => Nov  6 2006 02:55:31
Configure Command =>  './configure' '--with-zlib'
'--enable-pdo=shared' '--with-pdo-sqlite=shared' '--with-xsl'
'--with-xmlrpc' '--with-apxs'
Server API => Command Line Interface
Virtual Directory Support => disabled
Configuration File (php.ini) Path => /usr/local/lib/php.ini
PHP API => 20041225
PHP Extension => 20050922
Zend Extension => 220051025
Debug Build => no
Thread Safety => disabled
Zend Memory Manager => enabled
IPv6 Support => enabled
Registered PHP Streams => php, file, http, ftp, compress.zlib
Registered Stream Socket Transports => tcp, udp, unix, udg
Registered Stream Filters => string.rot13, string.toupper,
string.tolower, string.strip_tags, convert.*, consumed,
convert.iconv.*, zlib.*


This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies


_______________________________________________________________________


Configuration

PHP Core

Directive => Local Value => Master Value
allow_call_time_pass_reference => On => On
allow_url_fopen => On => On
always_populate_raw_post_data => Off => Off
arg_separator.input => & => &
arg_separator.output => & => &
asp_tags => Off => Off
auto_append_file => no value => no value
auto_globals_jit => On => On
auto_prepend_file => no value => no value
browscap => no value => no value
default_charset => no value => no value
default_mimetype => text/html => text/html
define_syslog_variables => Off => Off
disable_classes => no value => no value
disable_functions => no value => no value
display_errors => On => On
display_startup_errors => Off => Off
doc_root => no value => no value
docref_ext => no value => no value
docref_root => no value => no value
enable_dl => On => On
error_append_string => no value => no value
error_log => no value => no value
error_prepend_string => no value => no value
error_reporting => 2039 => 2039
expose_php => On => On
extension_dir =>
/usr/local/lib/php/extensions/no-debug-non-zts-20050922 =>
/usr/local/lib/php/extensions/no-debug-non-zts-20050922
file_uploads => On => On
highlight.bg => #FFFFFF => #FFFFFF
highlight.comment => #FF8000 => #FF8000
highlight.default => #0000BB => #0000BB
highlight.html => #000000 => #000000
highlight.keyword => #007700 => #007700
highlight.string => #DD0000 => #DD0000
html_errors => Off => On
ignore_repeated_errors => Off => Off
ignore_repeated_source => Off => Off
ignore_user_abort => Off => Off
implicit_flush => On => Off
include_path => .:/php/includes:/usr/local/lib/php =>
.:/php/includes:/usr/local/lib/php
log_errors => Off => Off
log_errors_max_len => 1024 => 1024
magic_quotes_gpc => On => On
magic_quotes_runtime => Off => Off
magic_quotes_sybase => Off => Off
mail.force_extra_parameters => no value => no value
max_execution_time => 0 => 30
max_input_time => 60 => 60
open_basedir => no value => no value
output_buffering => 0 => no value
output_handler => no value => no value
post_max_size => 8M => 8M
precision => 12 => 12
realpath_cache_size => 16K => 16K
realpath_cache_ttl => 120 => 120
register_argc_argv => On => Off
register_globals => Off => Off
register_long_arrays => Off => Off
report_memleaks => On => On
report_zend_debug => Off => Off
safe_mode => Off => Off
safe_mode_exec_dir => no value => no value
safe_mode_gid => Off => Off
safe_mode_include_dir => no value => no value
sendmail_from => no value => no value
sendmail_path => /usr/sbin/sendmail -t -i  => /usr/sbin/sendmail -t -i
serialize_precision => 100 => 100
short_open_tag => On => On
SMTP => localhost => localhost
smtp_port => 25 => 25
sql.safe_mode => Off => Off
track_errors => Off => Off
unserialize_callback_func => no value => no value
upload_max_filesize => 2M => 2M
upload_tmp_dir => no value => no value
user_dir => no value => no value
variables_order => EGPCS => EGPCS
xmlrpc_error_number => 0 => 0
xmlrpc_errors => Off => Off
y2k_compliance => On => On
zend.ze1_compatibility_mode => Off => Off

ctype

ctype functions => enabled

date

date/time support => enabled
Timezone Database Version => 2006.1
Timezone Database => internal
Default timezone => Europe/Moscow

Directive => Local Value => Master Value
date.default_latitude => 31.7667 => 31.7667
date.default_longitude => 35.2333 => 35.2333
date.sunrise_zenith => 90.583333 => 90.583333
date.sunset_zenith => 90.583333 => 90.583333
date.timezone => no value => no value

dom

DOM/XML => enabled
DOM/XML API Version => 20031129
libxml Version => 2.6.16
HTML Support => enabled
XPath Support => enabled
XPointer Support => enabled
Schema Support => enabled
RelaxNG Support => enabled

hash

hash support => enabled
Hashing Engines => md4 md5 sha1 sha256 sha384 sha512 ripemd128
ripemd160 whirlpool tiger128,3 tiger160,3 tiger192,3 tiger128,4
tiger160,4 tiger192,4 snefru gost adler32 crc32 crc32b haval128,3
haval160,3 haval192,3 haval224,3 haval256,3 haval128,4 haval160,4
haval192,4 haval224,4 haval256,4 haval128,5 haval160,5 haval192,5
haval224,5 haval256,5

iconv

iconv support => enabled
iconv implementation => libiconv
iconv library version => 1.9

Directive => Local Value => Master Value
iconv.input_encoding => ISO-8859-1 => ISO-8859-1
iconv.internal_encoding => ISO-8859-1 => ISO-8859-1
iconv.output_encoding => ISO-8859-1 => ISO-8859-1

libxml

libXML support => active
libXML Version => 2.6.16
libXML streams => enabled

pcre

PCRE (Perl Compatible Regular Expressions) Support => enabled
PCRE Library Version => 6.6 06-Feb-2006

PDO

PDO support => enabled
PDO drivers => sqlite2, sqlite

pdo_sqlite

PDO Driver for SQLite 3.x => enabled
PECL Module version => (bundled) 1.0.1 $Id: pdo_sqlite.c,v 1.10.2.6
2006/01/01 12:50:12 sniper Exp $
SQLite Library => 3.2.8

posix

Revision => $Revision: 1.70.2.3 $

Reflection

Reflection => enabled
Version => $Id: php_reflection.c,v 1.164.2.33 2006/03/29 14:28:42 tony2001 Exp $

session

Session Support => enabled
Registered save handlers => files user sqlite
Registered serializer handlers => php php_binary

Directive => Local Value => Master Value
session.auto_start => Off => Off
session.bug_compat_42 => On => On
session.bug_compat_warn => On => On
session.cache_expire => 180 => 180
session.cache_limiter => nocache => nocache
session.cookie_domain => no value => no value
session.cookie_lifetime => 0 => 0
session.cookie_path => / => /
session.cookie_secure => Off => Off
session.entropy_file => no value => no value
session.entropy_length => 0 => 0
session.gc_divisor => 100 => 100
session.gc_maxlifetime => 1440 => 1440
session.gc_probability => 1 => 1
session.hash_bits_per_character => 4 => 4
session.hash_function => 0 => 0
session.name => PHPSESSID => PHPSESSID
session.referer_check => no value => no value
session.save_handler => files => files
session.save_path => no value => no value
session.serialize_handler => php => php
session.use_cookies => On => On
session.use_only_cookies => Off => Off
session.use_trans_sid => 0 => 0

SimpleXML

Simplexml support => enabled
Revision => $Revision: 1.151.2.22 $
Schema support => enabled

SPL

SPL support => enabled
Interfaces => Countable, OuterIterator, RecursiveIterator,
SeekableIterator, SplObserver, SplSubject
Classes => AppendIterator, ArrayIterator, ArrayObject,
BadFunctionCallException, BadMethodCallException, CachingIterator,
DirectoryIterator, DomainException, EmptyIterator, FilterIterator,
InfiniteIterator, InvalidArgumentException, IteratorIterator,
LengthException, LimitIterator, LogicException, NoRewindIterator,
OutOfBoundsException, OutOfRangeException, OverflowException,
ParentIterator, RangeException, RecursiveArrayIterator,
RecursiveCachingIterator, RecursiveDirectoryIterator,
RecursiveFilterIterator, RecursiveIteratorIterator, RuntimeException,
SimpleXMLIterator, SplFileInfo, SplFileObject, SplObjectStorage,
SplTempFileObject, UnderflowException, UnexpectedValueException

SQLite

SQLite support => enabled
PECL Module version => 2.0-dev $Id: sqlite.c,v 1.166.2.13 2006/04/18
14:30:15 iliaa Exp $
SQLite Library => 2.8.17
SQLite Encoding => iso8859

Directive => Local Value => Master Value
sqlite.assoc_case => 0 => 0

standard

Regex Library => Bundled library enabled
Dynamic Library Support => enabled
Path to sendmail => /usr/sbin/sendmail -t -i

Directive => Local Value => Master Value
assert.active => 1 => 1
assert.bail => 0 => 0
assert.callback => no value => no value
assert.quiet_eval => 0 => 0
assert.warning => 1 => 1
auto_detect_line_endings => 0 => 0
default_socket_timeout => 60 => 60
safe_mode_allowed_env_vars => PHP_ => PHP_
safe_mode_protected_env_vars => LD_LIBRARY_PATH => LD_LIBRARY_PATH
url_rewriter.tags =>
a=href,area=href,frame=src,input=src,form=,fieldset= =>
a=href,area=href,frame=src,input=src,form=,fieldset=
user_agent => no value => no value

tokenizer

Tokenizer Support => enabled

xml

XML Support => active
XML Namespace Support => active
libxml2 Version => 2.6.16

xmlreader

XMLReader => enabled

xmlrpc

core library version => xmlrpc-epi v. 0.51
php extension version => 0.51
author => Dan Libby
homepage => http://xmlrpc-epi.sourceforge.net
open sourced by => Epinions.com

xmlwriter

XMLWriter => enabled

xsl

XSL => enabled
libxslt Version => 1.1.11
libxslt compiled against libxml Version => 2.6.16
EXSLT => enabled
libexslt Version => 1.1.11

zlib

ZLib Support => enabled
Stream Wrapper support => compress.zlib://
Stream Filter support => zlib.inflate, zlib.deflate
Compiled Version => 1.2.2
Linked Version => 1.2.3

Directive => Local Value => Master Value
zlib.output_compression => Off => Off
zlib.output_compression_level => -1 => -1
zlib.output_handler => no value => no value

Additional Modules

Module Name

Environment

Variable => Value
NETHACKOPTIONS => !autopickup,autodig,lootabc,autoquiver,!cmdassist
MANPATH => /sw/share/man:/usr/share/man:/usr/X11R6/man:/sw/lib/perl5/5.8.6/man
TERM_PROGRAM => Apple_Terminal
DYLD_FALLBACK_LIBRARY_PATH => :
TERM => xterm-color
SHELL => /bin/bash
PERL5LIB => /sw/lib/perl5:/sw/lib/perl5/darwin
TERM_PROGRAM_VERSION => 133
OLDPWD => /Users/lyonavra/src
SGML_CATALOG_FILES => /sw/etc/sgml/catalog
USER => lyonavra
GDK_USE_XFT => 1
__CF_USER_TEXT_ENCODING => 0x1F5:0:0
PATH => /usr/local/bin:/sw/bin:/sw/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/sw/bin:/sw/local/bin
XML_CATALOG_FILES => /sw/etc/xml/catalog
PWD => /Users/lyonavra/src/php-5.1.4
SHLVL => 1
HOME => /Users/lyonavra
LOGNAME => lyonavra
INFOPATH => /sw/share/info:/sw/info:/usr/share/info
SECURITYSESSIONID => 518160
_ => /usr/local/bin/php

PHP Variables

Variable => Value
_SERVER["NETHACKOPTIONS"] => !autopickup,autodig,lootabc,autoquiver,!cmdassist
_SERVER["MANPATH"] =>
/sw/share/man:/usr/share/man:/usr/X11R6/man:/sw/lib/perl5/5.8.6/man
_SERVER["TERM_PROGRAM"] => Apple_Terminal
_SERVER["DYLD_FALLBACK_LIBRARY_PATH"] => :
_SERVER["TERM"] => xterm-color
_SERVER["SHELL"] => /bin/bash
_SERVER["PERL5LIB"] => /sw/lib/perl5:/sw/lib/perl5/darwin
_SERVER["TERM_PROGRAM_VERSION"] => 133
_SERVER["OLDPWD"] => /Users/lyonavra/src
_SERVER["SGML_CATALOG_FILES"] => /sw/etc/sgml/catalog
_SERVER["USER"] => lyonavra
_SERVER["GDK_USE_XFT"] => 1
_SERVER["__CF_USER_TEXT_ENCODING"] => 0x1F5:0:0
_SERVER["PATH"] =>
/usr/local/bin:/sw/bin:/sw/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/sw/bin:/sw/local/bin
_SERVER["XML_CATALOG_FILES"] => /sw/etc/xml/catalog
_SERVER["PWD"] => /Users/lyonavra/src/php-5.1.4
_SERVER["SHLVL"] => 1
_SERVER["HOME"] => /Users/lyonavra
_SERVER["LOGNAME"] => lyonavra
_SERVER["INFOPATH"] => /sw/share/info:/sw/info:/usr/share/info
_SERVER["SECURITYSESSIONID"] => 518160
_SERVER["_"] => /usr/local/bin/php
_SERVER["PHP_SELF"] =>
_SERVER["SCRIPT_NAME"] =>
_SERVER["SCRIPT_FILENAME"] =>
_SERVER["PATH_TRANSLATED"] =>
_SERVER["DOCUMENT_ROOT"] =>
_SERVER["REQUEST_TIME"] => 1162839171
_SERVER["argv"] => Array
(
)

_SERVER["argc"] => 0
_ENV["NETHACKOPTIONS"] => !autopickup,autodig,lootabc,autoquiver,!cmdassist
_ENV["MANPATH"] =>
/sw/share/man:/usr/share/man:/usr/X11R6/man:/sw/lib/perl5/5.8.6/man
_ENV["TERM_PROGRAM"] => Apple_Terminal
_ENV["DYLD_FALLBACK_LIBRARY_PATH"] => :
_ENV["TERM"] => xterm-color
_ENV["SHELL"] => /bin/bash
_ENV["PERL5LIB"] => /sw/lib/perl5:/sw/lib/perl5/darwin
_ENV["TERM_PROGRAM_VERSION"] => 133
_ENV["OLDPWD"] => /Users/lyonavra/src
_ENV["SGML_CATALOG_FILES"] => /sw/etc/sgml/catalog
_ENV["USER"] => lyonavra
_ENV["GDK_USE_XFT"] => 1
_ENV["__CF_USER_TEXT_ENCODING"] => 0x1F5:0:0
_ENV["PATH"] =>
/usr/local/bin:/sw/bin:/sw/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/sw/bin:/sw/local/bin
_ENV["XML_CATALOG_FILES"] => /sw/etc/xml/catalog
_ENV["PWD"] => /Users/lyonavra/src/php-5.1.4
_ENV["SHLVL"] => 1
_ENV["HOME"] => /Users/lyonavra
_ENV["LOGNAME"] => lyonavra
_ENV["INFOPATH"] => /sw/share/info:/sw/info:/usr/share/info
_ENV["SECURITYSESSIONID"] => 518160
_ENV["_"] => /usr/local/bin/php

PHP License
This program is free software; you can redistribute it and/or modify
it under the terms of the PHP License as published by the PHP Group
and included in the distribution in the file:  LICENSE

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

If you did not receive a copy of the PHP license, or have any
questions about PHP licensing, please contact license@xxxxxxxx

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux