![]() Untar or unzip the distribution (be sure to unzip the subdirectories):.Ensure you have downloaded a genuine archive, see Verifying phpMyAdmin releases.Some kits contain only the English messages, othersĬontain all languages. Choose an appropriate distribution kit from the ĭownloads page.Note: It is advisable to delete this info.php file as it contains vital information about your server that can be viewed by anyone on the web. ![]() Visit this page in your web browser by typing your server's domain name or public IP address followed by /info.php: When you are finished, save and close the file. Type the following code into the blank file: Open a new file called info.php within your document root in your text editor: OS version information, paths, master and local values of configuration options Server information and environment (if compiled as a module) Information about PHP compilation options and extensions This file outputs a large amount of information, such as: PHP version phpinfo() is also a valuable debugging tool, as it contains all EGPCS (Environment, GET, POST, Cookie, and Server) data. We are going to create a phpinfo() file to test our configuration. Step 3: Create a PHP File to Test Configuration If any errors are reported, recheck your file before continuing then proceed to reload Nginx to make the necessary changes: Ensure you save the file before closing then test your configuration file for syntax errors by typing:.Modify the server_name directive to point to your server's domain name or public IP address.Index index.php index index.html index.htm Add index.php as the first value of our index directive as shown below. ![]() Sudo nano /etc/nginx/sites-available/default This is done on the server block level by opening the default Nginx server block configuration file with the command:
0 Comments
Leave a Reply. |