How do I recompile PHP on a Direct Admin control panel server?
SSH to server and then run the following commands. cd /usr/local/directadmin/customapache ./build clean ./build update ./build php
SSH to server and then run the following commands. cd /usr/local/directadmin/customapache ./build clean ./build update ./build php
SSH to the server as root and run the following: cd /usr/local/directadmin mkdir customapache cd customapache wget https://files.directadmin.com/services/customapache/build chmod 755 build ./build update ./build all
An issue with php/apache is causing apache not to start in FreeBSD. It segfaults and core dumps, logged in the /var/log/httpd/error_log. Try removing –with-openssl from your configure.php file and recompile php. cd /usr/local/directadmin/customapache vi configure.php #remove –with-openssl from the file, save, exit. ./build clean ./build php n Possibly a mod_perl
If you wish to change the setup of the VirtualHosts for all domains, you can do so by creating your own custom templates. cd /usr/local/directadmin/data/templates cp virtual_host*.conf custom cd custom Once you’ve copied the 4 VirtualHost files (or just the ones you want) to the custom directory, you can then
Cron is the tool used to control the update frequency of the stats. You can easily change the frequency by modifying the cron job. Cron file for RedHat: /etc/cron.d/directadmin_cron Cron file for FreeBSD: /etc/crontab Edit the cron file and locate the line that looks like the following: 10 0 *
Step 1) Do you meet the system requirements? – Clean OS install: Redhat 7.2, 7.3, 8.0, 9.0, Fedora (any version), CentOS (any version). PS :- The setup file for Redhat also works for Fedora and CentOS (any version). – At least one external IP address (NAT/LAN-based systems will NOT work).
Step 1) Do you meet the system requirements? – Clean OS FreeBSD 4.7, 4.8, 4.9, 4.10, 4.11, 5.0, 5.1, 5.2, 5.2.1, 5.3, 5.4, 6.0, 6.1 – At least one external IP address (NAT/LAN-based systems will NOT work) – SSH installed, gcc installed (these are usually standard with 99% of systems)