smtalk, Need your help regarding install PHP 5.2 and 5.3 together both CGI !

Dauser2007

Verified User
Joined
Dec 5, 2007
Messages
187
hi,

PHP 5.2 fastCGI(default)
PHP 5.3 CGI (htaccess)



cd /usr/local/directadmin/custombuild
./build set custombuild 1.2
./build update
mkdir -p custom/suphp
cp -pf configure/suphp/configure.php5 custom/suphp/configure.php6
perl -pi -e 's/php53/phprep/' versions.txt
perl -pi -e 's/php6/php53/' versions.txt
perl -pi -e 's/phprep/php6/' versions.txt
./build set php5_ver 5.2
./build set php6_cgi yes
./build set php5_cgi yes
./build set php5_cli no
./build php n
mv -f /usr/local/php6 /usr/local/php6_old
ln -s /usr/local/php5 /usr/local/php6
perl -pi -e 's/x-httpd-php6/x-httpd-php53/' /usr/local/suphp/etc/suphp.conf
perl -pi -e 's/x-httpd-php6/x-httpd-php53/' /etc/httpd/conf/extra/httpd-suphp.conf

But after build, i check php -v

[root@host custombuild]# php -v
PHP 5.2.17 (cli) (built: Dec 3 2013 15:14:23)
[root@host custombuild]# /usr/local/php5/bin/php -v
PHP 5.2.17 (cli) (built: Dec 3 2013 15:14:23)


[root@host custombuild]# /usr/local/php6/bin/php -v
PHP 5.2.17 (cli) (built: Dec 3 2013 15:14:23)

Looks 5.3.x not install yet, please help, thanks!


Br.,

Dauser
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
8,477
Location
LT, EU
Please post the output of:
Code:
./build | grep Version | awk '{print $3}'
 

Dauser2007

Verified User
Joined
Dec 5, 2007
Messages
187
Please post the output of:
Code:
./build | grep Version | awk '{print $3}'

hi , thanks ,

[root@host ~]# cd /usr/local/directadmin/custombuild
[root@host custombuild]# ./build | grep Version | awk '{print $3}'
1.2.39


BR.,
 

Dauser2007

Verified User
Joined
Dec 5, 2007
Messages
187
Here it is :

