Checking if server supports PHP and PDF

Discussion and support for all Linux distributions and Unix flavours (FreeBSD, OpenBSD, etc).
Post Reply
DarkRanger
Registered User
Posts: 8346
Joined: 10 May 2006, 02:00
Processor: Intel i5-3750
Motherboard: Gigabyte
Graphics card: nVidia GTX 550Ti
Memory: 8GB Jetram
Contact:

Checking if server supports PHP and PDF

Post 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.
Image
DeathStrike
Registered User
Posts: 2663
Joined: 29 Jul 2004, 02:00
Location: hidden deep in the depths of the underworld is my home.
Contact:

Re: Checking if server supports PHP and PDF

Post 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. :)
Spoiler: (show)
Image
SIG by HMAN 8)
Member of The Pride Of Darkness
DeathStrike on Twitter
About me
Spoiler: (show)
Asus P5KPL-CM motherboard, 4 GIG RAM, Q6600 @ 2.88GHz (Thanks Anthro), GeForce 8600GT, Samsung 2333 23" + CRT 17" Monitors. 500GB + 1.5TB HDD, Compro TV tuner, 350 WATT PSU
DarkRanger
Registered User
Posts: 8346
Joined: 10 May 2006, 02:00
Processor: Intel i5-3750
Motherboard: Gigabyte
Graphics card: nVidia GTX 550Ti
Memory: 8GB Jetram
Contact:

Re: Checking if server supports PHP and PDF

Post 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.
Image
DarkRanger
Registered User
Posts: 8346
Joined: 10 May 2006, 02:00
Processor: Intel i5-3750
Motherboard: Gigabyte
Graphics card: nVidia GTX 550Ti
Memory: 8GB Jetram
Contact:

Re: Checking if server supports PHP and PDF

Post by DarkRanger »

Seems like PDF is enabled by default in PHP 5. So too is XLS.

Lots of googling. Thanks!
Image
Post Reply