Web Solutions and Technical Support Resources





Logging in Apache More about it

The Apache access logs stores information about events that occurred on your #Apache web #server. Apache web servers also provide administrators with another type of log file called error logs. 

The Apache error log has a logging level that filters the messages sent to the log. Apache #logs nothing for a single page request in warn level.

This log file is used to provide more information regarding a particular error that has occurred on the web server.

By default, you can find the Apache #access log file at the following path:

i. /var/log/apache/access. log.

ii. /var/log/apache2/access. log.

iii. /etc/httpd/logs/access_log.

To enable the Apache #HTTP access logs:

1. Open the Apache HTTP configuration at /Applications/MAMP/conf/apache/httpd.conf.

2. Find this line.

3. Change the line.

4. Restart Apache using the MAMP widgit.

5. Now, view your new logfiles!

Read More




Directadmin ioncube How to install and fix related errors

This article will guide you on how to set up the Ioncube loader and fix DirectAdmin Ioncube #errors. Incorrect timezone and misconfiguration in the php.ini file cause errors after installing the Ioncube loader in #DirectAdmin.

ionCube and Zend are fine for code protection, and even if some decompilation service produced usable code from an encoded file, this would typically do little if anything to diminish the benefits from encoding and license enforcement, and may even result in increased revenue in the longer term for the software.

To use ionCube #PHP encoder?

To use this PHP function to output the required data complete the following steps:

1. Connect to your server via #SSH.

2. Create a PHP file.

3. Add the phpinfo() function.

4. Save the file inside the root website folder.

5. Display in a browser.

6. Search the document for ionCube references.

7. Delete the file when done.


To enable Ioncube #loader in #cPanel:

1. Login to #WHM (root)

2. Go to Server Configuration -> Tweak Settings -> PHP.

3. Select #ioncube check box for cPanel PHP loader.

4. Click on Save button.

That's it. 

This will enable Ioncube for you in 3rd party PHP binary.

Read More




cPanel MySQL error query PHP

This article will guide you on methods to fix cPanel MySQL #error query #PHP. Generally, the MySQL error query PHP is mainly related to the PHP file. This can be either caused due to incorrect database details in the PHP file or incorrect permissions or incorrect ownership in files. 

To fix this issue:

1. Update to the latest version of #MySQL to resolve the issue. 

For some, this may require removing yum version locks on the MariaDB packages.

If packages are locked for #MariaDB clear the lock with the below command:

yum versionlock clear

Otherwise, proceed with the updates for MariaDB:

yum upgrade MariaDB-*

Read More




Create user in DirectAdmin

This article will guide you on how we can create a #user in DirectAdmin and fix errors related to it. DirectAdmin provides an easy way to create a user as a reseller. And the errors during its creation are mainly due to home directory unavailability or improper permissions or due to the disk being full. 

#DirectAdmin can be accessed at http://server.ip.address:2222. 

Use the Admin username/password from the output information provided by setup.sh (the same information is specified in the /usr/local/directadmin/scripts/setup.

To install Direct Admin:

1. Set a main #domain name. By default, no web #site is associated with your server.

2. Create nameservers (optional) Add at least one additional IP address to your sever.

3. Set your e-mail address in the control panel.

Read More




Create a virtual machine using lightsail in AWS

This article will guide you on how to create a virtual #machine using Lightsail in #AWS.

#Lightsail is an easy-to-use virtual private server (#VPS) that offers you everything needed to build an application or website, plus a cost-effective, monthly plan.

To create a virtual machine in #cloud:

1. Using the left-hand navigation bar, click Compute Engine and then select #VM instances from the item list. 

2. If this is your first #VM on the platform. 

3. If you have a VM template you can import it to GCP, but in this case we will create a VM from scratch.

Read More




MSSQL replication setup

This article will guide you on how to setup #MSSQL replication and fix related errors. The MSSQL replication is a bit long procedure to configure replication. 

Through embedded SQL database replication technology, #SQL Server supports three types of #replication: snapshot, transactional, and merge replication.

#Snapshot replication sends the entire data set to the subscriber. 

Transactional replication only sends modifications to the data. 

Merge replication items are modified at both the publisher and subscribers. 

Heterogeneous replication allows access to other database products.

To enable replication in SQL Server:

Using SQL Server Management Studio (#SSMS)

1. On the Publication Databases page of the Publisher Properties - <Publisher> dialog box, select the Transactional and/or Merge check box for each database you want to replicate. 

2. Select Transactional to enable the database for snapshot replication.

3. Click OK.

Read More