Custombuild adds dll to linux php.ini?

zmippie

Verified User
Joined
Apr 19, 2015
Messages
161
I ran Custombuild (2.0) yesterday to update everything, including php5.6 and php7.0. Everything seemed to have gone well, except that this line ended up uncommented in /usr/local/php56/lib/php.ini:

Code:
extension=php_openssl.dll

As this is CentOS 6.6, it obviously resulted in:

Code:
NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/php56/lib/php/extensions/no-debug-non-zts-20131226/php_openssl.dll' - /usr/local/php56/lib/php/extensions/no-debug-non-zts-20131226/php_openssl.dll: cannot open shared object file: No such file or directory in Unknown on line 0

Is this a bug in Custombuild?
 
CustomBuild does not touch any dll lines in php.ini file, it must have been a human (or some kind of 3rd party application), who uncommented that extension line there.
 
Strange, the update was from PHP 5.6 to PHP 5.6. I'm not sure what the previous version exactly was, but the line was not commented out earlier.
Anyway, thanks for the feedback Martynas.
 
To prevent changes being made by new php versions, you could also use this in options.conf:
Code:
php_ini=no
This way certain disable_functions codes which are not in by default, won't get removed either. You can also make a backup copy of it before upgrading.
 
Back
Top