Re: php
| From: | Keith Roberts | Date: | Fri, 01 May 2009 22:50:00 +0000 |
| Subject: | Re: php | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-19655@lists.php.net to get a copy of this message | ||
On Fri, 1 May 2009, srdan mudrinic wrote:
To: php-install@lists.php.net From: srdan mudrinic <srdan91@gmail.com> 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] -----------------------------------------------------------------