When a users browser calls a PHP script, the process is as follows. 1.Users browser request the page2.PHP script gets compiled by server3.Execution of the compiled version4.Output data. Normally the applications such as programs on our desktop are already compiled. But this is not in the case of scripting languages such as PHP,Perl etc. They are compiled only on demand. Converting source code to machine code consumes a lot of resources. Opcode cache stores the opcode in a cache. Thus instead of constantly recompiling the source code it execute the …
Technical Articles
Steps to downgrade WordPress version: 1. Firstly, make full back up of your site (backup of WordPress folder and database). 2. Login to your WordPress dashboard. Go to plugins and deactivate all the plugins. 3. Once you completed with deactivating all the plugins, logout from the WordPress dashboard. 4. Login to your hosting account. Go to your sites root directory and locate the core WordPress files. 5. Delete wp-admin and wp-includes folder. There is no need to delete the files since they can be replaced or overwritten while you copy …
How to Fix “ini_set() Has Been Disabled for Security Reasons” in Drupal 7
How to Fix “ini_set() Has Been Disabled for Security Reasons” in Drupal 7 When a Drupal 7 website suddenly starts showing warnings like: it usually means that your hosting server has disabled the ini_set() PHP function at the server level. This issue commonly appears after: Let’s understand why this happens and how to fix it properly. Why This Error Occurs Drupal 7 relies on the PHP function ini_set() during its bootstrap process (inside bootstrap.inc) to configure runtime settings. If your hosting provider has disabled ini_set() globally in the server configuration …
Most of the shared hosting servers will be running php 5 with phpSuExec enabled.And so users are not able to have php flags in their .htaccess file. Inserting php flags in .htaccess files is a common cause of internal server errors on servers with phpSuExec enabled. One way around this is to create a custom php.ini file with the php values you need. The custom php.ini file we are creating should have the following permissions. permission: 644 ownership: cpanelusername:cpanelusername We can simply create a blank php.ini file and can add …
DNS is a critical component of any network infrastructure. It is responsible for translating domain names into IP addresses, making it a prime target for attackers. A compromised DNS server can lead to traffic redirection, data interception, service downtime, and severe reputation damage. The main objective of securing DNS includes ensuring the secure exchange of data between DNS servers, protecting DNS queries, securing zone transfers, and controlling DNS updates. Strengthening DNS security is a foundational step in overall website and server protection, as discussed in SupportPro’s guide on improving website …
Check for the current version of apache installed on the server and make sure that the apache development tools have been installed on the server (i.e. httpd-devel package) using the command rpm -qa | grep httpd-devel In case the apache development tools are not installed on the server, install the package via yum yum install httpd-devel The devel package is necessary for addition of extra modules to apache ( since apxs [apache extension tool] comes with httpd-devel. Before installation of mod_security, ensure that the c (apache module) is installed on …
Remote server configuration 1. Edit the /etc/my.cnf file in the remote server and add the following line somewhere under [mysqld] in the my.cnf file bind-address=<IP address of the remote server> 2. Restart mysql on the server Granting privileges for database:: In order to access a database ‘abc’ on the remote server from another machine, we need to add sufficient privileges for a user in the machine from which the connection is made. i.e. from the mysql prompt ( use mysql command or mysql -u root -p to enter the prompt). …
An SSL certificate is a file installed on a secure web server that identifies a website. SSL certificate is mainly used is tokeep sensitive information sent across the Internet encrypted so that only the intended recipient can understand it. An SSL Certificate is used for the following functions. 1. Authentication and Verification: The SSL Certificate holds the information about the authenticity of certain details regarding the identity of a person, business or website, which it will display to visitors on your web site when they click on the browser’s padlock …
Sometimes while trying to delete an email account from cPanel, you may encounter an error similar to the following: This issue with removing an email account from cPanel usually occurs because the domain ownership information inside cPanel is not properly updated after account or domain changes. Although the email address may appear deleted, its entries and mail data can still remain on the server. In such situations, manual cleanup is required. Common Causes of the Issue with Removing an Email Account from cPanel This problem mainly occurs in the following …
GNU/Linux provides a tool/command to fix this issue: ‘dpkg-reconfigure xserver-xorg’ is the command for fixing the Xserver loading problem. Steps:- First, log in as a super (or root) user from the console. Then, run dpkg-reconfigure xserver-xorg (if you’re on Ubuntu and can’t log in as root, run sudo dpkg-reconfigure xserver-xorg). You will see a window/wizard as ‘Configuring xserver-xorg’ , Just accept the default answer and go to the next one. At the end of the wizard you will be exited from the configuration window/wizard, then just reboot the system your …