Support the ongoing development of Laravel.io →
Installation Configuration

Hi,

I have a bit of a hard time moving a Laravel 4 app on a Windows Server 2008 R2 with IIS. The problem is that for a reason I cannot explain $app['path.base'] (in bootstrap/start.php) is empty. In bootstrap/paths.php is set correctly to 'base' => __DIR__.'/..', (I didn't change anything it's the default value), and the other paths path.public and path.storage are returning the correct values.

I cannot find if it is specific to IIS or anything on the subject.

EDIT: I notice realpath(__DIR__.'/..') returns nothing (false) on Windows/IIS ....

Thank you

fabien

Last updated 2 years ago.
0

My thought is dd(DIR); in paths.php to debug what it is putting out. Hop on chat to get a quicker response while your at it. This should be simple.

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

feub feub Joined 14 Mar 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.