Report this

What is the reason for this report?

update ubuntu 14.04 to 16.04 and php does not work

Posted on June 16, 2019
juan

By juan

update ubuntu 14.04 to 16.04 and php does not work, the wordpress sites is ok, but phpinfo and others sites not works.

Phpinfo shows the containts of the file and do not execute.

In mod-enabled only shows php 7.0

any ideas? thanks a lot!



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

I still have the same problem, if anyone knows that I can prove it is appreciated!

I just made these steps, but it still does not work

Hi @juan,

I suggest taking a look at our tutorial on installing the LAMP stack, specifically the section on installing PHP correctly, to ensure that PHP is installed and running on your system: https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu-16-04#step-3-install-php

Let us know how it goes and please do say if you need further help with this!

- Matt.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.