The phpinfo() function in php has a lot of uses. Before going to disable the phpinfo function, you must learn the basics of it. Here is the link which helps you to create the phpinfo –> phpinfo() What is phpinfo()…
PHP
PHP error reporting – difference between E_ALL, E_ALL & ~E_NOTICE & ~E_ALL
I’m confused about this settings. What are the differences? Here, I’m talking about the basic idea behind php error reporting. This is a PHP function which defines how PHP report errors to server error logs. The error_reporting() function sets the error_reporting directive…
How to enable allow_url_fopen, allow_url_include on a shared server using custom php.ini
How to enable allow_url_fopen, allow_url_include? You can simply enable/disable the php functions allow_url_include and allow_url_fopen by editing the php configuration file. These functions may disabled in the php configuration file of some shared hosting server. You can simply manage these…
Simple PHP script to check the MySQL database connection from web-browser
Want to verify the DB connectivity from the web browser? This can be done from by adding a simple PHP script. See how!! It’s very easy and interesting to check your MySQL database connectivity from your account without login as…
How to install Zend Opcache in a DirectAdmin server?
Zend Opcache Zend Opcache on direct admin server installation, that’s the topic which we’re discussing here. Before going to the installation tips, let’s see what is Zend Opcache. It’s a modern PHP script caching module which accelerates the PHP performance.…
Enabling Mbstring extension on a cPanel server – EasyApache
Unable to establish a PHP session – PHPMyAdmin error
PHPMyAdmin error Do you ever come across the following error when you access PHPMyAdmin from cPanel? Access Denied Unable to establish a PHP session. If you believe that this is in error or inadvertent, contact your system administrator and ask…