Jump to content

PHP won't work with my virtual host


Bucephalus

Recommended Posts

Hi

 

I have no trouble getting my horizontal menu working when I serve my index page from htdocs, but when I serve from my virtual host, the horizontal menu doesn't appear.

i.e. this code doesn't execute when served from my virtual host.

<!--sphider_noindex--><?php require_once('includes/horizmenu.inc.php'); ?><!--/sphider_noindex-->

 

Not only that, I see this code just as it is when I view source from the browser window of the served index file.

 

So, why isn't my php working? OR does anybody know what I have done wrong.

I followed all these instructions to a T at this website.

http://foundationphp.com/tutorials/apache22_vhosts.php

 

thanks

David

 

 

Link to comment
https://forums.phpfreaks.com/topic/193435-php-wont-work-with-my-virtual-host/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.