No php coding is being parsed
Posted by: mstevenson (---.hsd1.mi.comcast.net)
Date: July 28, 2010 06:02PM

No php coding is being parsed. Any idea what it is that I don’t have correctly set and which file(s) and their locations that I need to edit?


BTW: what is x-mapp-php5?

Options: ReplyQuote
Re: No php coding is being parsed
Posted by: yfastud (Moderator)
Date: July 28, 2010 06:09PM

you have to run files through localhost

To setup website w/ Wamp, follow this
[blog.jlbn.net]

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: No php coding is being parsed
Posted by: mstevenson (---.hsd1.mi.comcast.net)
Date: July 28, 2010 06:20PM

Everything was running through localhost! I've had the project up and running for quite some time.

Something ocurred on my computer, it may have been a virus or something, but it made my php portions of my site stop functioning.

How is my original question that I posted two days ago:

I am using WampServer2.0i.exe with php 5.3.0.
C:\wamp\bin\php\php5.3.0
C:\wamp\bin\apache\Apache2.2.11
C:\wamp\www is where my html and php files are located.

Some malware recently did something that caused my php victual’s to cease being included. Everything else on the pages is shown.

<div class="header">
<?php virtual ("header.html"winking smiley; ?>
</div>
<div class="menu ca">
<?php virtual ("menu.html"winking smiley; ?>
</div>


In fact, I just upload a page that has screen shots of the problem.
[www.waterfallrecordings.com]

Header.html and menu.html are in C:\wamp\www

My index.php has the following in the top of the page:
('Unable to open WampServer\'s config file, please change path in index.php file');
My index.php has the following at the bottom of the page:
{$langues[$langue]['titreConf']}
{$langues[$langue]['versa']}
${apacheVersion}
{$langues[$langue]['versp']}
${phpVersion}
{$langues[$langue]['phpExt']}
${phpExtContents}
{$langues[$langue]['versm']}
${mysqlVersion}
{$langues[$langue]['titrePage']}

Response Headers - [localhost]
Date: Mon, 26 Jul 2010 03:23:59 GMT
Server: Apache/2.2.11 (Win32) mod_ssl/2.2.11 OpenSSL/0.9.8k PHP/5.3.0
Last-Modified: Sun, 25 Jul 2010 15:13:43 GMT
Etag: "618100000000617f-928e-48c37b6ba0a0d"
Accept-Ranges: bytes
Content-Length: 37518
Content-Type: x-mapp-php5

200 OK
BTW: what is x-mapp-php5?

No php coding is being parsed. Any idea what it is that I don’t have correctly set and which file(s) and their locations that I need to edit?
Thanks in advance,
Michael Stevenson
[www.waterfallrecordings.com]
mstevenson@waterfallrecordings.com



Edited 1 time(s). Last edit at 07/28/2010 07:54PM by mstevenson.

Options: ReplyQuote
Re: No php coding is being parsed
Posted by: yfastud (Moderator)
Date: July 28, 2010 07:58PM

Quote

what is x-mapp-php5?
to parse php5 in html, but do you have any file that have php5 extension??? and also parse php in html on win is not the same as on *nix

your issue caused by SSI settings so you have to re-check SSI

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote


Sorry, only registered users may post in this forum.