CustomBuild refuses to run due to old PHP version: "Wrong php3_release set in the options.conf:"

cmyden

Verified User
Joined
Oct 8, 2020
Messages
60
I'm still using PHP 5.4 for some legacy scripts that are just for private use.

CustomBuild now refuses to run, as explained here:

When I run anything to do with CustomBuild I get:
Wrong php3_release set in the options.conf: 5.4.

My question is, what are the steps I should take to get CustomBuild to work again, while being sure nothing to do with my PHP 5.4 installation is affected. I just don't want to wreck anything.

Is it as simple as editing /directadmin/custombuild/options.conf

And changing the line where I have:

php3_release=5.4

to

php3_release=no

My current PHP 5.4 install won't be affected?

Thank you
 
Sorry, just realized there is a CustomBuild 2.0 thread. Posted it there.
 
You have to downgrade DA (i am not sure if its possible) install 5.6 PHP (still supported by DA)
I think that your site will work with 5.6 too
 
Last edited:
Thanks Active8,

It's not possible to just have CustomBuild ignore the fact that PHP 5.4 exists on my system?

What happens if I edit /directadmin/custombuild/options.conf and change it from:
php3_release=5.4

to

php3_release=no

Does my PHP 5.4 installation get affected in any way?

I notice in custom_versions.txt it shows:

php54:5.4.30:[32 character string of random letters and numbers]
 
Last edited:
Few times I do as you said, just temporarily change conflicting parameter in options.conf to update another components (that don't make impact on commented one).
But now I want to ask @DirectAdmin Support @fln how can we solve this situation?
In my case i still need on old server mod_php +mod_ruid2 and this blocks custombuild.
 
Thanks Zhenyapan, I appreciate the help. I also wonder if this issue is related to my other issue you were helping me with (Port 995 SSL certificate). I discovered this issue after noticing my versions of Dovecot, Exim, and exim.conf need to be updated.
 
Back
Top