How to disable open_basedir in Directadmin server

I was getting the following error in one of my websites which seems to be a problem with open_basedir restriction enabled on the server. Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/arunlal/public_html/wp-content/uploads/2013/08) is not within the allowed path(s): (/home/arunlal/:/tmp:/var/tmp:/usr/local/lib/php/) in /home/arunlal/domains/mydomain.com/public_html/wp-includes/functions.php on line 1337 Login as “admin” to disable open_basedir restriction in Direct Admin panel. […]

Continue Reading…

How to list Subdomains, Addon domains and Parked domains of a cPanel account via command line?

If you are a server admin and want to sort out all related accounts easily and quickly from the command line then this will be helpful for you. In a cPanel server, there is a file “main” in “/var/cpanel/userdata/$username” (where $username is the actual username) which stores all accounts details. From there you can see all the domain associated […]

Continue Reading…