Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Init breaks on php 5.2.4 or above due to malfunctioning of realpath #5725

Closed
anonymous-matomo-user opened this issue Jul 16, 2008 · 2 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Milestone

Comments

@anonymous-matomo-user
Copy link

OS: Mac OSX 10.5.3
php: 5.2.5

Seems like the behavior of realpath is changed post 5.2.4 by the Suhosin to avoid possible exploitations on some platforms.

Real path returns true if the file doesn;t exist. Will have to check for file existence before calling realpath.
Reference:
http://in.php.net/manual/en/function.realpath.php#82770
Keywords: php5 compatibility, realpath

@mattab
Copy link
Member

mattab commented Jul 26, 2008

Please try latest SVN and report if it is now working (see the diff on 574)

@mattab
Copy link
Member

mattab commented Oct 10, 2008

Closing (no feedback reported).

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Projects
None yet
Development

No branches or pull requests

2 participants