atmail:1.04:8af6ac814193a53edf346fb966c1b098
autoconf:2.68:c3b5247592ce694f7097873aa07d66fe
automake:1.13.1:78a0ef8216b0556b44508e7b5b0c0847
apache:1.3.41:f7f00b635243f03a787ca9f4d4c85651
apache2.0:2.0.64:59c987a31196bb9d025fdf62ec011b99
apache2.2:2.2.26:8f580ea4f8476d5fb131b772beca33b2
apache2.4:2.4.7:9272aadaa2d702f6ae5758641d830d7f
apr:1.5.0:6419a8f7e89ad51b5bad7b0c84cc818c
apr-util:1.5.3:71a11d037240b292f824ba1eb537b4e3
harden-symlinks-patch:2.2.26:312153189a538745aed7242ea282b5ac
harden-symlinks-2.4-patch:2.4:4724eb18f0b9271142167462b8d93084
php-bug-61172:1:fd5de664e9cffb44c36e4338d7e28556
deb7-ssl1-patch:1.0:4aa0eeb5757f6fca18756a11eefbf4be
nginx:1.4.4:5dfaba1cbeae9087f3949860a02caa9f
awstats:7.2:0608ee882bc4a7088e9d588e887846c5
awstats_url_patch:1.0:7d05dbae75149334956e22be318e4e17
coreutils:8.12:fce7999953a67243d00d75cc86dbcaa6
curl:7.33.0:c8a4eaac7ce7b0d1bf458d62ccd4ef93
dovecot:2.2.9:6e620a4020b7cc9855cbb304a63efc87
pigeonhole21:0.3.6:57065dee685264b848d6d4c17b27dcd8
pigeonhole22:0.4.2:e8cb4976db9811d37e9d870f2f75ffef
eximpigeonholepatch:1.0:0de85c9a5475976619ef41aa8678d725
dovecotpigeonholepatch:1.1:3b185d3fb3f7bc1f708aa5110bbb332d
directadmin:1.44.1:
exim:4.82:7f7b50394f8f3d4141e7dca9392f62f0
eximdovecotpatch:1.0:4c5b35ace03dba9a4680b54434942dd8
eximspamconf:1.0:3b4580566984c504b164b68999f4403f
eximclamavconf:1.0:0c22979b85ce3eccdb61a2616ba38722
eximclamavloadconf:1.0:746fc70327dc8aad537169ae13c42f5a
clamav:0.98:ca0b8c930efcb8be1d47592d268006c5
mailman:2.1.14:9ea163871ceccbd33fee4c9e335fcf7b
icu4c:4_8_1_1:ea93970a0275be6b42f56953cd332c17
iconv:1.14:e34509b1623cec449dfeb73d7ce9c6c6
freetype:2.5.0:88642b811284243035821b43bf2cca12
imap:2007b:4d59ce6303cf8ef93ff51341b1ce2df7
jail:0.1:85e6ad323131084463426cae3f73ad09
libpng64:1.2.50:fedd8c66d106c28f8d527f9397c265a2
libpng:1.2.50:fedd8c66d106c28f8d527f9397c265a2
libtool:2.4.2:d2f3b7d4627e69e13514a40e72a24d50
m4:1.4.16:a5dfb4f2b7370e9d34293d23fd09b280
libxml2:2.7.6:7740a8ec23878a2f50120e1faa2730f2
libxml2-current:2.9.1:9c0cfef285d5c4a5c80d00904ddab380
libxslt:1.1.28:9667bf6f9310b957254fdcf6596600b7
mhash:0.9.9.9:ee66b7d5947deb760aeff3f028e27d25
mcrypt:2.5.8:0821830d930a86a5c69110837c55b7da
mod_perl:1.31:d2188bf500e9f00cd78dc97c3fbf6b97
mod_perl2:2.0.4:1a05625ae6843085f985f5da8214502a
mod_ssl:2.8.31:4d55fc5c7cbf38820b44edf767f571c4
mysql4.1:4.1.22:37b4479951fa0cf052269d27c41ca200
mysql5.0:5.0.91:e28f93b1a1b10b028135c1d51bbd4c46
mysql5.0_release:1:
mysql5.1:5.1.73:887f869bcc757957067b9198f707f32f
mysql5.5:5.5.35:56f833052b579b7d4a2b16326cda6990
mysql5.5_release:1:
mysql5.6:5.6.15:8c0ee8aa58258df1e1395d7c68b96647
mysql5.6_release:1:
cmake:2.8.11:be6008f2299613d23fe82ab53ef7472e
nbsmtp:1.00:f34952f0b5e5101035357ea1c7ed6bd2
pcre:8.20:87c45460e8c26845089e212d72890cfb
pcre_current:8.33:94854c93dcc881edd37904bb6ef49ebc
php5:5.2.17:04d321d5aeb9d3a051233dbd24220ef1
php5-mail:5.2.17:dc0fdf6da64947285d98dc46a2e350fa
php52x-mail:5.2.x:e6cb9d562ecd1d8858ad883cb4d8b87e
php53:5.3.27:bd03bfa9e7db40b6f2950fcbcf6a8276
php54:5.4.22:a23fead825db383f6b364dd3c825b729
php55:5.5.6:82968eac50c523ecf7a05855cb5c3d0a
php4:4.4.9:9bcc1aba50be0dfeeea551d018375548
php4-mail:4.4.9:9bc9f2f535bdf3eab257ea4d34a41069
php6:6.0.0-dev:d4139711596860b1dbcd4d5466fbffe2
phpmyadmin:2.11.11.3-all-languages:a4a9bdcf6a48d02895034e41844e7432
phpmyadmin3:3.5.8.2-all-languages:040ef1264a9b0b07dcaa2bb0cce7aa72
phpmyadmin4:4.0.9-all-languages:f5c8bfcd75b5ee1914a248514e5b9b10
proftpd:1.3.4d:13c6fd7ce320886adc371c81a3e23f07
pureftpd:1.0.36:bbcb48e8aa6ec1abff9775b89f84af91
roundcubemail:0.9.5:757f6ab3306d4abf8da6664ae65138d7
spamassassin:3.3.2:d1d62cc5c6eac57e88c4006d9633b81e
spamassassin_rules:3.3.2-r1104058:72f8075499c618518c68c7399f02b458
spamassassin_rules_md5:3.3.2-r1104058:3ff4a24c875bd96f038ed4a86909c020
spamassassin_rules_asc:3.3.2-r1104058:7603e85154d517beafe75cbf3b077c46
spamassassin_rules_sha1:3.3.2-r1104058:2fea37c18c7134f1e6f46124dca304e0
DB_File:1.815:8658ff14f75a5481cd24b3eaed16bfa7
Digest:1.15:83be88df645ef0981d991f86dcba6da7
Digest-SHA1:2.11:2449bfe21d6589c96eebf94dae24df6b
ExtUtils-MakeMaker:6.31:a42bdee764b92019cf00bb0515767889
HTML-Parser:3.56:bddc432e5ed9df4d4153a62234f04fc2
IO-Socket-SSL:1.06:ce74612b3c054a350b5af52f27aa8f80
Mail-SPF:2.004:0923798432e0f25dffc4bc6428abef6a
Mail-SPF-Query:1.998:1491a114df2a28952d04c29f5b53d964
Net-CIDR-Lite:0.20:54998db6b297ffc8a20adb91ea744200
Net-DNS:0.60:8ab75a7c4a1b782e5d88b08cc70be945
Net-IP:1.25:a49c0b02a9b793ff60191cdafc0c202e
Net_SSLeay.pm:1.30:b0cd6c1681bbc0695d81be5cd852d1d0
Storable:2.16:48e14468e3395c7fdb399b537b5e8ba7
Sys-Hostname-Long:1.4:a5b3c23754cbcff10e283d16c42ec3d3
URI:1.35:1a933b1114c41a25587ee59ba8376f7c
squirrelmail:1.4.22:f059c7de4260cad911eff59db43622a9
squirrelmail_locale:1.4.18-20090526:cc3ca3e9cff770dd9df932f7f06fe217
mod_fastcgi:2.4.7:98770d4f5f93bf4562a27d618d82f17a
mod_fcgid:2.3.9:ece4c66f0c05d216fc96969fcf3d1add
fcgid_sh:1.0:69f2cac2980bb79b50b37936231c3e11
htscanner:1.0.1:7fbef47361933fd932a2ff8f44849f0e
mod_ruid2:0.9.8:05a29e38ef22f4d5e8bf22b53f45ab41
php5-apache24:5.2.17:c16d64fb9f4d0d49fa2a4b44d6dc14fd
php-fpm-conf-53:1:05e924d41adede9fccdbcab65ed763b5
php-fpm-conf-54:1:8dc4ccade1381d342385f559fcdd64b8
php-fpm-conf-55:1:1db0c21f2c790b5e71e5b4e458be1ca1
php4-apache24:4.4.9:efa6a2d8c18fe3a9d0edc42563c67980
apache_proxy_socket:2.0:b0fe580a65b41e5e7f442d87d54e9895
apache_proxy_socket_slash_encoding:1.0:ec6d9ed7fb06387757d236fe9ecf37fe
apache_suexec_safe:1.0:496039c047ec340e8615395185e5216c
suphp:0.7.1:c172dd4f15a75f4dcb08ea97d4202bb8
suphp_current:0.7.2:852793953eec97f4ae992e366b517e81
suphp_attachment_patch:1.0:4f7f663425a95273c10d8def4fc874d3
suphp_attachment_diff:1.0:9171a93fda24b94bb5ace2e260a10a31
suphp_calling_user_patch:1.0:f976437d246fcd37dca2f43b8fc6cff1
suphp_script_name_patch:1.0:5900dc5e399a2ef790a11c6c87078c57
uebimiau:3.11:1b54f9af34c5d245412bcc54e7d13064
webalizer:2.23-08:00f1f18bd5ed462ea43bf98d867e7966
ZendGuard32:1.0:f53e51ecb59e390be5551ff7cc8576b0
ZendGuard64:1.0:9408297e9e38d5ce2cca92c619b5ad50
ZendGuard54_32:70429:9a25ff3c2fa4cb37602ba6d6491e859e
ZendGuard54_64:70429:09d0da0046eb70c3d704db1e0074098e
ZendOptimizer-freebsd5.4-i386:3.3.0a:9e2edcc3b4c6be5fe667b6cf8ce3fb2c
ZendOptimizer-freebsd6.0-i386:3.3.3:1d159c56d5b46e5fa7ee6883551297d8
ZendOptimizer-freebsd6.0-amd64:3.3.0a:881296734a1f4e1f60c55164ae9a4f2a
ZendOptimizer-linux-glibc21-i386:3.2.8:93c73af18af5cb7c35f2b35b1cf61d5f
ZendOptimizer-linux-glibc23-i386:3.3.3:38a3c83ca79534377b90b246c0f49d01
ZendOptimizer-linux-glibc23-x86_64:3.3.3:0e268aee33fe56d61f02699a4c54df20
ZendOptimizer-freebsd4.3-i386:2.6.0:1da590f2eaad4f474744722642d70227
ioncube_loaders_fre_4_x86:4.0.14:a20ced9b619b8efeadb8a9a35ef6a9f4
ioncube_loaders_fre_6_x86:4.4.4:b544f2ecd44679eed8860de3fba3c77a
ioncube_loaders_fre_7_x86-64:4.4.4:591dae149c7472019c8f625a84786f39
ioncube_loaders_fre_7_x86:4.4.4:97f160adbe5ad7e07807de8516ad28cc
ioncube_loaders_fre_8_x86-64:4.4.4:12fb8a8341a68f873e41b4034ad0877c
ioncube_loaders_fre_9_x86-64:4.4.4:f5fcb13a0ff5dfe9606d7882b6cf6953
ioncube_loaders_fre_9_x86:4.4.4:b915f4af16d57101387e159a8b872d75
ioncube_loaders_lin_x86-64:4.4.4:2e128f76316de4ba82f4e9ea65980ea6
ioncube_loaders_lin_x86:4.4.4:95b110382e5a01cc933643348ad38fcb
zlib:1.2.3:debc62758716a169df9f62e6ab2bc634
zlib-current:1.2.7:60df6a37c56e7c1366cca812414f7b85
servers:1:44307d75ea0df7aace74fb2773437302
cb_2_tar_gz:1:1dc947def24da319d09b64987d11fa02


