Problem 1:
No matter what I do or set the extension_dir = to, it still stays c:/php/ext/ in the phpinfo();

Problem 2:
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.

Also and now my code is giving me a a notice:
PHP Notice: Undefined offset: 1 in C:\inetpub\wwwroot\xml2\search_results.php on line 111

    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 -

    error_reporting=E_ALL

    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.

      Write a Reply...