![]() ![]() You can set up other stacks (for example, a LEMP stack) with similar methods. In this tutorial, we will set up a LAMP stack (Ubuntu 16.04, Apache, PHP 7.1, MariaDB) on WSL for development. ![]() These methods will work on the latest stable releases of Windows 10 as well. Note: This article is not only for the Windows Insiders. We can run a Linux environment directly on Windows without the overhead of a virtual machine. Microsoft says: “This is primarily a tool for developers - especially web developers and those who work on or with open source projects”. WSL is a compatibility layer for running Linux binary executables (in ELF format) natively on Windows 10. But, Microsoft now offers a great option for PHP developers who work on Windows: The Windows Subsystem for Linux (WSL). PHP development on Windows has some disadvantages. To make your pages available to public, you will have to edit your firewall rules to allow HTTP and HTTPS requests on your web server by using the following commands.By András Magyar How to set up a PHP development environment on Windows Subsystem for Linux (WSL) Restart the apache service reload all settings. chcon -Rv -type=httpd_sys_content_t /usr/share/phpmyadmin/* Alias /phpmyadmin /usr/share/phpmyadminĮnable SELinux and set permissions. nano /etc/httpd/conf.d/nfĪnd add the content to the file. mkdir /usr/share/phpmyadmin/tmpĬhown -R apache:apache /usr/share/phpmyadminĬhmod 777 /usr/share/phpmyadmin/tmp Configure phpMyAdminĮdit the nf file. mv phpMyAdmin-5.0.1-all-languages /usr/share/phpmyadminĬreate tmp directory and set permissions. Systemctl start rvice Installing phpMyAdminĭownload the latest phpMyAdmin archive from the official download page. dnf install php php-pdo php-pecl-zip php-json php-mbstring php-mysqlndĮnable and start httpd web server. PhpMyadmin requires LAMP stack installed and runningįor detailed installation, refer to LAMP Stack on Rocky Linux 8 In this guide, we will demonstrate how to install phpmyadmin on a Rocky Linux 8 powered system. How to Install phpMyAdmin on Rocky Linux 8 ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |