Emanuil Rusev
Emanuil Rusev

Reputation: 35235

Why are some PHP extensions disabled by default in a XAMPP server?

There are a few PHP extensions (such as cURL) that are disabled by default in a XAMPP server.

What is the reason for that?

Is it mostly performance that's taken into consideration, is it security or is it something else?

Upvotes: 0

Views: 412

Answers (2)

Nikoloff
Nikoloff

Reputation: 4160

I'd say all of the above, with performance being the first reason. Why waste the time and memory to initialize something that you might never use?

Upvotes: 0

John Cartwright
John Cartwright

Reputation: 5084

Most likely it is because of performance reasons, to only load the necessary modules required by the user. It comes with the extensions installed because there is a relatively big likelihood the user would need the extension, but do not impose it upon them.

Upvotes: 2

Related Questions