apache throws error with realpath()
Posted: Tue Jan 19, 2010 4:54 am
Hi,
I don't know whether this falls under an apache forum or php, so I'll just try it here.
I'm working with Zend Framework and I'm trying to move the application from a windows machine to a solaris server. Apache and PHP are installed but when I run the index.php it tries to define the APPLICATION_PATH to a location using the realpath() function. At this point apache throws the following error:
even when I just run 'echo realpath('/home');' it throws the error above. This also happens with the function dirname(__FILE__), but __FILE__ itself echo's without problems.
Does anybody know why this is happening, and how I can solve it.
regards,
I.
I don't know whether this falls under an apache forum or php, so I'll just try it here.
I'm working with Zend Framework and I'm trying to move the application from a windows machine to a solaris server. Apache and PHP are installed but when I run the index.php it tries to define the APPLICATION_PATH to a location using the realpath() function. At this point apache throws the following error:
Code: Select all
Incurred fault #6, FLTBOUNDS %pc=0xFDF18A0C
siginfo: SIGSEGV SEGV_MAPERR addr=0x00000008
Recieved signal #11, SIGSEGV [caught]
siginfo: SIGSEGV SEGV_MAPERR addr=0x00000008Does anybody know why this is happening, and how I can solve it.
regards,
I.