Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 1.12 KB

75.install-phpmyadmin-on-nginx.md

File metadata and controls

42 lines (28 loc) · 1.12 KB

Install phpmyadmin on Nginx Web Server

  • Install phpMyAdmin and Other Plugins

    apt install phpmyadmin php-mbstring php-zip php-gd php-json php-curl
    • php-mbstring: A module for managing non-ASCII strings with different encodings
    • php-zip: An extension that facilitates uploading .zip files to phpMyAdmin
    • php-gd: Enables support for GD graphics library
    • php-json: Provides support for JSON serialization
    • php-curl: Allows PHP to communicate with other servers
  • Create symlink

    sudo ln -s /usr/share/phpmyadmin /var/www/<project_folder_name>/phpmyadmin
  • Login to phpmyadmin using web browser

  • If get warning e.g. "The $cfg['TempDir'] (/var/lib/phpmyadmin/tmp/) is not accessible." then run below commands

    cd /var/lib/phpmyadmin
    sudo chmod -R 775 tmp
    sudo service nginx restart

Reference Doc Links