Title: Can&#8217;t execute PHP in post/pages WITH Exec-PHP
Last modified: August 19, 2016

---

# Can’t execute PHP in post/pages WITH Exec-PHP

 *  [agnosticiconoclast](https://wordpress.org/support/users/agnosticiconoclast/)
 * (@agnosticiconoclast)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/cant-execute-php-in-postpages-with-exec-php/)
 * Hey guys, my wordpress is located at [http://lifeaspaul.com](http://lifeaspaul.com),
   and I’m trying to enable it so that I can use PHP code in a post/page (to display
   hit counter stats on a page). Anyways, I have installed Exec PHP v4.4, and the
   plugin installed correctly and is enabled in my plugins menu, but I am still 
   unable to use PHP in my posts/pages. I’m running WP v2.3.3.
 * Here’s all I’m trying to do:
    `<?php echo counterize_getuniqueurl() ?>`
 * And when I save the post and come back to edit it, this is what I get in the 
   VISUAL write tab:
    `< ?php echo counterize_getuniqueurl() ?>` And this is what
   I get in the CODE write tab: `&lt(;) ?php echo counterize_getuniqueurl() ?&gt(;)`(
   the `<` and `>` have been parsed into the code, &lt and &gt)
 * Can anyone tell me how I can enable PHP in my posts and pages please?

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

 *  Thread Starter [agnosticiconoclast](https://wordpress.org/support/users/agnosticiconoclast/)
 * (@agnosticiconoclast)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/cant-execute-php-in-postpages-with-exec-php/#post-715623)
 * Anyone??
 *  [whistler2020](https://wordpress.org/support/users/whistler2020/)
 * (@whistler2020)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/cant-execute-php-in-postpages-with-exec-php/#post-715626)
 * I dont see any php code

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

The topic ‘Can’t execute PHP in post/pages WITH Exec-PHP’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [whistler2020](https://wordpress.org/support/users/whistler2020/)
 * Last activity: [18 years, 1 month ago](https://wordpress.org/support/topic/cant-execute-php-in-postpages-with-exec-php/#post-715626)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
