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
0
votes
1 answer

PHP-FPM on Centos7 with Directadmin -> url via httpd-alias not parsed as php

Having a problem with url's via an Alias. It's an Centos7 machine, running custombuild 2.0 Directadmin. The Alias itself is working, but the PHP is not parsed when it's set to a directory of A user who's owning all the…
0
votes
1 answer

SQLSTATE[HY000] General error: 1 Can't create/write to file /tmp/#sql

I have a PHP project which is working with MariaDB/MySQL on a DirectAdmin machine. It's a month that I receive this error while running a certain page in my application as below: PHP Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General…
Mohammad Saberi
  • 12,864
  • 27
  • 75
  • 127
0
votes
1 answer

cron command not working with DirectAdmin in shared hosting

I have the below cron command which is working perfectly with CPanel, but not working in the DirectAdmin panel. This command downloads a zip file every minute having the current date as a name (ex. 2021-03-09.zip) from the remote URL to the local…
0
votes
1 answer

Directadmin upload logo using CMD_SKINS with error cannot get mime-type

I'm trying to upload a custom logo using CMD_API_SKINS Here is my full code using curl + bash: #/bin/bash # DA needs this path mkdir -p /home/tmp # Assume my logo file is already here: default_logo_file_home="/home/tmp/logo.png" # The logo file…
ToiletGuy
  • 331
  • 1
  • 2
  • 11
0
votes
1 answer

DirectAdmin create subdomain programmatically using PHP

I created subdomain in DirectAdmin using his admin panel. But I want to do the same from PHP. I have to add section to the httpd.conf and create folder in public_html folder. And then add to DNS. But I have to do using PHP or using DirectAdmin API?…
Robert
  • 343
  • 1
  • 3
  • 14
0
votes
1 answer

DirectAdmin, Multple PHP Versions and MSSQL

In the past I have setup connections to MSSQL by using the MSSQL functions. I have an old site (client is refusing to upgrade) that runs php 5.5, sadly the functions have gone missing (it was working but now isn't) I've tried to re-install using…
Neo
  • 2,305
  • 4
  • 36
  • 70
0
votes
0 answers

Unable to build php 5.6 or 8, 7.3 builds successfully

We have a server where we have 3 php versions installed 5.6, 7.3 and 8.0 All running as FPM. In an attempt to get MSSQL extensions working all versions stopped running. The recommendation was to rebuild from custombuild. 7.3 re-built with no issues…
Neo
  • 2,305
  • 4
  • 36
  • 70
0
votes
1 answer

Why do our PHP scripts stop parsing midscript?

Recently we updated our server from PHP version 5.6 to PHP 7.4, since this upgrade we are experiencing some very strange behaviour of some scripts. The script themselves are fully PHP 7 suitable, there are no error logs or what so ever being printed…
Kevin
  • 1
  • 1
0
votes
1 answer

link database to php script to c# on a server

I need some help! i just cant figure it out. i have made a game (WebGL) added a database script using unity UnityWebRequest www = UnityWebRequest.Post and i have a PHP file. i uploaded the game build and the PHP file to a server. in the root…
stratos la
  • 119
  • 2
  • 8
0
votes
1 answer

DirectAdmin mysql connect to unity game problem

I have writen a script to collect email and score from a game and send it to a database. so far while developing i have used MAMP and everything worked fine. now i uploaded the build to direct admin , set up the database on phpmyadmin, changed the…
stratos la
  • 119
  • 2
  • 8
0
votes
1 answer

is it possible php.ini was modified without any manually changes?

I have CentOs 7 VPS and was installed DirectAdmin on it. Last night at 03:24 AM php.ini has modified automatically without my interference and I can't find any reason why this happened?!! It would be highly appreciated if anyone can advise me!
Nothehi
  • 695
  • 6
  • 19
0
votes
1 answer

how to fix smpt error (435) and exim config error

I have problem to use my server mail service with this error: ```2020-08-08 12:27:28 login authenticator failed for (User) [45.143.223.125]: 435 Unable to authenticate at present (set_id=helpdesk@compoteam.net): Undefined subroutine &main::smtpauth…
0
votes
1 answer

PHP Laravel memory usage increase on Direct Admin server

We have developed Laravel based software, locally tested with Laravel Valet and everything is working fine. One installing on a staging (direct admin) webserver with exactly the same database and code the memory usage dramatically increased. Local…
SvT
  • 5
  • 4
0
votes
2 answers

website keeps redirecting into old wordpress url

i placed a wordpress site in a subfolder in public html and after a while i completely deleted the wordpress subfolder and i want to do something else with server storage but even though now there is no folders in public html in its completely empty…
0
votes
1 answer

how to show all executed commands by directadmin?

i using linux (centos 7) and panel directadmin(custombuild 2) how to show all executed commands by directadmin? if not exist log executing commands by directadmin how to log any command executed by user directadmin? thanks