Title: 50 lines php execution limit
Last modified: August 19, 2016

---

# 50 lines php execution limit

 *  Resolved [cogmios](https://wordpress.org/support/users/cogmios/)
 * (@cogmios)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/50-lines-php-execution-limit/)
 * I have a strange problem. I have a page of php code that is about 100 lines. 
   It only consists of filling an $output variable with text and outputting it at
   the end.
 * If the lines of code exceed about 50 lines it displays nothing on the page. …?
 * No matter if I take the bottom part or the bottom part or whatever if it is smaller
   than 50 lines it will display that part if it is longer it will display nothing.
 * I use the php-exec plugin for executing php code (for year).
 * I have a lot of pages with php code but this is the first time I run into this
   problem.
 * Is there somewhere a limit on the amount of php lines?
 * p.s. I have already enlarged the execution time but in general the page only 
   needs a few seconds to complete.
    p.p.s. Locally on my XAMP installation the 
   page displays without a problem.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [cogmios](https://wordpress.org/support/users/cogmios/)
 * (@cogmios)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/50-lines-php-execution-limit/#post-1328979)
 * Noone ever answers on these forums. But probably its a good remedy to post my
   issues here anyway as a todolist.
 * I’m still in the dark on this one.
 * I have many many php pages that work well. I have a couple now that display this
   behaviour, somehow the length of it generates an absolutely blank page. By randomly
   taking out some parts it displays.
 * I scanned the serverlogs but those, including the error logs give nothing, i 
   tried setting memory php, to no avail.
 * I reformatted my php code, taking out all possible weird queries except for simple
   assignments but to no avail.
 * Its not really the length of the page. It’s something somewhere with amount of
   php statements or really something completely different.
 * E.g. if I add $a=1; extra it displays nothing if I comment it out, it displays
   the page. Just that one statement is somehow to much.
 *  Thread Starter [cogmios](https://wordpress.org/support/users/cogmios/)
 * (@cogmios)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/50-lines-php-execution-limit/#post-1329045)
 * Ok … this one was also pretty hard to find out. I have spend many days before
   I found it out…
 * I use the php-exec plugin.
 * As soon as i place a <hr> tag somewhere either directly or by generating it from
   php code e.g. from a database string. It completely utterly displays nothing.
   As soon as I remove the hr tags it works….
 * Who can think of this????????

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘50 lines php execution limit’ is closed to new replies.

## Tags

 * [limit](https://wordpress.org/support/topic-tag/limit/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [php-exec](https://wordpress.org/support/topic-tag/php-exec/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 1 participant
 * Last reply from: [cogmios](https://wordpress.org/support/users/cogmios/)
 * Last activity: [16 years, 4 months ago](https://wordpress.org/support/topic/50-lines-php-execution-limit/#post-1329045)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
