How to install XAMPP?

Is possible to install XAMPP on NixOS? I searched it in the Nix packages, but I don’t found it. I downloaded the installer from XAMPP official page, but when run it throws this:

sudo ./xampp-linux-x64-8.2.12-0-installer.run

Could not start dynamically linked executable: ./xampp-linux-x64-8.2.12-0-installer.run
NixOS cannot run dynamically linked executables intended for generic
linux environments out of the box.

I want it to use MariaDB, if I can’t to install it in NixOS, have some alternatives for XAMPP?

sure, you can get a LAMP stack on nixos… take a look at this to get started

i am assuming you’re new to nixos - don’t worry, the learning curve is a bit much but there are plenty of people here to help… we’ll get you up and running :muscle:

1 Like

Thank you. Basically developing a simple application, it will connect with MariaDB.

In cofiguration,nix I added this:

networking.firewall.allowedTCPPorts = [ 80 443  ];

 services.httpd.enable = true;
 services.httpd.adminAddr = "admin@website.org";
 services.httpd.enablePHP = true;

 services.httpd.virtualHosts."nixos.org" = {

 documentRoot = "/var/www/nixos.org";

 };

 services.mysql.enable = true;
 services.mysql.package = pkgs.mariadb;