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
15
results
Andrew Fletcher
•
Installing PHP on OSX and it installed PHP 8.2.x. However, for my applications I need to run 8.1.x. How do you switch the current PHP version?
Current version
Check the current PHP version by executing the command
php -vResponse:
PHP 8.2.2 (cli) (built: Feb 5 2023 12:38:16) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.2, Copyright (c) Zend Technologies
with Zend OPcache v8.2.2, Copyright (c), by Zend Technologies
Unlink PHP
To change your PHP version, begin...
Andrew Fletcher
•
Trying to have a chat recently, and Microsoft Teams would not open on MAC OS....
Andrew Fletcher
•
This code is from Drupal 9 back-end for a React front-end via REST API.
Working...
Andrew Fletcher
•
How do you generate a .pem file from an existing .ppk key?
Is putty on your...
Andrew Fletcher
•
I'm writing these steps primarily for myself as a reference. However, if...
Andrew Fletcher
•
A bug bear that I have had for a while with Drupal content is how come the author of an article is actually their username. I have an array of reasons to vent my dislike for this strategy... however, instead I will show you how to change it. Albeit, programmatically! Don't stress there actually isn't a huge amount of code to add. In time I'll create a module so no coding is required.
Setting up account fields in the admin area
To begin let's add new fields for...
Andrew Fletcher
•
Well for me it is very slow. Recently, I upgraded from CentOS 6 to Centos...
Andrew Fletcher
•
To connect to your CPanel hosted server via SSH OSX, please follow...
Andrew Fletcher
•
I had an issue where logging in from the app disconnected. The error that...
Andrew Fletcher
•
Overview
To update ejabberd you need to remove it, then re-install with the latest version. However, do check for database changes before initiating this process from the ejabberd documentation site (https://docs.ejabberd.im/admin/upgrade/).
Preparation
Before you begin this process you first need to create a copy of the config file. Not sure where this file is located? Then in shell run
ejabberdctl helpWhen I run this command the output received is
Commands...
Andrew Fletcher
•
The starting point is to read through and follow the notes outlined on the...
Andrew Fletcher
•
To add Erlang repository that also includes the public key for verifying signed...
Andrew Fletcher
•
Adding a pem file to secure ejabbered on the server for chat connection.
Getting...
Andrew Fletcher
•
To access the ejabberd log files, I found them located at the following...