To proceed with startup at the second load only ap_query_state() must be
used in newish versions of apache
---
sapi/apache2filter/sapi_apache2.c | 11 +--
sapi/apache2handler/sapi_apache2.c | 12 ++--
2 files changed, 19 insertions(+), 4 deletions(-)
diff --git a/sapi/apache2filt
---
sapi/apache2filter/sapi_apache2.c | 3 +++
sapi/apache2handler/mod_php5.c| 4
2 files changed, 7 insertions(+)
diff --git a/sapi/apache2filter/sapi_apache2.c
b/sapi/apache2filter/sapi_apache2.c
index c308a29..1448d52 100644
--- a/sapi/apache2filter/sapi_apache2.c
+++ b/sapi/apache2f
El 08/08/12 15:38, Pierre Joye escribió:
> hi Chirstian!
>
> Could you please either (or both :) open a bug and attach the patch to
> it or create a pull request please?
I opened a pull request a few minutes ago.,
https://github.com/php/php-src/pull/154
Cheers !
--
PHP Internals - PHP Runti
---
sapi/apache2filter/sapi_apache2.c | 11 +--
sapi/apache2handler/sapi_apache2.c | 12 ++--
2 files changed, 19 insertions(+), 4 deletions(-)
diff --git a/sapi/apache2filter/sapi_apache2.c
b/sapi/apache2filter/sapi_apache2.c
index a8fec5c..21f2fa3 100644
--- a/sapi/apache2
---
sapi/apache2filter/sapi_apache2.c |3 +++
sapi/apache2handler/mod_php5.c|4
2 files changed, 7 insertions(+)
diff --git a/sapi/apache2filter/sapi_apache2.c
b/sapi/apache2filter/sapi_apache2.c
index 0b51cfb..a8fec5c 100644
--- a/sapi/apache2filter/sapi_apache2.c
+++ b/sapi/ap
Signed-off-by: Cristian Rodríguez
---
sapi/fpm/fpm/fpm_conf.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/sapi/fpm/fpm/fpm_conf.c b/sapi/fpm/fpm/fpm_conf.c
index 5d6fe77..5bd7e7c 100644
--- a/sapi/fpm/fpm/fpm_conf.c
+++ b/sapi/fpm/fpm/fpm_conf.c
@@ -318,7 +318,7
Signed-off-by: Cristian Rodríguez
---
ext/date/tests/bug51819.phpt |1 +
ext/phar/tests/bug52013.phpt |2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/ext/date/tests/bug51819.phpt b/ext/date/tests/bug51819.phpt
index afcb9c7..7e9bbec 100644
--- a/ext/date/tests
Signed-off-by: Cristian Rodríguez
---
main/snprintf.h | 12 ++--
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/main/snprintf.h b/main/snprintf.h
index 201a5cb..4371f6a 100644
--- a/main/snprintf.h
+++ b/main/snprintf.h
@@ -78,12 +78,12 @@ typedef enum
On 20/07/09 04:05, Alexander Hjalmarsson wrote:
> If there's anyone here that might be able to help in this subject it's very
> welcome.
>
PHPBB has absolutely nothing to do with this list.
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.p
On 14/07/09 11:29, Bruce Bailey wrote:
The problem appears to be in file_get_contents. Is there any way I can
determine which script was being run at the time?
yes, upgrade and:
(gdb) source /path/to/php-src/.gdbinit
(gdb) zbacktrace
--
PHP Internals - PHP Runtime Development Mailing List
On 07/07/09 10:18, Brian A. Seklecki wrote:
If it did use libcurl, dozens of problems over the last few years would
have magically solved themselves (pipe-line'ing, keep-alive, socket
options, PKI, etc.)
Not only this extension but pretty much everything should use curl IMHO,
it is included i
On 06/07/09 20:52, Ilia Alshanetsky wrote:
The final patch is available here: http://ilia.ws/patch/type_hint_53_v2.txt
The test suit is available here: http://ia.gd/patch/type_hint_tests.tar.bz2
+1
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.n
On 26/05/09 08:36, Antony Dovgal wrote:
12:48<@tony2001> you can remove it, but leave a macro to make sure old code
still works
or just use __attribute__((alias(""))); ...
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
ays.
We can start with the attached patch and then remove it in the future...
--
"If this is the best God can do, I am not impressed" -George Carlin
(1937-2008)
Cristian Rodríguez R.
Software Developer
Platform/OpenSUSE - Core Services
SUSE LINUX Products GmbH
Research & Development
This question is suited for php-general list and NOT for internals,
anyway, install PHP5, and try again.. 4.3.9 is extremely old and you
shouldnt be running that...
--
"If this is the best God can do, I am not impressed" -George Carlin
(1937-2008)
Cristian Rodríguez R.
Software De
Pierre Joye escribió:
> which is defined at
> compile time
can also be obtained at runtime using pathconf(3)
--
"We have art in order not to die of the truth" - Friedrich Nietzsche
Cristian Rodríguez R.
Software Developer
Platform/OpenSUSE - Core Services
SUSE LINUX Produc
Ilia Alshanetsky escribió:
> + char buf[4096];
Shouldnt that be
char buf[HOST_NAME_MAX + 1] ?
--
"We have art in order not to die of the truth" - Friedrich Nietzsche
Cristian Rodríguez R.
Platform/OpenSUSE - Core Services
SUSE LINUX Products GmbH
Research &
e good if invoking undefined constants will start to produce at least
> E_WARNING?
Use class constants
class foo {
}
echo foo::BAR;
Fatal error: Undefined class constant 'BAR' ...
that's what you are really looking for... ;)
--
"We have art in order not to die of the truth&quo
ot; - Friedrich Nietzsche
Cristian Rodríguez R.
Platform/OpenSUSE - Core Services
SUSE LINUX Products GmbH
Research & Development
http://www.opensuse.org/
signature.asc
Description: OpenPGP digital signature
Ólafur Waage escribió:
> $dir = dir("/foo/bar");
> var_dump($dir->empty()); // bool(true)
Use SplDirectoryIterator instead.
--
"We have art in order not to die of the truth" - Friedrich Nietzsche
Cristian Rodríguez R.
Platform/OpenSUSE - Core Services
SUSE
Johannes Schlüter escribió:
> I don't safe stuff relying on magic_quotes is safe but kicking it will
> open up way more attack vectors... :-(
A false sense of security is worst than no security at all.
--
"We have art in order not to die of the truth" - Friedrich Nietzsch
Pierre Joye escribió:
> I would even like to drop it (and the other things as well) in 5.3.0 :)
Yes, please :) but throw an error when use is detected.
--
"We have art in order not to die of the truth" - Friedrich Nietzsche
Cristian Rodríguez R.
Platform/OpenSUSE - Core Servic
sion (5.2.8 or 5.2.7.1)
--
"We have art in order not to die of the truth" - Friedrich Nietzsche
Cristian Rodríguez R.
Platform/OpenSUSE - Core Services
SUSE LINUX Products GmbH
Research & Development
http://www.opensuse.org/
signature.asc
Description: OpenPGP digital signature
Lukas Kahwe Smith escribió:
> Also should there be some other way to get STDOUT and STDERR defined
I assume we are talking about userland constants right ?
--
"Good, Fast, Cheap: Pick any two (you can't have all three)."
Cristian Rodríguez R.
Platform/OpenSUSE - Core S
Johannes Schlüter escribió:
>or http.only_exceptions should
> imo be set as object properties (or similar), not globally using ini
> settings.
Or just throw only exceptions and no ini setting at all.
--
"A computer is like an Old Testament god, with a lot of rules and no
merc
A computer is like an Old Testament god, with a lot of rules and no
mercy. "
Cristian Rodríguez R.
Platform/OpenSUSE - Core Services
SUSE LINUX Products GmbH
Research & Development
http://www.opensuse.org/
signature.asc
Description: OpenPGP digital signature
ke.
I understand why there was not other suitable alternative though :-(
My sincere condolences.
--
"A computer is like an Old Testament god, with a lot of rules and no
mercy. "
Cristian Rodríguez R.
Platform/OpenSUSE - Core Services
SUSE LINUX Products GmbH
Research &a
stef-com escribió:
> Hi
> My vote is option 1 please. "use ::: as separator between namespace name
> and element"
Ok, but please dont send your post with a "reading confirmation request"...
Thank you,
--
"A computer is like an Old Testament god, with a lot
th a lot of rules and no
mercy. "
Cristian Rodríguez R.
Platform/OpenSUSE - Core Services
SUSE LINUX Products GmbH
Research & Development
http://www.opensuse.org/
signature.asc
Description: OpenPGP digital signature
Old Testament god, with a lot of rules and no
mercy. "
Cristian Rodríguez R.
Platform/OpenSUSE - Core Services
SUSE LINUX Products GmbH
Research & Development
http://www.opensuse.org/
signature.asc
Description: OpenPGP digital signature
obably need a lawyer anyway.
--
"A computer is like an Old Testament god, with a lot of rules and no
mercy. "
Cristian Rodríguez R.
Platform/OpenSUSE - Core Services
SUSE LINUX Products GmbH
Research & Development
http://www.opensuse.org/
signature.asc
Description: OpenPGP digital signature
Scott MacVicar escribió:
> If you don't care don't pass a parameter.
ohh.. right, I misinterpreted it .. sorry ;)
--
"A computer is like an Old Testament god, with a lot of rules and no
mercy. "
Cristian Rodríguez R.
Platform/OpenSUSE - Core Services
SUSE LINUX
rgument by
value instead of by reference, valid code like
causes a Fatal error: Only variables can be passed by reference...
--
"A computer is like an Old Testament god, with a lot of rules and no
mercy. "
Cristian Rodríguez R.
Platform/OpenSUSE - Core Services
SUSE LINUX Pro
ul addition in years.
--
"A computer is like an Old Testament god, with a lot of rules and no
mercy. "
Cristian Rodríguez R.
Platform/OpenSUSE - Core Services
SUSE LINUX Products GmbH
Research & Development
http://www.opensuse.org/
signature.asc
Description: OpenPGP digital signature
--
"A computer is like an Old Testament god, with a lot of rules and no
mercy. "
Cristian Rodríguez R.
Platform/OpenSUSE - Core Services
SUSE LINUX Products GmbH
Research & Development
http://www.opensuse.org/
signature.asc
Description: OpenPGP digital signature
anks!!
even if you manage to link all libraries statically, you will end with a
huge, memory hungry and hard to debug php binary that anyways require
shared libc at runtime ;-P
--
"A computer is like an Old Testament god, with a lot of rules and no
mercy. "
Cristian Rodríguez R.
Platform
--
"A computer is like an Old Testament god, with a lot of rules and no
mercy. "
Cristian Rodríguez R.
Platform/OpenSUSE - Core Services
SUSE LINUX Products GmbH
Research & Development
http://www.opensuse.org/
signature.asc
Description: OpenPGP digital signature
Diogo Neves escribió:
> Hi all,
>
> I'm emailling to ask why __call isn't called when you call a private
> method from outside of function...
Please provide example code ;-)
--
"A computer is like an Old Testament god, with a lot of rules and no
mercy. "
uter is like an Old Testament god, with a lot of rules and no
mercy. "
Cristian Rodríguez R.
Platform/OpenSUSE - Core Services
SUSE LINUX Products GmbH
Research & Development
http://www.opensuse.org/
signature.asc
Description: OpenPGP digital signature
ot of rules and no
mercy. "
Cristian Rodríguez R.
Platform/OpenSUSE - Core Services
SUSE LINUX Products GmbH
Research & Development
http://www.opensuse.org/
signature.asc
Description: OpenPGP digital signature
Daniel Convissor escribió:
Because that's what the manual says it should do.
Right, however I disagree with the fact it is a warning, it should be a
fatal error IMHO.
--
"A computer is like an Old Testament god, with a lot of rules and no
mercy. "
Cristian Rodríg
ust fine.
--
"Perhaps, my biggest pet peeve pertaining to safe_mode is that it is not
really safe,
merely offering an illusion of safety that does not stand to closer
examination" - Ilia on PHP safe_mode
Cristian Rodríguez R.
Platform/OpenSUSE - Core Services
SUSE LINUX Products GmbH
Rese
automate that - it'd be
awesome, but I don't have very high hopes on that. :)
The attached patch may also help both core and PECL extensions, emiting
a deprecation compile warning when those functions are used.
ps: you have to add the attribute to all deprecated functions ;-)
--
Cristian
f we train ourselves to think about programs
without thinking of them as pieces of executable code.” - Edsger W.
Dijkstra
Cristian Rodríguez R.
Platform/OpenSUSE - Core Services
SUSE LINUX Products GmbH
Research & Development
http://www.opensuse.org/
signature.asc
Description: OpenPGP digital signature
table code.” - Edsger W.
Dijkstra
Cristian Rodríguez R.
Platform/OpenSUSE - Core Services
SUSE LINUX Products GmbH
Research & Development
http://www.opensuse.org/
signature.asc
Description: OpenPGP digital signature
POST 128552
POST 129168
POST 129768
POST 130352
POST 130920
when I request for $real_usage the results are constant..
--
"Progress is possible only if we train ourselves to think about programs
without thinking of them as pieces of executable code.” - Edsger W.
Dijkstra
Cristian Rodríg
tested at all.. +1 although I dont
think we need phar in the core, but something more useful like pecl_http
or fileinfo instead.
--
"Progress is possible only if we train ourselves to think about programs
without thinking of them as pieces of executable code.” - Edsger W.
Dijkstra
Cri
as pieces of executable code.” - Edsger W.
Dijkstra
Cristian Rodríguez R.
Platform/OpenSUSE - Core Services
SUSE LINUX Products GmbH
Research & Development
http://www.opensuse.org/
signature.asc
Description: OpenPGP digital signature
ourselves to think about programs
without thinking of them as pieces of executable code.” - Edsger W.
Dijkstra
Cristian Rodríguez R.
Platform/OpenSUSE - Core Services
SUSE LINUX Products GmbH
Research & Development
http://www.opensuse.org/
signature.asc
Description: OpenPGP digital signature
.” – Edsger Dijkstra
Cristian Rodríguez R.
Platform/OpenSUSE - Core Services
SUSE LINUX Products GmbH
Research & Development
http://www.opensuse.org/
signature.asc
Description: OpenPGP digital signature
50 matches
Mail list logo