Skip to content
Advertisement

Tag: http-status-code-403

phpmyadmin 403 Forbidden after php downgrade from 7.4 -> 7.3 on CentOS 7 Apache

I have acquired VPS and got it with LAMP. I installed phpmyadmin and configured it’s phpmyadmin.conf file to make it accessible from browser and it was working. Later I upgraded my PHP 5.x to 7.4. version following this tutorial: https://computingforgeeks.com/how-to-install-php-7-4-on-centos-7/ After upgrade I got memory problems with script so I tried “downgrade” to PHP 7.3. First I uninstalled my current

Custom Error 403 Page PHP

I created a .htaccess inside a directory in which I don’t want the files to be directly accessed. It works and fires the default 403 page (Access forbidden!) of the Apache server. How can I create a custom 403 page? Thanks! Answer In your .htaccess file you can specify what document you want as your default 403 error document. Here

Advertisement