Uh, I think I found the reason: http://pecl.php.net/bugs/bug.php?id=22687 It's an APC bug. I deactivated APC and it seems to work now. Thanks for the attention :Dby roothahn - Php-fpm Mailing List - English
Now I found out something interesting: When I do a /etc/init.d/php-fpm restart, and refresh the browser page, it works! When I refresh a second time, It tells me the error again ... WTF ^^by roothahn - Php-fpm Mailing List - English
I just found that under apache_mod_php5 the SCRIPT_NAME variables in test3.php are still /var/www/docroot/test.php, but nevertheless the file test3.php will be included from file test2/test2.php without error o.Oby roothahn - Php-fpm Mailing List - English
(of course I created the folder test3 and the file test3.php too ;-) this maybe looks better: #cat test.php <?php require 'test1/test1.php'; ?> # cat test1/test1.php <?php require 'test2/test2.php'; ?> # cat test1/test2/test2.php <?php require 'test3/test3.php'; ?> # cat test1/test2/test3/test3.php <?php echo $_SERVER["SCRIPT_NAME"]; echo '&lby roothahn - Php-fpm Mailing List - English
Hi all, I'm stuck on a problem and I can't figure out how to solve. I'm using nginx 1.0.2 with php-fpm. Let's create a file (in the docroot f.e.) called test.php: <?php require 'test1/test1.php'; ?> # this works! Then create the folder test1 and the file test1.php in it: <?php require 'test2/test2.php'; ?> # this works too! Then create the folder test1/test2 anby roothahn - Php-fpm Mailing List - English
Hi Guys, does anybody have an idea how to get the filename shown ? See this example php error message: >> Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in ˜³î on line 33 Everytime there is any php error, it does not show the filename - just this weird "thing". Maybe I have to setup an apropriate charset anywhere? I'm using nginx wby roothahn - Php-fpm Mailing List - English
![]() |
![]() |
![]() |
![]() |
|