sistemi_clab
Verified User
- Joined
- Jun 20, 2012
- Messages
- 3
Hi,
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
default_php=5
php5_ver=5.2
php4_cli=yes
php4_cgi=no
php5_cli=no
php5_cgi=yes
zend=no
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:
http://www.xinfoline.com/2012/01/11...-4-4-9-and-openssl-version-1-0-0-and-greater/
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,
d.
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
default_php=5
php5_ver=5.2
php4_cli=yes
php4_cgi=no
php5_cli=no
php5_cgi=yes
zend=no
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:
http://www.xinfoline.com/2012/01/11...-4-4-9-and-openssl-version-1-0-0-and-greater/
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,
d.