Michael
Michael

Reputation: 1

Settings of php.ini seem to be overwritten using xampp

I want to load some extensions, but my changes in the php.ini file do not have any effect. I have xampp installed on Windows and set extension_dir in php.ini to "C:\xampp\php\ext", which is where xampp installed my extensions. But when I call phpinfo(), extension_dir is shown as C:\php\ext which is not correct. Already verified that it's the correct php.ini and did some stop and start of apache. Also, I checked the loaded modules with get_loaded_extensions(), but my desired extension -mbstring etc- aren't displayed.

Any help is appreciated.

Upvotes: 0

Views: 1351

Answers (1)

Michael
Michael

Reputation: 1

Finally, it was an unexpected sign & somewhere else in the php.ini file. Found it by typing prompt php.

Upvotes: 0

Related Questions