Discussion:
[PHP-INSTALL] php
srdan mudrinic
2009-05-01 21:01:58 UTC
Permalink
Hey
i have some problems whit getting php working. i have installed apache
2.2.11 and its working great. i have some truble whit php 5.2.3 i have
followed this install guide :
http://www.sebastiansulinski.co.uk/tutorials/show_item/20/installing_php_on_windows_xp

but im still haveing problems when i open a php file in the browser the php
code shows up in the code.
you can see self: http://www.srdan.com/phpinfo.php

Can some one help my whit the problem? plz

sorry for my bed english

thank Srdan
http://www.srdan.com/
Keith Roberts
2009-05-01 22:50:00 UTC
Permalink
Subject: [PHP-INSTALL] php
Hey
i have some problems whit getting php working. i have installed apache
2.2.11 and its working great. i have some truble whit php 5.2.3 i have
http://www.sebastiansulinski.co.uk/tutorials/show_item/20/installing_php_on_windows_xp
but im still haveing problems when i open a php file in the browser the php
code shows up in the code.
you can see self: http://www.srdan.com/phpinfo.php
Can some one help my whit the problem? plz
sorry for my bed english
thank Srdan
http://www.srdan.com/
Try this in your apache httpd.conf:

AddType application/x-httpd-php .php

You will need to restart apache with:

apachectl stop
apachectl start

to make apache re-read httpd.conf and apply the new
settings.

After that any .php files should be parsed by the apache
php module.

HTH

Keith Roberts

-----------------------------------------------------------------
Websites:
http://www.php-debuggers.net
http://www.karsites.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
-----------------------------------------------------------------
Loading...