Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199807

[PHP3] 3.0.2 segmentation fault with dir() From: Michael Fuhr (mfuhr <email protected>)
Date: 07/19/98

I know I'm flirting with danger, but here's my setup:

    Apache 1.3.1 (not yet released; fetched from dev.apache.org)
    mod_perl 1.14 (released today; built with EVERYTHING=1)
    PHP 3.0.2 (released today; built as Apache module)

When I try to view examples/dir.php3 I get the dreaded "document
contains no data" and the following message appears in error_log:

    [notice] httpd: child pid 32607 exit signal Segmentation fault (11)

The culprit appears to be dir() -- here's a shorter example that
produces the same error:

    <html>
    <head><title>Test</title></head>
    <body>
    Test
    <? $dir = dir("."); ?>
    </body>
    </html>

opendir() & friends work fine.

-- 
Michael Fuhr
http://www.fuhr.net/~mfuhr/

-- PHP 3 Mailing List http://www.php.net/ To unsubscribe send an empty message to php3-unsubscribe <email protected> To subscribe to the digest list: php3-digest-subscribe <email protected> For help: php3-help <email protected> Archive: http://www.tryc.on.ca/php3.html