Page not reading php[SOLVED]

Hello,

I have a phpbb forum I am trying to install. I have my site-enabled config file worked out with apache. The problem is when I go to the url to load the index.php file it loads the actual code. So it's not executing the code as it should. I am sure this is something really simple but I am new to this so I have to ask.

Can anyone tell me what causes this issue? The url is forum.astrocospace.com/

I have cleared my browser cache, restarted the apache2 server and I have rebooted my linode.

This is what the page shows: (an excerpt of it)

/**

*

  • This file is part of the phpBB Forum Software package.

*

  • @copyright © phpBB Limited <https://www.phpbb.com>

  • @license GNU General Public License, version 2 (GPL-2.0)

*

  • For full copyright and license information, please see

  • the docs/CREDITS.txt file.

*

*/

/**#@+

  • @ignore

*/

define('IN_PHPBB', true);

define('IN_INSTALL', true);

/*#@-/

$phpbbrootpath = (defined('PHPBBROOTPATH')) ? PHPBBROOTPATH : './../';

$phpEx = substr(strrchr(FILE, '.'), 1);

I am happy to provide more info if needed.

2 Replies

I think you maybe did not enable PHP.

http://stackoverflow.com/questions/1214 … -executing">http://stackoverflow.com/questions/12142172/apache-shows-php-code-instead-of-executing

Thank you jeremye77 that was exactly the problem.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct