Are there any best practices for managing PHP extensions in a custom PHP installation directory?
When managing PHP extensions in a custom PHP installation directory, it is important to ensure that the extensions are properly configured and loaded by PHP. One best practice is to update the php.ini file to include the custom directory path for extensions using the `extension_dir` directive. Additionally, you can use the `extension` directive in the php.ini file to specify individual extensions to load from the custom directory.
extension_dir = "/path/to/custom/php/extensions"
extension=my_extension.so