Apache Lounge



Forum Index Downloads Search Register Log in  RSS Apache Lounge

Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.



A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Apache Lounge is not sponsored.

Your donations will help to keep this site alive and well, and continuing building binaries.

BitNami WAMP Stack

Contains ApacheLounge build

RSS PHP feed into HTML

Post new topic   Reply to topic    Apache Forum Index -> Coding & Scripting Corner

View previous topic :: View next topic  
Author Message

Joined: 10 May 2011
Posts: 11
Location: South Africa

PostPosted: Fri 13 May '11 19:06    Post subject: RSS PHP feed into HTML Reply with quote


Need some help.

I want to embed a php coded RSS feed into my html website(that runs on my apache server). Now I have enabled Apache to run php5 as a module and I did include the following into my httpd.conf file:

Under the "loadmodule lines:
LoadModule php5_module "c:/php/php5apache2_2.dll"

Under <IfModule mime_module>:
AddType application/x-httpd-php .php
AddHandler application/x-httpd-php .php .htm .html

and PHPIniDir "c:/php" at the bottom of httpd.conf.

Now whenever I load my webpage, the php code (or the rss feed in this case) does not display. I've tried everything I can think of, and there is nothing wrong with the RSS feed php code. It's legit

Back to top
James Blond

Joined: 19 Jan 2006
Posts: 6317
Location: Germany, Next to Hamburg

PostPosted: Thu 14 Jul '11 20:53    Post subject: Reply with quote

Please read http://www.apachelounge.com/viewtopic.php?t=2395

if you still have a question please ask again
Back to top

Post new topic   Reply to topic    Apache Forum Index -> Coding & Scripting Corner
Page 1 of 1