Gotta Love Upgrades… PHP5
Filed Under (Daily Posts) by Cynthia on Dec 18, 2007 8:21 pm
Tagged Under : Blog, Tech
Well, even though my host’s CPanel says I’m still on PHP4, apparently they are upgrading my server to PHP5. And today, randomly, while I was attempting to install some nice feedburner code, my blogs all stopped working.
So I’ve been sitting here tonight, amongst my dehumidifiers, trying to find the solution to this problem. I want my blogs to be up and running!
I think they are all okay now. I went to the bluehost forums to see if anyone had an answer. When trying to open my blog pages I would get a file open/save box with this:
You have chosen to open
which is a: application/x-httpd-php
from: http://www.pixietail.comWhat should Firefox do with this file?
Hrm… I wondered what was up. So I did some yahooing to find out what was going on. Well, turns out that PHP5 has something that doesn’t work well with the include() function. According to this Action Online webpage.
And so I changed include() to require_once() and viola, it’s fixed, and works fine.
So if you have this problem, here is the solution. ![]()
You may not have this problem!











I hate finding my blog down.. I am viewing yours fine today so looks like the problem is solved, yay for you! Thanks for the fix!
Talina’s last blog post..Wordless Wednesday- Dang, I am tired!
I hate finding my blog down.. I am viewing yours fine today so looks like the problem is solved, yay for you! Thanks for the fix! <em>Talina's last blog post..<a href='http://www.harvestofdailylife.com/wordless-wednes...rel="nofollow">Wordless Wednesday- Dang, I am tired!</a></em>
Thanks Talina! I’m glad it worked.
Thanks Talina! I'm glad it worked.
Sorry to hear your blog was down. Upgrading PHP can be problematic. A lot of people’s scripts don’t run on PHP-5 — yet at the same time, the newer PHP scripts won’t run on anything less than php-5.
At any rate, I think you have a beautiful blog. Nice choice of colors and the layout is perfect for finding what you want. You have obviously put a lot of time and attention into it.
Kind regards,
Martin
http://www.zyon.com
Sorry to hear your blog was down. Upgrading PHP can be problematic. A lot of people's scripts don't run on PHP-5 — yet at the same time, the newer PHP scripts won't run on anything less than php-5.
At any rate, I think you have a beautiful blog. Nice choice of colors and the layout is perfect for finding what you want. You have obviously put a lot of time and attention into it.
Kind regards,
Martin
http://www.zyon.com