PHP is not working

Hi,

Just created my account and have run into an issue. I have the following bit of code in index.php:

<?php

    echo "Hello World!";

?>

However instead of Hello World! i get a directory listing.

Live: https://ookmakyi.glitch.me

Code: Glitch :・゚✧

Hello, put your PHP code in project like ~lamp-poc to run PHP.

ok i remixed that project but i ended up creating multiple remixes in the process. How do i delete the other projects?

not possible just archive or email them at support@glitch.com i think thats the correct email

ok next question, how do i set the document root to a folder named Pubic? My controllers and models will be outside the document root which is why i am asking.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.