;
in php.ini
means comment line .
Message does not count comment lines. So line 3 means 3rd line after top comments.
EDIT 1 : Be sure your are opening right php.ini
file which PHP really use
EDIT 2 : use phpinfo();
and at the result page see Loaded Configuration File
value. it shows you php.ini
file which currently using.
Note: restart your apache