thanks

BR.,
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
8,477
Location
LT, EU
You still have "php6:6.0.0-dev:d4139711596860b1dbcd4d5466fbffe2" set there. Please set autover=no in the options.conf file or do:
Code:
chattr +i versions.txt
After:
Code:
perl -pi -e 's/php53/phprep/' versions.txt
perl -pi -e 's/php6/php53/' versions.txt
perl -pi -e 's/phprep/php6/' versions.txt
 

Dauser2007

Verified User
Joined
Dec 5, 2007
Messages
187
thanks for reply, sorry , the version.txt should be this one as the next reply.
 
Last edited:

Dauser2007

Verified User
Joined
Dec 5, 2007
Messages
187
i reinstall one more time, i found when php install completed, the Loaded Configuration File all in the same path /usr/local/etc/php5/cgi/php.ini , maybe this is the problem ?

Smtalk, any idea ? thanks

the current version.txt

atmail:1.04:8af6ac814193a53edf346fb966c1b098
autoconf:2.68:c3b5247592ce694f7097873aa07d66fe
automake:1.13.1:78a0ef8216b0556b44508e7b5b0c0847
apache:1.3.41:f7f00b635243f03a787ca9f4d4c85651
apache2.0:2.0.64:59c987a31196bb9d025fdf62ec011b99
apache2.2:2.2.26:8f580ea4f8476d5fb131b772beca33b2
apache2.4:2.4.7:9272aadaa2d702f6ae5758641d830d7f
apr:1.5.0:6419a8f7e89ad51b5bad7b0c84cc818c
apr-util:1.5.3:71a11d037240b292f824ba1eb537b4e3
harden-symlinks-patch:2.2.26:312153189a538745aed7242ea282b5ac
harden-symlinks-2.4-patch:2.4:4724eb18f0b9271142167462b8d93084
php-bug-61172:1:fd5de664e9cffb44c36e4338d7e28556
deb7-ssl1-patch:1.0:4aa0eeb5757f6fca18756a11eefbf4be
nginx:1.4.4:5dfaba1cbeae9087f3949860a02caa9f
awstats:7.2:0608ee882bc4a7088e9d588e887846c5
awstats_url_patch:1.0:7d05dbae75149334956e22be318e4e17
coreutils:8.12:fce7999953a67243d00d75cc86dbcaa6
curl:7.33.0:c8a4eaac7ce7b0d1bf458d62ccd4ef93
dovecot:2.2.9:6e620a4020b7cc9855cbb304a63efc87
pigeonhole21:0.3.6:57065dee685264b848d6d4c17b27dcd8
pigeonhole22:0.4.2:e8cb4976db9811d37e9d870f2f75ffef
eximpigeonholepatch:1.0:0de85c9a5475976619ef41aa8678d725
dovecotpigeonholepatch:1.1:3b185d3fb3f7bc1f708aa5110bbb332d
directadmin:1.44.1:
exim:4.82:7f7b50394f8f3d4141e7dca9392f62f0
eximdovecotpatch:1.0:4c5b35ace03dba9a4680b54434942dd8
eximspamconf:1.0:3b4580566984c504b164b68999f4403f
eximclamavconf:1.0:0c22979b85ce3eccdb61a2616ba38722
eximclamavloadconf:1.0:746fc70327dc8aad537169ae13c42f5a
clamav:0.98:ca0b8c930efcb8be1d47592d268006c5
mailman:2.1.14:9ea163871ceccbd33fee4c9e335fcf7b
icu4c:4_8_1_1:ea93970a0275be6b42f56953cd332c17
iconv:1.14:e34509b1623cec449dfeb73d7ce9c6c6
freetype:2.5.0:88642b811284243035821b43bf2cca12
imap:2007b:4d59ce6303cf8ef93ff51341b1ce2df7
jail:0.1:85e6ad323131084463426cae3f73ad09
libpng64:1.2.50:fedd8c66d106c28f8d527f9397c265a2
libpng:1.2.50:fedd8c66d106c28f8d527f9397c265a2
libtool:2.4.2:d2f3b7d4627e69e13514a40e72a24d50
m4:1.4.16:a5dfb4f2b7370e9d34293d23fd09b280
libxml2:2.7.6:7740a8ec23878a2f50120e1faa2730f2
libxml2-current:2.9.1:9c0cfef285d5c4a5c80d00904ddab380
libxslt:1.1.28:9667bf6f9310b957254fdcf6596600b7
mhash:0.9.9.9:ee66b7d5947deb760aeff3f028e27d25
mcrypt:2.5.8:0821830d930a86a5c69110837c55b7da
mod_perl:1.31:d2188bf500e9f00cd78dc97c3fbf6b97
mod_perl2:2.0.4:1a05625ae6843085f985f5da8214502a
mod_ssl:2.8.31:4d55fc5c7cbf38820b44edf767f571c4
mysql4.1:4.1.22:37b4479951fa0cf052269d27c41ca200
mysql5.0:5.0.91:e28f93b1a1b10b028135c1d51bbd4c46
mysql5.0_release:1:
mysql5.1:5.1.73:887f869bcc757957067b9198f707f32f
mysql5.5:5.5.35:56f833052b579b7d4a2b16326cda6990
mysql5.5_release:1:
mysql5.6:5.6.15:8c0ee8aa58258df1e1395d7c68b96647
mysql5.6_release:1:
cmake:2.8.11:be6008f2299613d23fe82ab53ef7472e
nbsmtp:1.00:f34952f0b5e5101035357ea1c7ed6bd2
pcre:8.20:87c45460e8c26845089e212d72890cfb
pcre_current:8.33:94854c93dcc881edd37904bb6ef49ebc
php5:5.2.17:04d321d5aeb9d3a051233dbd24220ef1
php5-mail:5.2.17:dc0fdf6da64947285d98dc46a2e350fa
php52x-mail:5.2.x:e6cb9d562ecd1d8858ad883cb4d8b87e
php6:5.3.27:bd03bfa9e7db40b6f2950fcbcf6a8276
php54:5.4.22:a23fead825db383f6b364dd3c825b729
php55:5.5.6:82968eac50c523ecf7a05855cb5c3d0a
php4:4.4.9:9bcc1aba50be0dfeeea551d018375548
php4-mail:4.4.9:9bc9f2f535bdf3eab257ea4d34a41069
php53:6.0.0-dev:d4139711596860b1dbcd4d5466fbffe2
phpmyadmin:2.11.11.3-all-languages:a4a9bdcf6a48d02895034e41844e7432
phpmyadmin3:3.5.8.2-all-languages:040ef1264a9b0b07dcaa2bb0cce7aa72
phpmyadmin4:4.0.10-all-languages:959315883b470bf32f49cf0e9596e06d
proftpd:1.3.4d:13c6fd7ce320886adc371c81a3e23f07
pureftpd:1.0.36:bbcb48e8aa6ec1abff9775b89f84af91
roundcubemail:0.9.5:757f6ab3306d4abf8da6664ae65138d7
spamassassin:3.3.2:d1d62cc5c6eac57e88c4006d9633b81e
spamassassin_rules:3.3.2-r1104058:72f8075499c618518c68c7399f02b458
spamassassin_rules_md5:3.3.2-r1104058:3ff4a24c875bd96f038ed4a86909c020
spamassassin_rules_asc:3.3.2-r1104058:7603e85154d517beafe75cbf3b077c46
spamassassin_rules_sha1:3.3.2-r1104058:2fea37c18c7134f1e6f46124dca304e0
DB_File:1.815:8658ff14f75a5481cd24b3eaed16bfa7
Digest:1.15:83be88df645ef0981d991f86dcba6da7
Digest-SHA1:2.11:2449bfe21d6589c96eebf94dae24df6b
ExtUtils-MakeMaker:6.31:a42bdee764b92019cf00bb0515767889
HTML-Parser:3.56:bddc432e5ed9df4d4153a62234f04fc2
IO-Socket-SSL:1.06:ce74612b3c054a350b5af52f27aa8f80
Mail-SPF:2.004:0923798432e0f25dffc4bc6428abef6a
Mail-SPF-Query:1.998:1491a114df2a28952d04c29f5b53d964
Net-CIDR-Lite:0.20:54998db6b297ffc8a20adb91ea744200
Net-DNS:0.60:8ab75a7c4a1b782e5d88b08cc70be945
Net-IP:1.25:a49c0b02a9b793ff60191cdafc0c202e
Net_SSLeay.pm:1.30:b0cd6c1681bbc0695d81be5cd852d1d0
Storable:2.16:48e14468e3395c7fdb399b537b5e8ba7
Sys-Hostname-Long:1.4:a5b3c23754cbcff10e283d16c42ec3d3
URI:1.35:1a933b1114c41a25587ee59ba8376f7c
squirrelmail:1.4.22:f059c7de4260cad911eff59db43622a9
squirrelmail_locale:1.4.18-20090526:cc3ca3e9cff770dd9df932f7f06fe217
mod_fastcgi:2.4.7:98770d4f5f93bf4562a27d618d82f17a
mod_fcgid:2.3.9:ece4c66f0c05d216fc96969fcf3d1add
fcgid_sh:1.0:69f2cac2980bb79b50b37936231c3e11
htscanner:1.0.1:7fbef47361933fd932a2ff8f44849f0e
mod_ruid2:0.9.8:05a29e38ef22f4d5e8bf22b53f45ab41
php5-apache24:5.2.17:c16d64fb9f4d0d49fa2a4b44d6dc14fd
php-fpm-conf-53:1:05e924d41adede9fccdbcab65ed763b5
php-fpm-conf-54:1:8dc4ccade1381d342385f559fcdd64b8
php-fpm-conf-55:1:1db0c21f2c790b5e71e5b4e458be1ca1
php4-apache24:4.4.9:efa6a2d8c18fe3a9d0edc42563c67980
apache_proxy_socket:2.0:b0fe580a65b41e5e7f442d87d54e9895
apache_proxy_socket_slash_encoding:1.0:ec6d9ed7fb06387757d236fe9ecf37fe
apache_suexec_safe:1.0:496039c047ec340e8615395185e5216c
suphp:0.7.1:c172dd4f15a75f4dcb08ea97d4202bb8
suphp_current:0.7.2:852793953eec97f4ae992e366b517e81
suphp_attachment_patch:1.0:4f7f663425a95273c10d8def4fc874d3
suphp_attachment_diff:1.0:9171a93fda24b94bb5ace2e260a10a31
suphp_calling_user_patch:1.0:f976437d246fcd37dca2f43b8fc6cff1
suphp_script_name_patch:1.0:5900dc5e399a2ef790a11c6c87078c57
uebimiau:3.11:1b54f9af34c5d245412bcc54e7d13064
webalizer:2.23-08:00f1f18bd5ed462ea43bf98d867e7966
ZendGuard32:1.0:f53e51ecb59e390be5551ff7cc8576b0
ZendGuard64:1.0:9408297e9e38d5ce2cca92c619b5ad50
ZendGuard54_32:70429:9a25ff3c2fa4cb37602ba6d6491e859e
ZendGuard54_64:70429:09d0da0046eb70c3d704db1e0074098e
ZendOptimizer-freebsd5.4-i386:3.3.0a:9e2edcc3b4c6be5fe667b6cf8ce3fb2c
ZendOptimizer-freebsd6.0-i386:3.3.3:1d159c56d5b46e5fa7ee6883551297d8
ZendOptimizer-freebsd6.0-amd64:3.3.0a:881296734a1f4e1f60c55164ae9a4f2a
ZendOptimizer-linux-glibc21-i386:3.2.8:93c73af18af5cb7c35f2b35b1cf61d5f
ZendOptimizer-linux-glibc23-i386:3.3.3:38a3c83ca79534377b90b246c0f49d01
ZendOptimizer-linux-glibc23-x86_64:3.3.3:0e268aee33fe56d61f02699a4c54df20
ZendOptimizer-freebsd4.3-i386:2.6.0:1da590f2eaad4f474744722642d70227
ioncube_loaders_fre_4_x86:4.0.14:a20ced9b619b8efeadb8a9a35ef6a9f4
ioncube_loaders_fre_6_x86:4.4.4:b544f2ecd44679eed8860de3fba3c77a
ioncube_loaders_fre_7_x86-64:4.4.4:591dae149c7472019c8f625a84786f39
ioncube_loaders_fre_7_x86:4.4.4:97f160adbe5ad7e07807de8516ad28cc
ioncube_loaders_fre_8_x86-64:4.4.4:12fb8a8341a68f873e41b4034ad0877c
ioncube_loaders_fre_9_x86-64:4.4.4:f5fcb13a0ff5dfe9606d7882b6cf6953
ioncube_loaders_fre_9_x86:4.4.4:b915f4af16d57101387e159a8b872d75
ioncube_loaders_lin_x86-64:4.4.4:2e128f76316de4ba82f4e9ea65980ea6
ioncube_loaders_lin_x86:4.4.4:95b110382e5a01cc933643348ad38fcb
zlib:1.2.3:debc62758716a169df9f62e6ab2bc634
zlib-current:1.2.7:60df6a37c56e7c1366cca812414f7b85
servers:1:44307d75ea0df7aace74fb2773437302
cb_2_tar_gz:1:1dc947def24da319d09b64987d11fa02
and the current options.sonf

