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
124
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
•
When those simple annoyances are too frustrating! Yes we have all been...
Andrew Fletcher
•
Attempting to load changes in a staging site and the bountiful error page of
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator to inform of the time the error occurred and of anything you might have done that may have caused the error.
More information about this error may be available in the server error log.Looking through the error log, I had two messages...
Andrew Fletcher
•
Working through migration on a new Centos 7 server, the default mailbox size is...
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 Centos server.
ls syntax
$ ls [options] [file|dir]
ls command main options:
ls -a
list all files including hidden file starting with '.'
ls --color
colored list [=always/never/auto]
ls -d
list directories - with ' */'
ls -F
add one char of */=>@| to enteries
ls -i
list file's inode index number
ls -l
list with long format - show permissions
ls -la
list long format including hidden files
ls...
Andrew Fletcher
•
Whilst updating nodejs and npm on a Centos 6 or 7 server running Apache, I...
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....