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?
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.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.