How can the php.ini file be properly configured to specify the extension directory in PHP installation?
To specify the extension directory in PHP installation, the php.ini file needs to be properly configured by setting the "extension_dir" directive to the path where the PHP extensions are located. This ensures that PHP can find and load the necessary extensions when required.
; Specify the extension directory
extension_dir = "path/to/extension/directory"