developer resources
Codebales holds an ever growing number of solutions to problems that we have experienced in our day to day code writing
Selected filter
130
results
Andrew Fletcher
•
I need to set the default php-version of a subscription to php7.3. The current server php version is PHP 7.1.33 (cli) (built: Oct 25 2019 11:33:58) ( NTS ).
Using a shell program (I used Terminal) from the home directory I ran:
export PATH=/opt/plesk/php/7.3/bin:$PATH;
centos 6 use
service httpd restartcentos 7 use
sudo systemctl restart httpd.serviceHowever, through shell when I ran php -v the version remained at 7.1.33.
Incase the restart wasn't enough I rebooted the server...
Andrew Fletcher
•
Don't worry this is an issue that many Drupal developers have come across....
Andrew Fletcher
•
Working on a new CentOS 7 server, Node wasn't installed. You can...
Andrew Fletcher
•
Using a Centos 6 or 7 server, how to check the current version of Apache?
httpd...
Andrew Fletcher
•
Attempting to load changes in a staging site and the bountiful error page...
Andrew Fletcher
•
Working through migration on a new Centos 7 server, the default mailbox size is 100MB. Yes a well organised account doesn't need more than 100MB. However, how to resolve this size for the outlier people with big mailboxes.
In one of our domains being migrated contains an account with 300MB plus and on another domain 400MB plus. To change the default size from 100MB run through shell the following command
plesk bin subscription_settings --update example.com...
Andrew Fletcher
•
Running a common composer command, post an upgrade on the server to Centos 7 and...
Andrew Fletcher
•
To connect to your CPanel hosted server via SSH OSX, please follow...
Andrew Fletcher
•
I'm receiving a server not found when logging in to Plesk from shell or...
Andrew Fletcher
•
This page shows a growing list of common commands for viewing and managing your...
Andrew Fletcher
•
Whilst updating nodejs and npm on a Centos 6 or 7 server running Apache, I hit a few walls and as a matter of process found some commands that are handy to run before doing a deep dive in Google.
Cleaning the cache
sudo yum clean all
rm -rf /var/cache/yum/*
To make the cache
sudo yum clean all; sudo yum makecacheIf you want to run several commands use semi-colon as noted above.
Updating
When running an update command run
sudo yum -y...
Andrew Fletcher
•
For what reason would you need to find the identity of the current user? You are...
Andrew Fletcher
•
I started out with a simple task... install Tailwindcss. What unfolded is...
Andrew Fletcher
•
Blocks are a great way to add pieces or chunks of content to your Drupal site....
Andrew Fletcher
•
iOS localization on the fly
If you have added languages to your app......