|
-
Sep 1st, 2002, 10:14 PM
#1
Thread Starter
PowerPoster
How can I tell if my Server will run PHP?
Well the place I'm hosted at is abit povo.. and I was wondering if theres any simple piece of code that I could use to see if it'll work..
-
Sep 1st, 2002, 10:40 PM
#2
Member
make a file called test.php and put the following in it.
<?php
phpinfo();
?>
if u see lots of details, thats good, otherwise, the server doesn't run PHP
-
Sep 1st, 2002, 10:44 PM
#3
Thread Starter
PowerPoster
Nope, comes up blank, with the files source being
VB Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252"></HEAD>
<BODY><PRE></PRE></BODY></HTML>
-
Sep 2nd, 2002, 11:46 AM
#4
Stuck in the 80s
That probably means it's not enabled, unless it requires .php3 or .php4 extensions.
-
Sep 2nd, 2002, 07:12 PM
#5
Fanatic Member
That or the hosting company disabled the php_info() function.
You should try an echo command like so:
PHP Code:
<?php
echo "Hello World!"; // what I geeky phrase, :p
?>
(be sure to name your file with a .php extension)
-
Sep 2nd, 2002, 07:13 PM
#6
Fanatic Member
LOL, I found a bug in vBulletin
-
Sep 3rd, 2002, 01:07 AM
#7
Thread Starter
PowerPoster
Nope 
There supposed to be using PHP 4..
Anyways, I asked to be moved to a server were PHP is definately working, or that he get it going on mine.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|