← Back to team overview

enterprise-support team mailing list archive

Re: [Question #215978]: Code not working when copied to Ubuntu server

 

Question #215978 on apache2 in Ubuntu changed:
https://answers.launchpad.net/ubuntu/+source/apache2/+question/215978

Willem posted a new comment:
I got the answer.  Seems like php5, Apache2 does not like ../dir/file;
I now used require_once (__DIR__.'/../dir/file.php'); and it works.  If
there is any other way to fix it other than having to do this in my code
all the time I would like to hear, thank you.

-- 
You received this question notification because you are a member of
Ubuntu Server/Client Support Team, which is an answer contact for
apache2 in Ubuntu.