RE: [PHP] Size Limit for PHP scripts
| From: | Cal Evans | Date: | Fri, 30 Mar 2001 19:53:39 +0000 |
| Subject: | RE: [PHP] Size Limit for PHP scripts | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-46371@lists.php.net to get a copy of this message | ||
If there is, I've not found it. I have many pages that include files that
contain class definitions. My average page includes 8 classes and my
average class is 250-400 lines of code.
Have you debugged your individual scripts first before including them in
other pages?
Cal
http://www.calevans.com
-----Original Message-----
From: Wally Hartshorn [mailto:Wally.Hartshorn@epa.state.il.us]
Sent: Friday, March 30, 2001 1:53 PM
To: php-general@lists.php.net
Subject: [PHP] Size Limit for PHP scripts
Is there a limit to the size of PHP scripts? I'm having a problem in which
scriptA.php is including() scriptB.php, which then requires() scriptC.php.
The result is that PHP itself dies. If I remove some code from scriptA.php
to reduce the size of the script, it works fine. (The code that I'm removing
wasn't being executed during this testing, so the code itself wasn't the
problem.)
If there is some limit, is there a parameter I can set to change it?
Here's my setup:
PHP 4.0.4 pl1
iPlanet 4.1 sp5
Solaris 2.7
Sun ES 250, 1GB RAM
Thanks,
Wally Hartshorn
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net