You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
4 weeks ago | |
---|---|---|
.idea | 4 weeks ago | |
public | 4 weeks ago | |
.gitignore | 4 weeks ago | |
LICENSE | 3 years ago | |
README.md | 4 weeks ago | |
my.sql | 4 weeks ago |
README.md
Installation
$ cd /var/www/
$ git clone https://codeberg.org/wh0ami/PHP-ShortLinks.git
$ cd PHP-ShortLinks
$ cp public/lib/config.php.sample public/lib/config.php
Set up a MySQL database (use my.sql
) and create a user with SELECT, INSERT and UPDATE permissions for this database.
You can configure the application by editing public/lib/config.php
.
Configure your webserver for using /var/www/PHP-ShortLinks/public
as DocumentRoot and make sure, that the /lib
dir
is not accessible.
This application is tested with PHP 8.0 and PHP 8.1. The PDO MySQL extension for PHP is required.