Question
update ubuntu 14.04 to 16.04 and php does not work
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!
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.
×
Are you using short tags
<?
or long tags<?php
to run PHP within the webpages (phpinfo etc)?I tried both ways. I do not understand why wordpress works and the rest is not
@juan it is very odd that wordpress is working fine. Are there any noticeable differences in the apache config for your wordpress site and other sites that aren’t working?
it’s in the same place that it works I added the phpinfo …