-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Fatal error between two pages #12329
Comments
This is known bug with windows and apache php handler. To fix this you need to use one of this:
The problem is only with apache and his php handler. If using php-cgi problems disappear. |
Hi, Jurigag, I've changed my test environment to CentOS 7. Thank you |
No problem, just tbh we not sure what really is causing it, be ause it works on php-cgi, it must be some bug with apache php handler itself. Sine by default wamp and xampp are coming with php-cgi is waste of resources and time to trying to fix this. And also most likely on production environment no one will use apache + windows + apache php handler. |
Yes, our production environment is use CentOS 7+ Nginx + PHP-FPM. I just want to confirm there is a new bug or my code question. Thanks you for your kindly support. |
This is a not new bug, it was already reported many times. |
@Jurigag Could you provide link to the opened issue |
Thanks |
I can confirm that when using Windows and switching from default Apache PHP Handler to CGI solves the problem as Jurigag suggested! Here is a nice guide how to make the upgrades: https://commaster.net/content/installing-php-fastcgi-and-zend-opcache-xampp-windows Note: you don't have to do all the steps, I've just added the mod_fcgid.so module in apache/modules and updated my httpd-xampp.conf file. Thats it. |
I have read this article from https://github.com/phalcon/cphalcon/issues/12056
Expected and Actual Behavior
A: test.php
B: test_phalcon.php
And response show the error.
If I just simply use the
file_get_contents
function intest.php
Everything will be fine.
There is no problem with PHP 5.6.19.
What should I do?
Details
The text was updated successfully, but these errors were encountered: