Thank you esmi,
I have asked the host and await their reply.
Best regards
Tog
Hi Togfather –
Ask your host what version of PHP they are running. I just got this same error and it was because my host was running PHP4. Worth a shot. π
Thank you , they have come back to me and said it should be working now, but instead of an error I now get a completely blank page π
Seems like I have the same problem .I am with hostgator should I be talking with them??
I have deleted all files and then re-loaded everything but still get blank page. However on reading the config file I see that it appears I should have a mysql database, which I don’t so that is probably the problem
Regards
Tog
Hi,
Just replying to who it concerns. Aarongeiser I think you had another similar post in another topic referring to 1and1 hosting. I’m also on 1and1 on one of their Linux servers. To overcome the problem I edited the .htaccess so top two lines are:
AddType x-mapp-php5 .php
AddHandler x-mapp-php5 .php
There’s also a global PHP option in 1and1’s admin, which defaults to 4, which I changed to 5. Should work after that.
shel.80,
Your’s one is Linux server, its LAMP setup, you have .htaccess file.
Togfather’s one is / was Microsoft Windows Server, fortunately or unfortunately.
Please make sure about the basic need to run WordPress before opting for a webshost from this webpage of WordPress. LAMP (Linux Apache MySQL PHP) is the easier setup to run WordPress (practically most Open Source CMS).
To check what version of PHP is running on a Linux server, simply copy paste this code on any text editor :
<?php phpinfo() ?>
Name it as anything.php, and put it on your public folder’s root via (s)FTP. Simply run the script by pointing your browser to :
www.yourwebsitesname.com/anything.php
Delete it after checking (its a security risk).
WordPress can run on Windows server too, but it is a bit painful for various reasons. Download, install, and configure WordPress with the Microsoft Web Platform Installer (Web PI).
Normally, all installation instructions on WordPress is for Linux server unless otherwise mentioned.
If you do not know about server things, please check the list of webhosts listed by WordPress.
I hear folks replys about checking the PHP version running on your server – as well as checking the server engine as well. Makes sense.
However – didn’t another user report that previous versions of WordPress returned a message saying that your PHP version is out of date?
Shouldn’t that also be occurring on the latest versions of WordPress? If so, this could be a bug. Can anyone verify?
– Aaron
as of WordPress version v3.2, the minimum requirements have been PHP 5.2.4 & MySQL 5.0. Anyone whose server does not meet those requirements will be running a version previous to 3.2- and on attempting to upgrade to 3.4.x will get the error message just as they would have had they attempted to upgrade to 3.2.x or 3.3.x
Thanks for pointing that out Abhishek Ghosh,
Then I guess,as esmi pointed out, it’s all about checking with the hosting co, especially if you’re on a shared server. If it’s a dedicated or vps then *maybe* you to change php version from a control panel such as Plesk, if available. If you’re still not sure, best to ask hosting.
You are welcome shel.80.
Yes as esmi said, the quick and right answer is checking with the hosting company (specially for the shared).
If PHP is of back version, with older versions of PHP, one can install any back version of WordPress (3.1 downwards) temporarily for testing. However, for security reasons, it is not advisable to run with this setup forever for a live serious website.
It is not any bug actually, as cubecolour pointed, the minimum requirement has been updated.
Guys, if you entounter this problem,
be sure your server is running PHP5.
Otherwise, enable it yourselves by adding a .htaccess file in your directory that contains this string : SetEnv PHP_VER 5
Do not edit your WordPress core files! π
Windows Servers might not have .htaccess file. Most does not have as it requires Apache to run on the server (LAMP setup).
Usage of SetEnv PHP_VER 5
is written elaborately in WordPress codex.