PHP

PHP is a popular general-purpose scripting language that is especially suited to web development PHP originally stood for Personal Home Page, but it now stands for the recursive initialism PHP: Hypertext Preprocessor.

www.php.net

image 79 - Change MySQL data directory in PHPMyAdmin

Change MySQL data directory in PHPMyAdmin

In a recent article, I discussed many methods for removing the large ibdata file, one of which involves transferring the MySQL data directory to a different partition. However, if you do so, you must also inform PHPMyAdmin of the location of the...

image 120 - Max retries has been reached, 503!

Max retries has been reached, 503!

503 Service Unavailable error on a shop hosted on shared cPanel server, apache error log: tail /usr/local/apache/logs/error_log 2022-04-29 11:04:21.728438 [T0] [31.32.33.34:49768-H3:3D8F707E6843B0DF-0#APVH_XXXXXX.com:443] Max retries has been...

image 28 - How to hide PHP version in the HTTP Header

How to hide PHP version in the HTTP Header

The x-powered-by option is included within the HTTP response header by default, which reveals exactly which version of PHP your site uses. So that not everyone else knows that we are using PHP or maybe an older version of PHP, we can hide this...

image 75 - Increase file size and number of uploads limits in PHP

Increase file size and number of uploads limits in PHP

Here I will cover two approaches to increase file size and number of uploads limits in PHP: using the .htaccess fileusing the php.ini Why you should use .htaccess file As always, I recommend utilizing the. htaccess file because the directives will...

fixpermsphp - Change Folder Permissions using PHP

Change Folder Permissions using PHP

Sometimes it’s useful to enable visitors to your site to upload content, for example, photos, which can then be displayed on the site. Folders on a website, for example, an images folder will typically have permissions of 755, which means that...

PHP 8.1 Contributors

What’s new in PHP 8.1

25.11.2021 -exactly a year ago since the release of PHP 8.0 the version 8.1 is rolled out, and with it, new features and a significant speed increase. From the point of a Webmaster that uses Laravel or WordPress, it’s important to note that 8...