Tag: Apache

How to fix “Configuration File (php.ini) Path” no value (SOLVED)

The phpinfo function shows complete information about the PHP environment, including which modules are enabled, where the configuration files are located, with which options the PHP binaries were compiled, and much more. To use this function in the web server folder create a file and copy to it: <?php phpinfo (); Save the file and open it in a web...

How to install a web server (Apache, PHP, MySQL, phpMyAdmin) on Linux Mint, Ubuntu and Debian

If you are a webmaster, or a PHP programmer, or you just need to run a website on your computer, then you can do it using a web server. On Linux, the web server (Apache) and related components (PHP, MySQL, phpMyAdmin) are installed in just a few commands. This tutorial will show you how to set up a web server...

What is open_basedir for and how to use open_basedir

The open_basedir directive is specified in the PHP configuration file (php.ini) and sets the directories that PHP can access. Access refers to any actions with files: opening (for example, fopen() or gzopen()), writing and executing. If the open_basedir directive is set and an attempt is made to run a file that is outside the listed directories, the script will not...

How to install Apache web server with PHP, MySQL and phpMyAdmin on Windows

Table of contents 1. Windows web server 2. How to install Apache on Windows 3. How to install PHP on Windows 4. PHP 8 setup 5. How to install MySQL on Windows 6. How to install phpMyAdmin on Windows Conclusion Windows web server A web server is a program that is designed to process requests for websites and send website pages to users. The most...

How to set up Varnish, rule examples

Table of contents 1. How to change Varnish options 2. How to change cache retention time in Varnish 3. How to prevent Varnish from creating new cache for different browsers 4. A 403 page got into the Varnish cache and now it is shown to all users 5. How to make Apache logs show real IP address instead of 127.0.0.1 when used with Varnish 6. How...

Error “Cannot load modules/libphp7.so” (SOLVED)

Some Linux distributions have already started migrating to PHP 8. In some distributions the new version of PHP removes the old one, as a result of which the web server may stop working due to the fact that the files specified in the web server configuration are missing or renamed. Examples of errors you may encounter: httpd: Syntax error on...
Loading...
X