<?php sleep(90); $time = microtime(true) - $_SERVER["REQUEST_TIME_FLOAT"]; echo "PHP was running $time seconds\n";
Category Archives: Hosting
directadmin AH01075: Error dispatching request to : (polling
echo 'ProxyTimeout 1800' >> /etc/httpd/conf/extra/httpd-includes.conf
service httpd restart
Invalid command ‘RewriteRule’
a2enmod rewrite
systemctl restart apache2
cPanel set hostname ssl certificate
/usr/local/cpanel/bin/checkallsslcerts –verbose
If checkallsslcerts is doing nothing
rm /var/cpanel/ssl/disable_auto_hostname_certificate
rm /var/cpanel/ssl/disable_service_certificate_management
show database collocation mysql
SELECT SCHEMA_NAME 'database', default_character_set_name 'charset', DEFAULT_COLLATION_NAME 'collation' FROM information_schema.SCHEMATA;
Magento install Could not validate a connection to Elasticsearch. No alive nodes found in your cluster
php bin/magento module:disable {Magento_Elasticsearch,Magento_Elasticsearch6,Magento_Elasticsearch7}
RewriteCond skip acme-challenge
RewriteEngine On
RewriteCond %{REQUEST_URI} !^/\.well\-known/acme\-challenge/
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
wddx php 7.4 pecl
wget https://github.com/php/pecl-text-wddx/archive/master.zip -O wddx.zip
unzip wddx.zip
cd pecl-text-wddx-master
phpize
./configure
make
make install
503 valid rcpt command must precede data cPanel
You should check if cPanel mailbox disk quota not exceeded
An error occurred while saving sent message. Unable to perform operation. No free disk space.
Roundcube error message. you should check if mailbox disk quota not exceeded
journalctl mysql logs
journalctl -u mysql.service -f
sender verify fail for The mail server could not deliver mail to The account or domain may not exist, they may be blacklisted, or missing the proper dns entries.
cPanel whitelist sender
WHM >> Service Configuration >> Exim Configuration Manager
Sender verification bypass IP addresses
Trusted SMTP IP addresses
lock crontab job
* * * * * /usr/bin/flock -w 0 /tmp/cron.lock /usr/bin/php7.4 /path/to/cron.php
Parse error: syntax error, unexpected ‘elseif’ (T_ELSEIF) in
vim /etc/php/7.4/cli/php.ini;
short_open_tag=On;
.htaccess: Invalid command ‘Header’, perhaps misspelled or defined by a module not included in the server configuration
a2enmod headers
systemctl restart apache2