php dont work!

4 posts / 0 new
Last post
#1 Tue, 03/27/2018 - 19:06
sabalero

php dont work!

Hi there, I would like someone to be kind enough to help me with a problem that is sure to be simple but I am really new and I do not understand much about virtuamin

My php does not work, I think the php info and it does not work either.

I think it has to do with directives, that's why I put what appears when I edit them::

https://pastebin.com/nHW6K3MC

I've been with this for days and I can not solve it, please someone who can help me?

Tue, 03/27/2018 - 23:21
andreychek

Howdy,

What happens when trying to access a PHP script on your server?

Also, what distro/version is it that you're using?

-Eric

Wed, 03/28/2018 - 00:14
sabalero

Thank you so much for taking the trouble to answer!

Ubuntu 16.04 64bit with Webmin/Virtualmin/LAMP from Hostinger

Wed, 03/28/2018 - 08:59
sabalero

I could solve it with the following code

sudo apt-get install libapache2-mod-php

and after:

sudo service apache2 restart

thanks a have a nice day

Topic locked