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 (php.ini at root level), Drupal cannot modify runtime PHP settings — and it throws warnings. This is not a Drupal bug. It is a server configuration restriction. Step-by-Step Fix Step …
Technical Articles
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 values that need to override. But there are security concerns with this method. PHP will revert to an absolute base configuration, which means some applications may throw a fit because …
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 security In this article, we explain one of the most effective DNS-hardening methods: securing DNS using chroot, along with essential configuration considerations. Before proceeding, ensure that you have taken a …
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 the server as well. The command httpd -t -D DUMP_MODULES will provide a list of all loaded apache modules. Use httpd -t -D DUMP_MODULES | grep httpd -t -D DUMP_MODULES …
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). mysql> grant all privileges on abc.* to username@IP address of the machine from which the connection is to be made identified by <password> Example:: Let us consider two machines with …
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 symbol. 2. Data Encryption: The SSL Certificate enables encryption, which means that the sensitive information transmitted through the website/Internet cannot be intercepted and read by anyone other than the intended …
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 cases: 1. Domain Changed Between Main and Addon Domain The issue can happen when a domain is changed: During this process, cPanel may retain old email account references. 2. Domain …
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 graphics(GUI) loading problem will be fixed. If you require help, contact SupportPRO Server Admin
By enabling ‘concurrent mailbox access’ option on server, you can access the mailbox from your local PC and using iPhone at same time. To enable this on MailEnable please follow the bellow steps: 1. Log into MailEnable Administrator. 2. Go to MailEnable Management 3. Click on Servers–>services. 4. Rightclick on POP, select ‘properties’–>advanced 5. Select the option “Allow concurrent mailbox access”. 6.Then restart MailEnable. log into MailEnable Administrator–> MailEnable Management–>Servers–>Services->POP (properties)–> advanced–> allow concurrent mailbox access If you require help, contact SupportPRO Server Admin
To enable the PPP feature for a VPS, we first need to check whether the modules ppp_async and ppp_deflate are loaded in the kernel. You can check this by executing the following commands. # modprobe ppp_async# modprobe ppp_deflate Or you can list the active modules using the command lsmod. # lsmod | grep pppppp_deflate 39168 0zlib_deflate 52760 1 ppp_deflateppp_async 45184 0crc_ccitt 6337 1 ppp_asyncppp_generic 20165 6 ppp_deflate,ppp_asyncslhc 30561 1 ppp_generic Steps to enable the PPP feature.1. # vzctl set VEID –features ppp:on –save2. # vzctl set VEID –devices c:108:0:rw –save3. # vzctl exec VEID mknod /dev/ppp c 108 04. # vzctl exec VEID chmod 600 /dev/ppp5. Restart the VPS using the command # vzctl restart VEID To check the PPP …