Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PHP extensions?

Status
Not open for further replies.

wolf73

Programmer
Joined
Feb 12, 2006
Messages
93
Location
CA
Hi,

What are PHP extensions? How do they work. i host most of my sites on a hosting company server, how can I find out out if they have installed all the extensions?

Thanks
 
hey,

I would try:
Code:
<?php
print_r(get_loaded_extensions());
?>

that should tell you which extensions are installed on your hosted account.


Travis Hawkins
BeachBum Software
 
php extensions are pre-loaded classes that allow php to do extra things, outside its core functions. examples include:

interacting with a mysql or other database (some classes are built in to php at compile time but as of php 5 mysql is no longer compiled in)
extending the maths functionality
providing graphing and other graphic capabilities

phpinfo(); will provide a screen dump of lots of useful information about your php installation as well as all the loaded extensions. some hosts also allow you to upload your own instances of php (as a cgi) in which case you can control your own extensions through local php.ini files.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top