EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Linux Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=588)
-   -   Install for PEQ Database Editor (https://www.eqemulator.org/forums/showthread.php?t=42995)

RedVapor 07-09-2020 01:38 PM

Install for PEQ Database Editor
 
these were helpful for me in setting it up...

For debian buster the PHP version is 7.3 so you have to edit a different file. The first grep will find your path to the files needed then you can modify that path at the end of the sed commands below.


Also need to remove index.html and chown the directory

Code:

grep -r short_open_tag /etc/php/

grep short_open_tag /etc/php/7.3/apache2/php.ini
grep short_open_tag /etc/php/7.3/cli/php.ini

sudo sed -i 's/short_open_tag\ =\ Off/short_open_tag\ =\ on/g' /etc/php/7.3/apache2/php.ini
sudo sed -i 's/short_open_tag\ =\ Off/short_open_tag\ =\ on/g' /etc/php/7.3/cli/php.ini

grep short_open_tag /etc/php/7.3/apache2/php.ini
grep short_open_tag /etc/php/7.3/cli/php.ini

sudo vi config.php
sudo rm index.html

sudo chown -R www-data:www-data /var/www/html/

systemctl restart apache2



All times are GMT -4. The time now is 10:29 AM.

Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.