Forum Moderators: phranque

Message Too Old, No Replies

Can't view pages...

After Apache install, can't see the page...but code instead?Anyone?

         

michaelb

10:29 am on Apr 7, 2005 (gmt 0)

10+ Year Member



After Apache install, can't see the page...but code instead?Anyone?

zCat

11:32 am on Apr 7, 2005 (gmt 0)

10+ Year Member



Err, what code? What kind of page should you be seeing? What kind of Apache have you installed?

Tip: The more clues you give, the better the chance of a qualified answer

michaelb

11:47 am on Apr 7, 2005 (gmt 0)

10+ Year Member



Have re-installed Apache 2.0 on a windows OS.Re-installed php 4 etc..All is fine except, when going to the webpage on the stesting server, it displays the pgp page code and not the page itself....what config file have I missed?

anshul

12:16 pm on Apr 7, 2005 (gmt 0)

10+ Year Member



Set path of PHP module for Apache ( in file httpd.conf ):
LoadModule php4_module c:/php4/php/php4apache2.dll
or
LoadModule php4_module c:/php/sapi/php4apache2.dll
or other
also add
AddType application/x-httpd-php .php
or
AddType application/x-httpd-php .php .php3

michaelb

12:39 pm on Apr 7, 2005 (gmt 0)

10+ Year Member



hI there again

I have done all of that, but to no avail...I am checking all my settings....I am totally baffled by this.Any other suggestions?

Thank you

zCat

1:04 pm on Apr 7, 2005 (gmt 0)

10+ Year Member



Have you restarted the Apache server? I dont' know about Windows but in Linux the server must be restarted when the config is changed.

michaelb

1:18 pm on Apr 7, 2005 (gmt 0)

10+ Year Member



Yes I have re-started the machine, I am baffled...checking XP services to see if there is any override of sorts.Apache is running fine at the moment.I'm not sure what it is.....still looking