When i try to call require_once function that gave to me following error message
I'm sure "/www/mvc/controllers/router.php" is correct path for my router.php file
When i try to call require_once function that gave to me following error message
I'm sure "/www/mvc/controllers/router.php" is correct path for my router.php file
Paths starting with /
are absolute to the system root. Meaning /var/www/foo/bar
would be something like C:\var\www\foo\bar
on Windows, which, looking at your debug message, is quite obviously not where your files are. Leave off the starting /
to make the path relative to the current script, or fix your path.
I'm pretty sure you don't have /www/mvc/controllers/router.php
on Windows. And you're on windows, as indicated by include path C:\php\pear
and script path C:\wamp\www\mvc\index.php