Open BaseDir does not show up in PHP Settings

JasperDB

New member
Joined
Jan 28, 2019
Messages
4
I have search, but not found a similar thread.

I have a VPS and DirectAdmin was installed. No I try to enable the open_basedir option for a domain, but the column open_basedir and safe mode does not show up in the admin panel/PHP Settings. What is the setting to enable this?
 
Please make sure you're not using suPHP as PHP mode. It's EOL, and does not support setting open_basedir from UI side.
 
Thank you, this is the right clue.!

Is it easy to change the php handler?
(The VPS came installed with LAMP and DirectAdmin 1.55 and apparantly suPHP as default PHP handler.)
What is the most used handler these days?
 
Thx for the tip.

This website already gave me the same answer.
https://help.directadmin.com/item.php?id=459

But while compiling I ran into the issue that 1 GB of memory is not enough to recompile PHP. Therefore I am stuck with suPHP and need to adjust he httpd.conf file manually to include the domain.

Thanks for the help anyway!

(next VPS will have at least 2,5 GB of memory :( )
 
You're not stuck with it :) Just add more SWAP, or hardcode the "build" script to just use 1 CPU core for compilation.
 
Back
Top