Nette & PHPNG – not working
- Jan Tvrdík
- Nette guru | 2595
There is no such think as „PHP 5.7 – PHPNG“, the master version is 7.0.0-dev.
- Filip Procházka
- Moderator | 4668
Nobody cares that an error happened, we care what error happened. If it's not a secret, would you tell us please? :)
Last edited by Filip Procházka (2014-10-16 22:06)
- Jan Tvrdík
- Nette guru | 2595
The only problem I know about is in Finder and is fixed in 2.2.1-dev and
2.3.0-dev.
https://github.com/…97cba8f0884e
- zener
- Member | 17
Thanks all for answers…
Jan Tvrdík wrote:
There is no such think as „PHP 5.7 – PHPNG“, the master version is 7.0.0-dev.
PHP Version 5.7.0-dev; Screen of phpinfo – http://pasteboard.co/ZZgHxJL.png
Jan Tvrdík wrote:
The only problem I know about is in Finder and is fixed in 2.2.1-dev and 2.3.0-dev.
https://github.com/…97cba8f0884e
Yes, I found this problem and applied changes. But Nette is still not working.
Filip Procházka wrote:
Nobody cares that an error happened, we care what error happened. If it's not a secret, would you tell us please? :)
I think the problem is in Latte. When I have wrong code, Tracy works fine,
it shows error page etc. In cache folder are generated PHP files but the last
line ends before generated HTML code. Here is sample of generated file:
http://pastebin.com/cg88XSxx
- zener
- Member | 17
How I wrote… It's the latest stable version of Nette. I downloaded it from https://nette.org/en/packages. Do you think if I will download version from Git, the situation will be better (it will work)?
- zener
- Member | 17
Hi again :) I updated PHP, now I have PHP 7.0.0-dev from GIT. But I still
have a problem. Tracy throw this exception Call to undefined method
Nette\DI\ServiceDefinition::setImplement(). I uploaded the whole error
page, it's available here:
http://up.youcan.cz/…xception.htm
- Milo
- Nette Core | 1283
@zener PHP master is very unstable. Try it tomorrow, it can work. Try it next week, it can fail again. That's the reason why Nette does not support it yet.
When PHP 7 alfa or beta will be released, it is time to distinguish between Nette bugs and PHP bugs.
If you still want PHP-dev to work :), ihmo, the best thing you can do is to run tests for all nette repositories with PHP-dev, search for obvious PHP BC breaks/crashes and report PHP bugs.
- Jan Tvrdík
- Nette guru | 2595
@zener: Regarding the error – you need to enable
opcache.save_comments
.
- zener
- Member | 17
Jan Tvrdík wrote:
@zener: Regarding the error – you need to enable
opcache.save_comments
.
Wow, it's really working. I updated that value and error is gone :)
But output is still a blank page (without error). Template is not generated in cache, so I ended with PHP-ng for now. It's really not working yet.