Page 1 of 1

Checking if server supports PHP and PDF

Posted: 21 Feb 2011, 10:33
by DarkRanger
Hi all,

I would like to know how I can check if a server supports the creation of PDF's using PHP.

Also sommer while we are at it, if it supports the creation of Excel documents using PHP.

Thanks in advance.

Re: Checking if server supports PHP and PDF

Posted: 21 Feb 2011, 13:21
by DeathStrike
login to the server... and from the servers terminal/command line type php -i press enter.

it should list in that mess that comes up if you have it installed or not. :P

of course if it tells you it doesn't know what php is then php is not installed. :)

Re: Checking if server supports PHP and PDF

Posted: 21 Feb 2011, 15:01
by DarkRanger
Php 5.0 is installed, that I know.

Thing is I can't get into the servers terminal as it's a shared hosting solution.

Re: Checking if server supports PHP and PDF

Posted: 21 Feb 2011, 15:12
by DarkRanger
Seems like PDF is enabled by default in PHP 5. So too is XLS.

Lots of googling. Thanks!