#PHP settings. default_php possible values - 4 or 5, php5_ver - 5.2, 5.3 or 5.4
default_php=5
php5_ver=5.2
php4_cli=no
php4_cgi=no
php5_cli=no
php5_cgi=yes
ioncube=yes
zend=yes
#Possible values - recommended or dist
php_ini_type=recommended

#Possible values - 5.0, 5.1, 5.5, 5.6
mysql=5.1
mysql_inst=yes
mysql_backup=yes
mysql_backup_dir=/usr/local/directadmin/custombuild/mysql_backups

#Possible values - 1.3, 2.0, 2.2 or 2.4
apache_ver=2.2
secure_htaccess=no
harden-symlinks-patch=yes

#Web applications
phpmyadmin=yes
atmail=no
squirrelmail=yes
roundcube=no
uebimiau=no

#Mail options
exim=yes
eximconf=yes
clamav=no
mailman=no
spamassassin=no
mail-header-patch=yes
dovecot=yes

#Statistics
awstats=no
webalizer=yes

#FTP options
proftpd=yes
pureftpd=no

#Jailed shell (beta)
jail=no

#Autoconf/automake/libtool options
autoconf=yes
automake=yes
libtool=yes
curl=yes

#new version of zlib and libxml2 (experts only)
new_zlib=no
new_xml2=no
new_suphp=no

