I’m using directadmin 1.41.1 and yesterday I upgraded freetype (as suggested by directadmin itself, from 2.4.9 to 2.4.10).
At the end of recompiling freetype (build update_versions) it suggested to recompile php with build php n.
I’m using php4 as a cli/apache module and php5 as cgi (as you can see from options):
#PHP settings. default_php possible values – 4 or 5, php5_ver – 5.2 or 5.3
I’ve yet installed openssl from ports:
openssl-1.0.0_5 SSL and crypto library
but php failed to recompile due to an openssl issue:
/usr/local/directadmin/custombuild/php-4.4.9/ext/openssl/openssl.c:182: error: expected specifier-qualifier-list before ‚LHASH’
/usr/local/directadmin/custombuild/php-4.4.9/ext/openssl/openssl.c:343: error: expected declaration specifiers or ‚…’ before ‚LHASH’
/usr/local/directadmin/custombuild/php-4.4.9/ext/openssl/openssl.c: In function ‚php_openssl_config_check_syntax’:
/usr/local/directadmin/custombuild/php-4.4.9/ext/openssl/openssl.c:348: error: ‚config’ undeclared (first use in this function)
Googling around I found this link:
with an openssl.c patched.
I had to change the openssl.c in the php-4.4.9.tar.gz archive (and I had to modify versions too) and everything went fine.
Could you fix this problem, please (I’m thinking to all future upgrades :/)?
Thanks in advance,