I need using PHP 5.2, how to do it?
Only using a VPS with directadmin for an old website, that using PHP 5.2, cant upgrading the website
I already tried these 3 methods :
- downgrade to Custombuild 1.2 (i read php 5.2 is available in this Custombuild version) https://forum.directadmin.com/threads/downgrade-cb2-0.53005/post-309243
in the Custombuild page http://IP:2222/admin/plugins/custombuild?tab=edit-options its already says Custombuild 1.2, but the page is just keep reloading
- i reinstalled Directadmin from scratch again, and tried this https://forum.directadmin.com/threa...-and-5-3-together-both-cgi.47849/#post-245558
but the Custombuild page just keep reloading too
- tried https://docs.directadmin.com/webservices/php/general#i-want-to-have-a-different-version-of-php
but for the second command line : ./build set php1_release 5.2
the output says: 5.2 is not a valid setting for php1_release option.
please help, is there method/info that working for using PHP 5.2?
In latest or older Directadmin version
Only using a VPS with directadmin for an old website, that using PHP 5.2, cant upgrading the website
I already tried these 3 methods :
- downgrade to Custombuild 1.2 (i read php 5.2 is available in this Custombuild version) https://forum.directadmin.com/threads/downgrade-cb2-0.53005/post-309243
cd /usr/local/directadmin
mv custombuild custombuild_1.x
wget -O custombuild.tar.gz http://files.directadmin.com/services/custombuild/1.2/custombuild.tar.gz
tar xvzf custombuild.tar.gz
cd custombuild
./build
in the Custombuild page http://IP:2222/admin/plugins/custombuild?tab=edit-options its already says Custombuild 1.2, but the page is just keep reloading
- i reinstalled Directadmin from scratch again, and tried this https://forum.directadmin.com/threa...-and-5-3-together-both-cgi.47849/#post-245558
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.
but the Custombuild page just keep reloading too
- tried https://docs.directadmin.com/webservices/php/general#i-want-to-have-a-different-version-of-php
but for the second command line : ./build set php1_release 5.2
the output says: 5.2 is not a valid setting for php1_release option.
please help, is there method/info that working for using PHP 5.2?
In latest or older Directadmin version
Last edited: