Edit report at https://bugs.php.net/bug.php?id=63504&edit=1

 ID:                 63504
 Updated by:         ras...@php.net
 Reported by:        rsewava at hotmail dot com
 Summary:            include, include_once, require, require_once failure
-Status:             Open
+Status:             Feedback
 Type:               Bug
 Package:            *General Issues
 Operating System:   ubuntu 12.04
 PHP Version:        5.4.8
 Block user comment: N
 Private report:     N

 New Comment:

You need to provide way more info here. Check your logs, are you getting a 
segfault? If so, we'll need a backtrace.


Previous Comments:
------------------------------------------------------------------------
[2012-11-13 15:14:35] rsewava at hotmail dot com

Description:
------------
include, include_once, require, require_once generate an HTTP Error 500 
(Internal 
Server Error). It would be understandable for require and require_once to 
generate these errors if the files were missing but the files are there and 
even 
include and include_once generate them.
I have found though that if I keep changing which of these functions I use I 
get 
positive results.
so for example if I try include and it fails, include_once may work instead, if 
that fails require may work instead, if that fails require_once may work. 
However 
i have found a situation where they have all failed and bring the error 
mentioned 
above.
Also have noticed that failure depends on the size of the file included. when 
files are small it works. As file size increases so does likelihood of failure

Test script:
---------------
<?php
        include('include/check_if_x_is_a_positive_integer.php');
        include('include/select_x_unique_random_y_from_database.php');
?>

Expected result:
----------------
files to be included

Actual result:
--------------
HTTP Error 500 (Internal Server Error)


------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=63504&edit=1

Reply via email to