ID:               26670
 Updated by:       [EMAIL PROTECTED]
 Reported By:      transporteraccident at hotmail dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Reproducible crash
 Operating System: Fedora Core 1
 PHP Version:      4.3.3
 New Comment:

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

Increase the size of memory_limit in the php.ini.


Previous Comments:
------------------------------------------------------------------------

[2003-12-19 13:54:32] transporteraccident at hotmail dot com

Description:
------------
I've been trying to use multiple levels of includes to create a kind of
inheritance effect.  Each directory has an "init.php" which includes
the "init.php" file from the directory one level above.  I was hoping
to have this work, but after a few levels deep, I start getting errors
like:

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
allocate 3840 bytes) in /www/php-example/1/init.php on line 2

Logically, I'm thinking this should work, since each include file will
include the file from above and, so forth.

Reproduce code:
---------------
http://129.219.146.200/php-example/1/2/init.php

Expected result:
----------------
File name: /php-example/init.php
Current value of $path = /php-example/
File name: /php-example/1/init.php
Current value of $path = /php-example/1/
File name: /php-example/1/2/init.php
Current value of $path = /php-example/1/2

Actual result:
--------------
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
allocate 3840 bytes) in /www/php-example/1/init.php on line 2


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


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

Reply via email to