This repository contains a script to automate the setup of Apache, MySQL (MariaDB), and PHP on OpenBSD. This port was created by myself, and it configures a basic LAMPP stack similar to other LAMP-like environments but tailored for OpenBSD.
- Installs Apache HTTP Server (not the native httpd)
- Configures MariaDB (MySQL) with PHP MySQL integration
- Adds phpMyAdmin for easy database management
- Example configuration files provided
- Serve Projects on localhost in /var/www/htdocs
- Clone the Repository:
git clone https://github.com/silverhadch/Open-AMP cd Open-AMP
- Run the Setup Script:
Simply execute the script as root (via doas or sudo) to install and configure the LAMPP environment.doas ./install.sh
- Example httpd.conf:
An examplehttpd.conf
file has been provided in the repository. You can copy this to/etc/httpd.conf
to start your server configuration.doas cp httpd.conf /etc/httpd.conf
Maybe more Features.
Once the script is complete, you can access your environment at: http://localhost/
phpMyAdmin can be accessed at: http://localhost/phpMyAdmin
Contributions and feedback are welcome!