Set default php-version for command line Plesk
$ which php /usr/bin/php $ mv /usr/bin/php /usr/bin/php-backup $ ln -s /opt/plesk/php/7.3/bin/php /usr/bin/php $ php -v
$ which php /usr/bin/php $ mv /usr/bin/php /usr/bin/php-backup $ ln -s /opt/plesk/php/7.3/bin/php /usr/bin/php $ php -v
As a developer, you will occasionally need to create a new administrative user in the database to gain access to the site. Typically, this is necessary when you are provided with an export of a WordPress database, but you aren’t provided with the login credentials for the admin user. Sure, you can gain access via…
Just simple add below shortcode in the contact form in wp-admin [submit “SUBMIT FORM →”]
Performing a MySQL Database Dump From your SSH command prompt type … mysqldump -u {username} -p {password} {databasename} > {databasename.sql} Replace the parameters with the appropriate values {username} – this is your database username {password} – this is the password for your database {databasename} – the name of your database {databasename.sql} – the file to…
Importing a MySQLDUMP From your SSH command prompt type … mysqladmin -u {username} -p {password} create {databasename} mysql -u {username} -p {password} < {databasename.sql} Replace the parameters with the appropriate values {username} – this is your database username {password} – this is the password for your database {databasename} – the name of your database {databasename.sql}…
Here is the code for How To Change Style for File Upload in Contact Form7 , .your-file { color: transparent; } .your-file::-webkit-file-upload-button { visibility: hidden; } .your-file::before { content: ‘Seleziona un file’; color: white; display: inline-block; background: #ff9800; border: 2px solid #e68d09; border-radius: 3px; padding: 5px 8px; outline: none; white-space: nowrap; -webkit-user-select: none; cursor: pointer;…
Identify the spammer, if your server is getting spammed. Learn how to track down a spammer on cPanel step by step. If your server has been SPAMming you need to identify how the SPAM is getting sent. The first thing to do is login to WHM and go to the Mail Queue section. Look through the…
In this guide, we will integrate the Google reCAPTCHA in the PHP contact form. Utilizing this Google reCAPTCHA code, we can validate the human users and protect the form of submission from bots. Integrating Google reCAPTCHA is recommended because It is an effective and efficient way of validating the user against bots. As we know…
Most businesses choose to create a professional email account to boost their credibility and build customer trust. To accomplish this, you just need to buy a domain and set up your business email on an email client or a server. If you build your website or web application with the PHP programming language, you can…
It is common practice to change hosting service providers when you are not happy with the service of your present provider. A major deterrent in doing so is the problem of moving email accounts, especially when you have plenty of them stored on the server and you cannot afford to give them away. So, when…