Re: [PHP-INSTALL] php
[email protected] (Keith Roberts)
| Newsgroups | php.install |
|---|---|
| Message-ID | <[email protected]> |
On Fri, 1 May 2009, srdan mudrinic wrote: > To: [email protected] > From: srdan mudrinic <[email protected]> > 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 > 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/ 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] -----------------------------------------------------------------