Re: Size Limit for PHP scripts
| From: | Michael Kimsal | Date: | Fri, 30 Mar 2001 21:36:04 +0000 |
| Subject: | Re: Size Limit for PHP scripts | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-46392@lists.php.net to get a copy of this message | ||
To reiterate Cal's statement, we've not had issues with PHP size, other than speed.
HUGE scripts take longer to compile and parse, but overall we've been fine. I've
got scripts that are in excess of 1500 lines, which also include templates and other
classes, which would often put the combined files >100k. Runs fine on a
128Meg P300. (ok, not FINE, but adequately, with no crashes).
Wally Hartshorn wrote:
> 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