PHP Script to List Enabled Extensions

Create a php script with following content

See php