How to Tell if I Have PHP5 in WordPress
By doing a little simple coding and uploading that code to your server you can find out what version of PHP your server is running. Wordpress 3.1 will be the last version of Wordpress to support PHP 4. Wordpress 3.2, which is in beta testing as of May 2011, will only support PHP 5. As of May 2011 only about 4.4 percent of Wordpress blogs are running some version of PHP 4, so there is a good chance you are running PHP 5.
Instructions
-
-
1
Create a new text file with Notepad. The file should contain the text "<?php phpinfo(); ?>"--without the quotes of course--and nothing else. Save the file as phpinfo.php.
-
2
Upload phpinfo.php to the server that hosts your Wordpress blog using your FTP software. Some hosting services will allow you to log in to your server without any FTP software, usually by navigating to "ftp.your-website-address.com" in your Web browser. Upload phpinfo.php to the root directory of your Wordpress blog. It should be the directory with the folders wp-admin, wp-content and wp-includes.
-
-
3
Navigate to "www.your-website-address.com/phpinfo.php" in your web browser. At the top of the page it should tell you what version of PHP your hosting service is running.
-
4
Connect via FTP to your server and delete phpinfo.php unless you have some further need of it.
-
1
References
- Photo Credit Comstock/Comstock/Getty Images