Questions tagged [directadmin]

DirectAdmin is a popular web hosting control panel

DirectAdmin is a popular web hosting control panel. Questions about DirectAdmin might be more appropriate in the Server Fault or Pro Webmasters StackExchange communities.

221 questions
1
vote
1 answer

DirectAdmin + Manual install MySQL 5.7

I am currently running CentOS 7 on a VPS managed by DirectAdmin 1.51.3 using Custombuild with MySQL 5.6.x. For a certain application I need the MySQL 5.7.x JSON features. DirectAdmin currently offers no way to build using anything above MySQL…
riccardo_92
  • 89
  • 13
1
vote
1 answer

php script to convert csv to pdf

I'm going to modify the below php script such that it downloads the database as a .pdf file rather than in a .csv format. How should I do that? Currently when this script is called, the database will be downloaded as a .csv file. The database is…
HoOman
  • 455
  • 1
  • 7
  • 15
1
vote
1 answer

Cronjobs on Direct Admin is not working

I created a cronjobs on direct admin, and if that running it will check curl =>>> change values in mysql. But it's not working. Please help me @@. Thanks This is my code:
1
vote
0 answers

phplist send emails using cronjobs directadmin

I installed phpList on my website. I am trying to make a cronjob in DirectAdmin which sends all the emails currently in the queue. I used the following website and tried some off the examples. I can't seem to get any of them to work. The phpList is…
Kev_T
  • 722
  • 2
  • 9
  • 40
1
vote
0 answers

Running symfony with directadmin

I have been trying to get symfony to run, next to a directadmin install. However, after trying several solutions, I have no clue how I can fix the httpd.conf file to get it to work. I'm only getting "Apache is functioning normally" right now. Would…
Wizarduss
  • 33
  • 7
1
vote
0 answers

How can clear or update cache in DirectAdmin?

In my host (directadmin) I was change 2-3 line of script and now I want to load that.. but always load old code... For example I added echo "hi"; to my first line of my script but when I run that again I see old result! so I want to know how can I…
MrUnknow
  • 359
  • 3
  • 18
1
vote
1 answer

Nginx giving 502 Bad Gateway error on port 80

I am using nginx, and trying to load the site on port 80 (or root) gives 502 bad gateway error after trying to connect for a while. When I input: netstat -ltnp | grep :80 I get the results below. And here it is my nginx.conf: #user nginx; # The…
Sina
  • 765
  • 1
  • 13
  • 32
1
vote
0 answers

Directadmin create reseller api

I am trying to create reseller account in directadmin in PHP using a pre-made package, but it doesnt work.. I have used my admin account. I dont have any problems to create user account: include 'httpsocket.php'; $server_ip="ip"; //IP that User is…
1
vote
1 answer

How to change Directadmin.inc.php to support ssl login

There is a script called Directadmin.class.php that has written years ago. I use it to create email. after force my panel to use ssl, the following code does not work any more: $da = new DirectAdmin('domain.de',…
1
vote
1 answer

Directadmin CMD_API_SHOW_DOMAINS domains array

I want to integrate Directadmin CMD_API_SHOW_DOMAINS function, but I can't understand how to explode returned array. Currently, I'm using this code: connect('myip',2222);…
1
vote
1 answer

Directadmin interface Virtual Host Httpd.conf Customization

How add custom httpd.conf code to the VirtualHosts of a domain in the directadmin interface? I need to add this lines to redirect http to https on my domains in the VirtualHost Port 80 and 443: ServerName www.example.com …
Overnet
  • 965
  • 3
  • 12
  • 20
1
vote
0 answers

How to make change on Apache/Nginx webserver using php or python script

Im programming php and python for website and I need a way to modify apache/nginx settings to add some subdomain and/or addon-domain to the server. Is it possible to do this things? Does affect DirectAdmin settings? Is it possible to do it using…
Pouya Abbassi
  • 422
  • 5
  • 15
1
vote
2 answers

Load Website via Dedicted IP in CentOS + Direct Admin

I use Direct Admin and Apache in CentOS 6.5, When i browse Server IP a white page load that Apache is functioning normally . How can change this that when i browse IP see my website.com? I don't want use IP/~Username method.
Amirreza
  • 61
  • 3
  • 8
1
vote
1 answer

Backup issue DirectAdmin - Centos 7

i hope that someone can help me with this. In Centos 7 + DirectAdmin i have a problem when i wan to make a backup from all users as ADMIN. I have googled tried alot of things but nothing helps... I hope that someone can help me out with this I am…
user5068138
1
vote
1 answer

how to change OPCache configuration

I put my custom configuration in php.ini file but configuration doesn't change. opcache.revalidate_freq=0 opcache.validate_timestamps=0…
Ehsan Dehghani
  • 111
  • 1
  • 2
  • 12