View Single Post
  #144  
Old 02-05-2013, 08:08 PM
c0ncrete's Avatar
c0ncrete
Dragon
 
Join Date: Dec 2009
Posts: 719
Default

it's because apache isn't configured correctly to execute/handle the contents of the php file, and instead is providing them as plain text files.

also, you only want to open the file via a network address through apache, not using file->open.

again, don't worry about getting the database editor to work until you get a simple php document like the one with phpinfo in it to be correctly translated by apache. otherwise, you'll just end up confusing yourself further.

you're likely missing something like this
Quote:
#
LoadModule php5_module "c:/php/php5apache2.dll"
AddHandler application/x-httpd-php .php

# configure the path to php.ini
PHPIniDir "C:/php"
found @ http://php.net/manual/en/install.windows.apache2.php
__________________
I muck about @ The Forge.
say(rand 99>49?'try '.('0x'.join '',map{unpack 'H*',chr rand 256}1..2):'incoherent nonsense')while our $Noport=1;
Reply With Quote