#CustomBuild options
custombuild=1.2
autover=no
bold=yes
clean=no
clean_old_tarballs=no
clean_old_webapps=yes
downloadserver=files13.directadmin.com
cleanapache=no

#Cron settings
cron=no
cron_frequency=daily
email=email@domain.com
notifications=yes
da_autoupdate=no
updates=no
webapps_updates=yes

#CustomBuild 1.2 settings
php6_cli=no
php6_cgi=yes
php_ini=yes

#Cloudlinux settings
cloudlinux=no
cagefs=no
old_apr_util=no
phpmyadmin_ver=3
new_pcre=no
 
Last edited:

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
8,477
Location
LT, EU
Okay, this will be easier I think:
Code:
cd /usr/local/directadmin/custombuild
wget -O build http://www.custombuild.eu/build-PHP53ASPHP6.sh 
chattr +i build
./build set php6_as_php5 yes
./build set php5_ver 5.2
./build set php6_cgi yes
./build php n
This way you should get PHP 5.2 (default) + PHP 5.3 running on the system.
 

Dauser2007

Verified User
Joined
Dec 5, 2007
Messages
187
thanks, php6 ask

configure/suphp/configure.php5

--with-icu and --disable-mbregex , i did, and php 6 installed

but i got error when install php 5.2

