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

 ID:               63504
 Updated by:       php-bugs@lists.php.net
 Reported by:      rsewava at hotmail dot com
 Summary:          include, include_once, require, require_once failure
-Status:           Feedback
+Status:           No Feedback
 Type:             Bug
 Package:          *General Issues
 Operating System: ubuntu 12.04
 PHP Version:      5.4.8

 New Comment:

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


Previous Comments:
------------------------------------------------------------------------
[2012-11-13 15:35:33] ras...@php.net

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

------------------------------------------------------------------------
[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