Title: Server Side Includes
Last modified: December 23, 2016

---

# Server Side Includes

 *  [zaaba](https://wordpress.org/support/users/zaaba/)
 * (@zaaba)
 * [22 years, 2 months ago](https://wordpress.org/support/topic/server-side-includes/)
 * I’ve read a post where allusion pointed out that there is no plan whatsoever 
   to enable php scripts to be run from posts.
    While I understand the security 
   ramifications behind this, is there any possible way to create a hack to circumvent
   this strict rule? So far, I’ve discovered Stevarino’s [PHP HACK](http://stevarino.com/2004/03/wordpress-hack-php-entries/)
   but it doesn’t seem to work. I keep on getting parse errors when trying to run
   a php include. Anyway, that aside, is there anyway this could be enabled as an
   OPTION? Even if this is too much to ask, how about allowing normal SSI includes
   using `!--#include file="foo.php" --` instead? Thanks!

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

 *  [stevarino](https://wordpress.org/support/users/stevarino/)
 * (@stevarino)
 * [22 years, 2 months ago](https://wordpress.org/support/topic/server-side-includes/#post-39419)
 * Ahhh.. Allusion said that?!? Wish someone told me before I had published that…:\
   
   Oh well, give the people what they want, or else they’ll just go somewhere else.
   This is very ironic considering my [last comment](http://wordpress.org/support/6/3200#post-21).
   D’oh! You should have asked about the parse errors. I foolishly did little testing,
   but [it’s better now](http://stevarino.com/2004/03/wordpress-hack-php-entries/).
   I also included a new feature so that when you do recieve a parse error, it outputs
   the problem-code to “wp-php.txt.” This will hopefully speed up any debugging 
   in future problems.
 *  Moderator [Matt Mullenweg](https://wordpress.org/support/users/matt/)
 * (@matt)
 * [22 years, 2 months ago](https://wordpress.org/support/topic/server-side-includes/#post-39427)
 * You can’t mix SSI and PHP.

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

The topic ‘Server Side Includes’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 3 participants
 * Last reply from: [Matt Mullenweg](https://wordpress.org/support/users/matt/)
 * Last activity: [22 years, 2 months ago](https://wordpress.org/support/topic/server-side-includes/#post-39427)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
