What is phpinfo() function ? The function phpinfo() displays the current information of PHP, which includes the php extensions and compilations, version, server information and environment (if compiled as a module), the PHP environment, paths, master and local values of…
PHP
Command-line option to list the current PHP handler on the server – cPanel
A php handler loads the php modules and that determines how the php pages loaded on the server. Different types of php handlers are CGI, DSO, suPHP, & FastCGI. In a cPanel server, we have a command-line option to list…
How to create custom php.ini file in a Litespeed webserver
How to create custom php.ini file in a Litespeed webserver ——————————————————— Do follow the steps below to create custom php.ini file: Step 1: Select Litespeed Web Server from WHM > Litespeed Configuration > Admin Console > Configuration > Server >…
How/Steps to install Suhosin Patch(php extension) on Unix/Linux server
Suhosin (Korean, meaning guardian-angel) is an open source patch for PHP. “The goal behind Suhosin is to be a safety net that protects servers from insecure PHP coding practices.” Suhosin goes further than that however in allowing the attack surface…
How to install IonCube loader on server.
IonCube is a PHP module extension that loads encrypted PHP files, and speeds up web pages that are being displayed. It is often required for a lot of PHP-based applications.
Managing PHP extensions (cPanel)
Php extensions means additional modules that we need to run/execute with an already installed PHP on server. No need to run easyapche to install/uninstall modules like zend optimizer,EAccelerator, IonCubeLoader, SourceGuardian, PHPSuHosin etc. You can use the command scripts/phpextensionmgr to do…
Disabling Magic Quotes using .htaccess file
Magic Quotes is a process that automatically escapes incoming data to the PHP script. It’s preferred to code with magic quotes off and to instead escape the data at runtime, as needed. We can simply turn OFF magic_quotes and magic_quotes_gpc…