Unable to update WHMCS

Reading Time: < 1 minute

When you attempt to update WHMCS, you receive the below messages:

Unable to Perform Automatic Updates
Automatic Updates require the escapeshellarg function to be available in PHP.

and

The following PHP functions must be enabled for WHMCS to be able to fully function as intended:
escapeshellcmd

Resolution:
1) Access your website cpanel
2) Locate and click ‘Select PHP Version’
3) Click ‘Switch to PHP options’
4) You can remove the features escapeshellarg and escapeshellcmd  from ‘disable_functions’
5) Click apply and then click save towards the bottom of the page

Note: Always take a backup of WHMCS before updating the version

The Symantec web security.cloud smart connect service started and then stopped

Reading Time: < 1 minute

You may also come across an error within the logs:

Bind: An attempt was made to access a socket in a way forbidden by its access permissions

If you’re using a port which may be in use by the client, you may receive such an error. For example if you’re using the default port of 80, try using a different port. It is strongly recommended that a privileged port (one below 1024) be used

If you wish to check what port is using 80, run the below commands within a command prompt:

1) c:\> netstat -ano | findstr 0.0:80
2) You’ll see an output similar to the one below

TCP 0.0.0.0:80 0.0.0.0:0 LISTENING 4 (PID)

3) Type:
asklist /fi “PID eq 4 (Where 4 is the PID number as shown above in point 2)

If unable to kill the process, as a workaround the agentconfigure.xml file can be changed to use a different listening port as shown is step 3 in Symantec’s technical article “Customize the Smart Connect configuration file”

Installing SQL 2014 on Server 2012 CORE

Reading Time: < 1 minute

You must be thinking that installing SQL on a CORE server is going to be tough, due to CORE being mainly command based.

You will be glad to know you can install SQL with a GUI

Two options:

1) Amend the drive letter below as required. The below command will launch the SQL interface wizard

Z:\Setup.exe /UIMODE=EnableUIOnServerCore

2) If you already have SQL 2014 installed, whether on a core server or a non core server, grab hold of the config file, check the drive letters and features are configured as per your requirement.
Use the below command to run the SQL install with minimum interaction

Z:\setup.exe /IACCEPTSQLSERVERLICENSETERMS /CONFIGURATIONFILE=”C:\SQLconfigFile\ConfigurationFile.ini” /UIMODE=EnableUIOnServerCore

Please note: Server CORE does not support all SQL Server features, so it’s important that you select the supported features as documented by MSDN, else the installation may fail.

If you’re copying and pasting the above commands, you may need to reenter the (Speech marks) ” if the command fails.