How does PHP load extensions relative to the extension_dir in the php.ini file?

When PHP loads extensions, it looks for them relative to the `extension_dir` specified in the `php.ini` file. If the extensions are not found in that directory, PHP will not be able to load them. To solve this issue, ensure that the extensions are placed in the correct directory specified by `extension_dir` in the `php.ini` file.

extension_dir = "path/to/extensions/directory"
extension = extension_name.so