Report this

What is the reason for this report?

My page php don't working! I get the code in screen!

Posted on September 8, 2015
Nay

By Nay

A create a php file with that code to test:

<?php
phpinfo();
?>

and I get that screen: https://dl.dropboxusercontent.com/u/11826717/off/imgs/phpinfo.jpg

When I acess my php page, only after insert a login I get the code: https://dl.dropboxusercontent.com/u/11826717/off/imgs/phppage.jpg

That is the problem!



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.

But others php pages working fine, only that php page don’t working in digitalocean, how can happened it?

And if I install “LAMP” can cause any problem? Because I already have all my directories of site in the air.

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.