Jump to content

How to install php webapp?

Go to solution Solved by C2dan88,

Delete index.html from /var/www/html

 

If you have not done so install sqlite and enable php sqlite3 extension

sudo apt install sqlite3 php-sqlite3
sudo systemctl restart apache2

Rename htaccess.txt to .htaccess

cd /etc/www/html
mv htaccess.txt .htaccess

 

Hello,

I try (unsuccessful) to install a webapp to my ubuntu server (web moneymanager ex). The description of installation is easy: "unpack the archive to webserver", and that is completely unclear for me.

 

Looking as example at webmin installation,  I unpacked downloaded app to /usr/share/[mmex webapp].

 

But I cannot access it even from localhost.

And i struggle to find any info how to install webapps correctly.

Do someone have any info about?

PC Specs - AMD Ryzen 7 3700X - Asrock AB350 ITX - 64GB DDR4-3600MHz - Geforce GTX 1080 - Samsung 960Pro - Monsterlabo's "The First" - Corsair SF450

Link to comment
Share on other sites

Link to post
Share on other sites

1 hour ago, C2dan88 said:

Just google it, one such guide I found.

https://vitux.com/install-and-configure-webmin-on-ubuntu/

Thank you, but exactly, webmin have a good guide and work well for me.

I try to install moneymangere-ex webapp on my server (ubuntu) :/

PC Specs - AMD Ryzen 7 3700X - Asrock AB350 ITX - 64GB DDR4-3600MHz - Geforce GTX 1080 - Samsung 960Pro - Monsterlabo's "The First" - Corsair SF450

Link to comment
Share on other sites

Link to post
Share on other sites

For web moneymanager ex you upload the WebApp folder to your http servers (or virtualhost) document root folder. Where that is is how you have configured the server. Default docroot for Apache on Ubuntu it is /var/www/html

Link to comment
Share on other sites

Link to post
Share on other sites

19 minutes ago, C2dan88 said:

For web moneymanager ex you upload the WebApp folder to your http servers (or virtualhost) document root folder. Where that is is how you have configured the server. Default docroot for Apache on Ubuntu it is /var/www/html

Well, still that does not work:

image.thumb.png.c788e5a66683c3753af759b5b5c498a8.png

 

image.thumb.png.a8828dac2f67e1ce19f4abd9ade3f3e1.png

 

Webmin was easy to install using *.deb.

Nextcloud was easy to install by extracting archive to /var/www/html (as example, not on this systeme).

 

But in mmex webapp there is no html files, but only *.php o.O

PC Specs - AMD Ryzen 7 3700X - Asrock AB350 ITX - 64GB DDR4-3600MHz - Geforce GTX 1080 - Samsung 960Pro - Monsterlabo's "The First" - Corsair SF450

Link to comment
Share on other sites

Link to post
Share on other sites

Delete index.html from /var/www/html

 

If you have not done so install sqlite and enable php sqlite3 extension

sudo apt install sqlite3 php-sqlite3
sudo systemctl restart apache2

Rename htaccess.txt to .htaccess

cd /etc/www/html
mv htaccess.txt .htaccess

 

Link to comment
Share on other sites

Link to post
Share on other sites

On 2/25/2020 at 10:03 PM, C2dan88 said:

Delete index.html from /var/www/html

 

If you have not done so install sqlite and enable php sqlite3 extension


sudo apt install sqlite3 php-sqlite3
sudo systemctl restart apache2

Rename htaccess.txt to .htaccess


cd /etc/www/html
mv htaccess.txt .htaccess

 

Thank you! That worked great!

Now everything is accessible, and over https :)

PC Specs - AMD Ryzen 7 3700X - Asrock AB350 ITX - 64GB DDR4-3600MHz - Geforce GTX 1080 - Samsung 960Pro - Monsterlabo's "The First" - Corsair SF450

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×