How to stop php directory from defaulting to /home/username ?

ceromus

Verified User
Joined
Oct 30, 2019
Messages
7
Just testing directadmin and finally got a site moved over but I notice that even though I execute a php file from /home/username/domains/domain.com/public_html any file created ends up in /home/username/ how do I stop this from happening without adding chdir in every php file I have?
 
Back
Top