admin has written 153 articles

Working with Laravel config:cache

Laravel provides a static cache utility via Artisan to collapse configuration under config/ into a single file to boost performance. Configuration may be cached using: php artisan config:cache When run from terminal, the paths provided may be incorrectly referenced when the application is accessed from the web resulting in application errors. Solution Overwrite bootstrap/app.php to use a…

Mail sent via 127.0.0.1 rejects with “Relaying Denied”

Overview Email that is sent over TCP via 127.0.0.1 or the server IP address is rejected with a “521: Relaying Denied” error message. Cause All email that passes through TCP must be authenticated with a SASL-compatible username and password, which is the login/password used to access email on the server. Solution SASL authentication is necessary to…

MySQL snapshots and rollbacks

apnscp supports simple MySQL database snapshots as of August 28, 2016. Snapshots are ideal for preserving your database structure before a software update or any situation in which there is risk of loss of data not covered by the nightly backups. Snapshots perform a full database export and stores this file, uncompressed, in your backup directory. Snapshots…

Resetting WordPress password

Overview On v4.5+ platforms, WordPress may be reset within the control panel. Visit Web > Web Apps Select the hostname, or if WordPress resides in a folder below the hostname, e.g. example.com/wordpress, then click the dropdown indicator > Edit Subdir If the location is not known to contain WordPress, click Detect first to detect the application as…

Setting timezone and locale

Overview Timezone and locale may be changed for the active user within the control panel via Account > Settings > Localization. Any timezone changes will be inherited by terminal applications and one-click applications created following adjustment. Other PHP applications will need to be adjusted on a case-by-case basis. Changing timezones in PHP applications A timezone may be…

Account security notices

Account security is very important to us. To improve client safety and the safety of those who share server space with you, account logins are monitored to ensure only trusted users access your account. In the event that an unrecognized browser logs into your account, a notification email is sent to the contact address on record.…

Understanding fortification

Overview Fortification Mode is a new feature introduced in apnscp as of May 2016. Fortification simplifies permission management for PHP-based applications, which run as a separate user from the account holder to enhance site security. Fortification mode is done within the control panel on a known application via Web > Web Apps. When disabled, fortification…