Title: Adding PHP in posts
Last modified: August 18, 2016

---

# Adding PHP in posts

 *  [ch0de](https://wordpress.org/support/users/ch0de/)
 * (@ch0de)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/adding-php-in-posts/)
 * I am running WordPress 2.0.1, K2, and I installed/tried both PHPexec and RUNPHP
   to try to run PHP codes. I tried both examples they had, and my own code, and
   It didnt work. Am I missing a update or something?

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

 *  [vkaryl](https://wordpress.org/support/users/vkaryl/)
 * (@vkaryl)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/adding-php-in-posts/#post-319020)
 * Well, no telling…. k2 is it’s “own version” – almost a fork – of wp, and you 
   really need to ask that sort of question on its forum…. sorry!
 *  Thread Starter [ch0de](https://wordpress.org/support/users/ch0de/)
 * (@ch0de)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/adding-php-in-posts/#post-319022)
 * Ah, ok. i thought it might of been a WP problem. Thanks.
 *  [blogesque](https://wordpress.org/support/users/blogesque/)
 * (@blogesque)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/adding-php-in-posts/#post-319039)
 * Try the CG-QuickPHP plugin:
 * [http://www.chait.net/index.php?p=310](http://www.chait.net/index.php?p=310)
 * I use it a little bit and it seems to work fine.
 *  [davidchait](https://wordpress.org/support/users/davidchait/)
 * (@davidchait)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/adding-php-in-posts/#post-319047)
 * Note that QuickPHP was designed (from the name..) to be a quick solution. It 
   can handle ONE function call (which could be say an ‘include(blah)’ statement…),
   and handles strings, numbers, and booleans — but no other variables or php globals.
   I use it frequently for plugins that have a one-shot function call to ‘do their
   thing’, and embed into a page or something.
 * -d
 *  [Truth](https://wordpress.org/support/users/truth/)
 * (@truth)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/adding-php-in-posts/#post-319131)
 * Try EXEC PHP..
 * I’m using on my wp 2 and it’s working for me 🙂
 * [http://www.soeren-weber.net/post/2005/08/18/50/](http://www.soeren-weber.net/post/2005/08/18/50/)
 * // the link from the site is down though =(
 *  [McShelby](https://wordpress.org/support/users/mcshelby/)
 * (@mcshelby)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/adding-php-in-posts/#post-319136)
 * Yes, the above link is down because I have issues with my permalinks that I haven’t
   solved yet. But without the www it should work:
 * [http://soeren-weber.net/post/2005/08/18/50/](http://soeren-weber.net/post/2005/08/18/50/)

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

The topic ‘Adding PHP in posts’ is closed to new replies.

 * 6 replies
 * 6 participants
 * Last reply from: [McShelby](https://wordpress.org/support/users/mcshelby/)
 * Last activity: [20 years, 4 months ago](https://wordpress.org/support/topic/adding-php-in-posts/#post-319136)
 * Status: not a support question

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
