Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

edit on php.ini doesn't work

Tags:

php

apache

ini

I have PHP in an Apache2.

When I do a modification in my php.ini, like uncomment a module to active it, it doesn't work. In my phpinfo(), the Loaded Configuration File is on C:\php\php.ini, which is the right place.

I restart my Apache after every edition on the php.ini. PHP run well on the Apache.

So why I can't active my module ? (Actually I'm trying to active the PDO driver for MySQL)

like image 345
Emilie Avatar asked Jan 27 '26 13:01

Emilie


2 Answers

Uncomment this line to consider extensions :

; extension_dir = "ext"
like image 94
Lynxi Avatar answered Jan 29 '26 04:01

Lynxi


extension_dir is the problem - make sure you have that pointing to the directory, where your DLL is.

like image 33
blue Avatar answered Jan 29 '26 04:01

blue