make: *** [sapi/cgi/php-cgi] Error 1
make: *** Waiting for unfinished jobs....
ext/mbstring/mbstring.o: In function `zm_deactivate_mbstring':
/usr/local/directadmin/custombuild/php-5.2.17/ext/mbstring/mbstring.c:1075: undefined reference to `zm_deactivate_mb_regex'
ext/mbstring/mbstring.o: In function `zm_activate_mbstring':
/usr/local/directadmin/custombuild/php-5.2.17/ext/mbstring/mbstring.c:1025: undefined reference to `zm_activate_mb_regex'
ext/mbstring/mbstring.o: In function `zm_shutdown_mbstring':
/usr/local/directadmin/custombuild/php-5.2.17/ext/mbstring/mbstring.c:958: undefined reference to `zm_shutdown_mb_regex'
ext/mbstring/mbstring.o: In function `zm_startup_mbstring':
/usr/local/directadmin/custombuild/php-5.2.17/ext/mbstring/mbstring.c:946: undefined reference to `zm_startup_mb_regex'
ext/mbstring/mbstring.o: In function `_php_mb_ini_mbstring_internal_encoding_set':
/usr/local/directadmin/custombuild/php-5.2.17/ext/mbstring/mbstring.c:720: undefined reference to `php_mb_regex_name2mbctype'
/usr/local/directadmin/custombuild/php-5.2.17/ext/mbstring/mbstring.c:721: undefined reference to `OnigEncodingEUC_JP'
ext/mbstring/mbstring.o: In function `zm_globals_dtor_mbstring':
/usr/local/directadmin/custombuild/php-5.2.17/ext/mbstring/mbstring.c:917: undefined reference to `_php_mb_regex_globals_dtor'
ext/mbstring/mbstring.o: In function `zm_globals_ctor_mbstring':
/usr/local/directadmin/custombuild/php-5.2.17/ext/mbstring/mbstring.c:896: undefined reference to `_php_mb_regex_globals_ctor'
ext/mbstring/mbstring.o:(.data+0x2fc): undefined reference to `zif_mb_regex_encoding'
ext/mbstring/mbstring.o:(.data+0x310): undefined reference to `zif_mb_regex_set_options'
ext/mbstring/mbstring.o:(.data+0x324): undefined reference to `zif_mb_ereg'
ext/mbstring/mbstring.o:(.data+0x338): undefined reference to `zif_mb_eregi'
ext/mbstring/mbstring.o:(.data+0x34c): undefined reference to `zif_mb_ereg_replace'
ext/mbstring/mbstring.o:(.data+0x360): undefined reference to `zif_mb_eregi_replace'
ext/mbstring/mbstring.o:(.data+0x374): undefined reference to `zif_mb_split'
ext/mbstring/mbstring.o:(.data+0x388): undefined reference to `zif_mb_ereg_match'
ext/mbstring/mbstring.o:(.data+0x39c): undefined reference to `zif_mb_ereg_search'
ext/mbstring/mbstring.o:(.data+0x3b0): undefined reference to `zif_mb_ereg_search_pos'
ext/mbstring/mbstring.o:(.data+0x3c4): undefined reference to `zif_mb_ereg_search_regs'
ext/mbstring/mbstring.o:(.data+0x3d8): undefined reference to `zif_mb_ereg_search_init'
ext/mbstring/mbstring.o:(.data+0x3ec): undefined reference to `zif_mb_ereg_search_getregs'
ext/mbstring/mbstring.o:(.data+0x400): undefined reference to `zif_mb_ereg_search_getpos'
ext/mbstring/mbstring.o:(.data+0x414): undefined reference to `zif_mb_ereg_search_setpos'
ext/mbstring/mbstring.o:(.data+0x428): undefined reference to `zif_mb_regex_encoding'
ext/mbstring/mbstring.o:(.data+0x43c): undefined reference to `zif_mb_ereg'
ext/mbstring/mbstring.o:(.data+0x450): undefined reference to `zif_mb_eregi'
ext/mbstring/mbstring.o:(.data+0x464): undefined reference to `zif_mb_ereg_replace'
ext/mbstring/mbstring.o:(.data+0x478): undefined reference to `zif_mb_eregi_replace'
ext/mbstring/mbstring.o:(.data+0x48c): undefined reference to `zif_mb_split'
ext/mbstring/mbstring.o:(.data+0x4a0): undefined reference to `zif_mb_ereg_match'
ext/mbstring/mbstring.o:(.data+0x4b4): undefined reference to `zif_mb_ereg_search'
ext/mbstring/mbstring.o:(.data+0x4c8): undefined reference to `zif_mb_ereg_search_pos'
ext/mbstring/mbstring.o:(.data+0x4dc): undefined reference to `zif_mb_ereg_search_regs'
ext/mbstring/mbstring.o:(.data+0x4f0): undefined reference to `zif_mb_ereg_search_init'
ext/mbstring/mbstring.o:(.data+0x504): undefined reference to `zif_mb_ereg_search_getregs'
ext/mbstring/mbstring.o:(.data+0x518): undefined reference to `zif_mb_ereg_search_getpos'
ext/mbstring/mbstring.o:(.data+0x52c): undefined reference to `zif_mb_ereg_search_setpos'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
[root@host custombuild]#
 

Dauser2007

Verified User
Joined
Dec 5, 2007
Messages
187
hi ,

Now i did this step.

i have deleted all the custombuild folder.

and :

cd /usr/local/directadmin
wget http://files.directadmin.com/services/custombuild/1.2/custombuild.tar.gz
tar xvzf custombuild.tar.gz
cd custombuild
./build set custombuild 1.2
./build update
mkdir -p custom/suphp
cp -pf configure/suphp/configure.php5 custom/suphp/configure.php6
perl -pi -e 's/php53/phprep/' versions.txt
perl -pi -e 's/php6/php53/' versions.txt
perl -pi -e 's/phprep/php6/' versions.txt
./build set php5_ver 5.2
./build set php6_cgi yes
./build set php6_as_php5 yes
./build set php5_cgi yes
./build set php5_cli no
wget -O build http://www.custombuild.eu/build-PHP53ASPHP6.sh
chattr +i build
./build php n
Now the Loaded Configuration File all in the same path /usr/local/etc/php6/cgi/php.ini

but php6 still not work
 
Top