Solved

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

Posted on 2006-06-29
2
175 Views
Last Modified: 2010-04-20
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
Comment
Question by:RebeSimba
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 8

Accepted Solution

by:
RWJDCom earned 125 total points
ID: 17014427
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
 

Author Comment

by:RebeSimba
ID: 17014462
It still shows up blank so I guess it doesn't have PHP installed.

Thank you for the quick response.
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question