How to install the XAMPP server pear2
XAMPP or bottom to windows server
How to install the XAMPP server pear2
XAMPP or bottom to windows server
It is not possible to install custom packages to MikroTik RouterOS.
RouterOS web-server itself is limited and runs basic functions necessary for router.
What kind of application do you want to run with the following package?
If you’re trying to install XAMPP on a Windows machine, that should be as easy as downloading the installer and running it.
After you do, your windows machine will have a web server, which you can access by typing “localhost” in your browser, and you can add files that will be served there by placing them in the “htdocs” folder inside XAMPP. XAMPP itself is by default installed in “C:\XAMPP”.
After you have it installed… When you say you want “pear2”, are you referring to PEAR2_Net_RouterOS, or to Pyrus (the “PEAR2 installer”)?
I’m going to assume the former, merely because we’re in the MikroTik forums… Just download the PHAR file, place it anywhere your computer, and include it from your PHP file. At first, to make sure there’s no path resolution issues, you may want to place both files in the same folder.
As said above, your PHP file needs to be inside “C:\XAMPP\htdocs”, so if it’s called “ros.php”, then “C:\XAMPP\htdocs\ros.php” will be available from “http://localhost/ros.php”. You may need to add some of XAMPP’s binaries to your Windows firewall. Look for “httpd.exe” and “php-cgi.exe” (and maybe “php.exe”, if you intend to make CLI applications), and add them to the exceptions in the Windows firewall.