If I uncomment any of the following lines in the .ini file
; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
; Development Value: E_ALL
; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
it doesnt load the API Extensions mysql,mysqli
it will just show API Extensions.
Those three lines ARE comments, just showing what the suggested values are for those cases. The actual setting is the line -
If there's a syntax error in the php.ini, which would be the case of un-commenting one of the comments, all the lines after the point of the error won't be processed.
No matter what I do or set the extension_dir = to, it still stays c:/php/ext/ in the phpinfo();
An syntax error in a value for a setting would cause the default setting to be used. What is the actual syntax for the line where you are using to try and set the extension_dir to a value? Also, the extension_dir setting is after the error_reporting setting, so any syntax error php.ini near the error_reporting setting would cause the extension_dir setting to not be processed.