Hello internals,
I use following configure script to build PHP 5.3.0alpha2-dev:
#! /bin/sh
Created by configure
'./configure'
'--with-apxs2=/usr/local/apache/current/bin/apxs'
'--with-config-file-path=/etc'
'--enable-maintainer-zts'
"$@"
With this config (here's my real one:
http://home.digartis.de/tmp/config.nice), I get following error on every
request to a PHP script:
[Wed Aug 13 10:36:53 2008] [error] [client 88.84.153.102] PHP Fatal
error: Unknown: Failed opening required '/var/www/htdocs/test.php'
(include_path='.:/usr/local/lib/php') in Unknown on line 0
[Wed Aug 13 10:46:12 2008] [error] [client 88.84.153.102] PHP Warning:
Unknown: failed to open stream: Not a directory in Unknown on line 0
since that change:
http://home.digartis.de/tmp/tsrm_virtual_cwd.diff
Switching to a previous revisions or without ZTS support won't cause any
problems.
Regards
Uwe
Hello internals,
I use following configure script to build PHP 5.3.0alpha2-dev:
#! /bin/sh
Created by configure
'./configure'
'--with-apxs2=/usr/local/apache/current/bin/apxs'
'--with-config-file-path=/etc'
'--enable-maintainer-zts'
"$@"
Please run /usr/local/apache/current/bin/httpd -V
and paste the output here.
--
Wbr,
Antony Dovgal
Hello internals,
I use following configure script to build PHP 5.3.0alpha2-dev:
#! /bin/sh
Created by configure
'./configure'
'--with-apxs2=/usr/local/apache/current/bin/apxs'
'--with-config-file-path=/etc'
'--enable-maintainer-zts'
"$@"
It just tried to reproduce this with prefork/worker apaches and PHP/ZTS,
but no luck - it still works fine.
I guess we'll need some more info. A backtrace would be very useful.
First, please update your checkout and rebuild everything from scratch.
Then do the following:
gdb /usr/local/apache/current/bin/httpd
gdb> b zend_error
(it'll ask you if the function is expected to be in a not yet loaded lib, press Y)
gdb> r -X
(go the browser and refresh it, it should stop on the breakpoint)
gdb> bt full
(paste the output here)
--
Wbr,
Antony Dovgal
Hello internals,
I use following configure script to build PHP 5.3.0alpha2-dev:
#! /bin/sh
Created by configure
'./configure'
'--with-apxs2=/usr/local/apache/current/bin/apxs'
'--with-config-file-path=/etc'
'--enable-maintainer-zts'
"$@"
Oh, and don't forget to add --enable-debug here.
--
Wbr,
Antony Dovgal
Hello Tony,
please look at http://phpfi.com/343743
Regards
Uwe
Antony Dovgal schrieb:
Hello internals,
I use following configure script to build PHP 5.3.0alpha2-dev:
#! /bin/sh
Created by configure
'./configure'
'--with-apxs2=/usr/local/apache/current/bin/apxs'
'--with-config-file-path=/etc'
'--enable-maintainer-zts'
"$@"Oh, and don't forget to add --enable-debug here.
Works like a charm after cvs up and rebuild.
Thanks to all supporters.
Regards
Uwe
Uwe Pries schrieb:
Hello Tony,
please look at http://phpfi.com/343743
Regards
UweAntony Dovgal schrieb:
Hello internals,
I use following configure script to build PHP 5.3.0alpha2-dev:
#! /bin/sh
Created by configure
'./configure'
'--with-apxs2=/usr/local/apache/current/bin/apxs'
'--with-config-file-path=/etc'
'--enable-maintainer-zts'
"$@"Oh, and don't forget to add --enable-debug here.