Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 180
  • Last Modified:

How do I know if my providers server has PHP and what version?

I am new to web development and I want to run a PHP script on my providers server but when I upload any files that end in .php all I see is a blank page.  Is there any way that I can tell if they are running PHP and if so, what version it is?

Thank you.
0
RebeSimba
Asked:
RebeSimba
1 Solution
 
RWJDComCommented:
If any php files you are uploading are showing up as blank pages it would be safe to assume that the server does not have PHP installed on it, but a surefire way to find out is to create a php file with the following in it...

<?php

   phpinfo();

?>

That will display all of the information about php, including the version number, if it is installed on the server.
0
 
RebeSimbaAuthor Commented:
It still shows up blank so I guess it doesn't have PHP installed.

Thank you for the quick response.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now