Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I was wondering if anyone knows of a free blog site (ie wordpress, blogspot, livejournal) that allows people to include php into their posts?

Any leads would be greatly appreciate.

cheers!

share|improve this question
    
Question needs clarification - are you looking for PHP hosting or the ability to publish code snippets? –  danlefree Sep 6 '12 at 1:09
add comment

closed as not a real question by danlefree Sep 6 '12 at 1:09

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

3 Answers

You're unlikely to find a free hosted blog platform that allows PHP; it would be hard to block access to functions that could prove harmful to other users of the service without crippling PHP severely.

If you want more control than a hosted blogging platform like WordPress.com offers, try downloading a copy of WordPress yourself from WordPress.org, then setting it up on a cheap shared server with one of the hosting partners they recommend.

share|improve this answer
add comment

What exactly are you trying to accomplish? There's a pretty significant problem here in that regardless of the hosting service, most CMS applications by default won't let you put arbitrary code into the content anyway. It'll usually just get stripped on output.

There are often ways to force it(eg. Wordpress' Exec-PHP), but it's highly unlikely any hosted service is going to offer you that, for basically the reasons in Nick's answer.

share|improve this answer
add comment

Do you mean runnable PHP? If so then no, I don't think their are any, and if they did I would not be recommending them.

If you mean so you can do something like;

$x = 5;
echo $x

Then most will come with at the very least code for using the <pre> tag and if not Wordpress has several plugins that will do this and will work on the free install.

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.