"PHP Include" not performing as it did with cpanel/apache


#1

Hey all, newbie to nginx and was just getting used to apache!

So I moved a site over to an easyengine install. It’s mostly good except for the php include function does not seem to work. Here’s the code I’m trying to implement:

<?php include('advert.php'); ?>

Now this code worked fine int he previous location and it also let me move around sites quite easy as everything was generic…

For some reason it does not get called in the new install. if i browse to site.com/advert.php I see the result, when php include calls it… nothing.

Suggestions? Is this a common problem?

Thanks!


#2