Hello Vesselin,
what is the source of your numbers?
Best Regards,
Oliver
Vesselin Kenashkov schrieb:
-1
Because the majority of the installation (somebody two month ago in this
list mentioned that php 5 has just 10% adoption) is still php4 just
makes no
sense to drop the support.
--
PHP
I think someone recommended me to compile --with-maintainer-zts, because
I was working on some functions within the imap extension.
That's the main reason.
Regards,
Oliver
Stanislav Malyshev schrieb:
something isn't clear to me: Is php as apache module supposed to work
without problems - if
Hello,
something isn't clear to me: Is php as apache module supposed to work
without problems - if compiled as zts - only on apache worker or even on
apache prefork?
Regards,
Oliver
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
I'd like to set the debug level to 3, i.e. set compiler flag -g3 instead -g.
Can anyone give me a hint where to do this?
Best Regards,
Oliver
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
I've attached a patch to insert the missing function entry for imap_listscan.
Regards,
Oliver
php_imap.c.diff.patch.gz
Description: GNU Zip compressed data
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
what is the proto entry above the PHP_FUNCTION(myfunc) for?
Regards,
Oliver
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Am Freitag, 22. Juni 2007 14:41 schrieb Pierre:
> Hi,
>
> If you run 'make test' using 5.2 (maybe head too, did not test), I get
> a lot of errors like:
>
> Notice: Undefined offset: 534 in
> /home/pierre/cvs/php52_dev/run-tests.php on line 1682
>
> and obviously many tests fail.
Not on my System
Hello,
the function virtual_file_ex (TSRM/tsrm_virtual_cwd.c:1011) resolves links to
its link target. This may lead to problems when using filtype() on php
compiled with --enable-maintainer-zts.
You can see the arguments passed to virual_lstat as follows:
Breakpoint 1, virtual_lstat (path=0xb
Am Samstag, 26. Mai 2007 02:29 schrieben Sie:
> Right, so the (ssb.sb.st_mode & S_IFMT) is S_IFDIR which is basically
> the OS telling us that it is a directory. I don't see what we can do if
> the OS is not telling us the right thing. The filestat code is a bit
> convoluted trying to deal with l
Hi Arnold,
Am Samstag, 26. Mai 2007 00:28 schrieben Sie:
> If I need to run gdb please let me know,
I did a gdb and on my system (debian, CLI). filetype returns 'dir' as well.
my code was php -r 'filetype("/tmp/link-test");'
Where /tmp/link-test is a link to a directory /tmp/pear.
This is som
Am Freitag, 25. Mai 2007 20:30 schrieben Sie:
> He said that the problem only occured with the Apache 2 SAPI, so the
> gdb is for the PHP CLI.
You can also use it with apache2 sapi. But then you need to do (Debian)
gdb /usr/sbin/apache2
and then
run -k start
If you set a break to zif_... that
Hi,
how about
gdb php
Regards,
Oliver
Am Freitag, 25. Mai 2007 19:50 schrieb Arnold Daniels:
> Hi again,
>
> No, the symlinks work fine in the shell and with all other applications.
> Also I haven't mounted with any options other than 'notail'. Please have
> a look at the e-mail I've send a f
Am Sonntag, 20. Mai 2007 12:28 schrieb Stefan Esser:
> it is no secret that I am really sick and tired of this constant stream
> of nonsense and
> lies comming out of the mouths of PHP developers when it comes to
> security issues.
What I do not understand than is, why are you doing all this?
Yo
Hello Greg,
I would first ask the following question:
Why should the user be prevented to include remote site code?
#1: hoster and users are equal
The hoster - as the "person" providing for the php infrastructure - is trying
to prevent the user
Am Donnerstag, 10. Mai 2007 22:47 schrieb Marcus Boerger:
> we are discussing situations where make is no option here.
> However this is in many situation not possible at all. For once it is
> impossible if you are using a shared server.
I know, If I follow that part of the discussion, it's abo
Am Freitag, 4. Mai 2007 20:09 schrieb Antony Dovgal:
> not the other way round. If you don't like PECL or think it's too difficult
> to use, let's make it easy enough for all.
That is good point. If PECL extensions could be integrated into php by just
set --enable-extensionX while compiling the p
Am Freitag, 4. Mai 2007 21:24 schrieb Ilia Alshanetsky:
> It sounds like the merits of having phar is would only be apparent
> after it is included in the core and everyone starts using it because
> of that. This won't happen simply because most software producers
> can't rely on extensions that ar
Am Freitag, 4. Mai 2007 20:16 schrieb Edin Kadribasic:
> I think that Phar is going to be useful only if its
> universally available in the PHP installs, and I think that would a good
> thing for PHP.
Edin, why do you bind the usefulness to the number of installs? That sounds
more like enthusiam
Am Dienstag, 8. Mai 2007 14:12 schrieben Sie:
> Ah, so you're compiling a threadsafe PHP to use with a non-threadsafe
> Apache and loading both PHP4 and PHP5 in the same time. This looks like a
> total misconfiguration.
That's right. It was obviously misconfigured!
I see no connection to threads
Am Dienstag, 8. Mai 2007 13:45 schrieben Sie:
> What was your configure line?
./configure --with-apxs2=/usr/sbin/apxs2 --prefix=/usr/local/php5
--enable-debug --enable-maintainer-zts --with-mysql --with-imap
--with-imap-ssl
There was a php4 rpm which was installed by the SuSE setup tool (YaST).
Am Dienstag, 8. Mai 2007 11:55 schrieben Sie:
> On 05/08/2007 01:51 PM, Oliver Block wrote:
> > Hello Tony,
> >
> > according to my backtrace, this line (main/main.c:1491) is not processed.
>
> How to reproduce it?
I just compiled the latest php 5 release with zts.
No symbol table info available.
#3 0x0806f622 in main ()
No symbol table info available.
Regards,
Oliver
Am Dienstag, 8. Mai 2007 10:21 schrieben Sie:
> On 05/08/2007 05:36 AM, Oliver Block wrote:
> > Hello,
> >
> > I am getting a SIGSEGV when compiling php-5.2.2.
> >
Hello,
I am getting a SIGSEGV when compiling php-5.2.2.
gdb breaks up at the if statement of the following function
static void php_apache_add_version(apr_pool_t *p)
{
TSRMLS_FETCH();
if (PG(expose_php)) {
ap_add_version_component(p, "PHP/" PHP_VERSION);
}
Am Donnerstag, 3. Mai 2007 09:34 schrieb Andrew Brampton:
> I have wanted to use this kind of syntax a couple of times, for example:
> while ($line = mysql_fetch_array(...)) {
> echo $line;
> } else {
> echo 'Sorry no records';
> }
> ?>
This example leaves me speechless.:)
Regard,
Olive
Am Dienstag, 1. Mai 2007 02:22 schrieb Rasmus Lerdorf:
> Oliver Block wrote:
> And note that I only said it was fine to respond
> with a 1.1 reply, that doesn't mean it is fine to send an encoding the
> client doesn't support.
Well.
Regards,
Oliver
--
PHP Internals - P
Am Dienstag, 1. Mai 2007 01:49 schrieb Rasmus Lerdorf:
> This came up many times on the Apache lists years ago, and Roy Fielding
> who wrote that spec repeatedly said it was fine to reply with a 1.1
> response to a 1.0 request.
Did he give any rationale for his view?
Regards,
Oliver
--
PHP I
Hello Rasmus,
Am Dienstag, 1. Mai 2007 01:05 schrieb Rasmus Lerdorf:
> Replying to a 1.0 request with a 1.1 response is perfectly fine.
I doubt that it is standard conformant. HTTP/1.0 doesn't
even know chunked data (RFC1945).
Best Regards,
Oliver
--
PHP Internals - PHP Runtime Development M
hello,
the cvs web interface gives the following revision information for file
mysqli_fe.c. In short
Branch PHP_5_1: Revision 1.49.2.6
Branch PHP_5_2: Revision 1.49.2.5.2.1
If I understand it right, PHP_5_2 should be the later one!?
Regards,
Oliver
--
PHP Internals - PHP Runtime Development
Am Samstag, 28. April 2007 20:03 schrieb Pelle Ravn Rosfeldt:
> Python & Perl already have this function.
> It could be very useful in an SQL query, if it doesn't return anything.
Perl: "There's always more than one way to do it."
Best Regards,
Oliver
--
PHP Internals - PHP Runtime Developm
Hello Marcus,
thanks for hinting me to ext_skel. Actually I wanted to avoid copying my code
and tried to set the dtor parameter to NULL and that seems to work too.
Best Regards,
Oliver
- original Nachricht
Betreff: Re: [PHP-DEV] SIGSEGV/ php_mod_global_dtor
Gesendet: Do, 26. Ap
Hello internals,
I am facing a problem with tsrm_ls. I receive a SIGSEGV on a specific memory
address.
Program received signal SIGSEGV, Segmentation fault.
0x40019880 in ?? ()
During a second execution I get
(gdb) x/ 0x40019880
0x40019880 : 0x5de58955
My code is PHP_MINIT_FUNCTION(cforum) {
around that spec anyway...
>
>
>
> Oliver Block wrote:
> > Am Samstag, 14. April 2007 11:49 schrieb Bart de Boer:
> >> PHP's convention is currently
> >> responsible for people creating non-standards-compliant documents... And
> >> I think we shou
Am Samstag, 14. April 2007 11:49 schrieb Bart de Boer:
> PHP's convention is currently
> responsible for people creating non-standards-compliant documents... And
> I think we should take that responsibility and clean up the mess we
> made... The XML spec is outside our scope... What's inside our b
Am Freitag, 13. April 2007 15:46 schrieb Tijnema !:
> I think that will screw up some things, for example when using 2 the
> same scripts, on the same apache, but on different locations.
It does not screw up things with session variables. The difference between
session variables and application v
Am Donnerstag, 12. April 2007 06:34 schrieb Andrew Hutchings:
> Isn't that what a database is for (e.g. MySQL)?
No. - It's that what a symbol table is for.:-)
Best Regards,
Oliver
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Am Donnerstag, 12. April 2007 02:34 schrieb Richard Lynch:
> So if you actally need shared data for a project, go to PHP-General
> and describe your need/project, and see what folks recommend.
No, I don't. I was interested to know if it has been discussed and what the
rationale was. Thanks for yo
Hello,
did you ever discuss a feature like 'application variables'? What I mean is
that a bunch of scripts builds a logic application which is e.g. able to share
variables. While session variables can be used to store values between script
files for a single user , 'application variables' stor
Hello,
I've had some problems with compiling latest php (php-src) on WinXP. The
configuration procedure is complaining about a missing icuuc.lib. If I've
understood it right, you rely on icu with php6. Is there a compiled version
downloadable somewhere?
Regards,
Oliver
--
PHP Internals - PH
Hello,
I rewrote imap_mail_compose() and (almost) everything works fine, but I can't
get rid of some memory leaks.
In order to compose nested mutlipart messages I created a hash_table
[Mon Mar 19 23:44:36 2007] Script: '/root/compose_multipart.php'
/usr/local/src/php-5.2.1/Zend/zend_execute.c(
Hello,
I receive a segmentation fault on a
RETVAL_STRING(some_module_global, 1);
The problem disappears if I change it to
RETVAL_STRING(some_module_global, 0);
Is anybody interested in the data?
Regards,
Oliver
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe,
Hello Michael,
Am Dienstag, 20. Februar 2007 22:31 schrieb Michael Wallner:
> So, what's been "some pecl code"?
runkit. (runkit_sanbox.c:~1464)
Regards,
Oliver
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Hello internals,
I don't know if you are aware of that. I just tried to compile some pecl code.
I get an error message using this with gcc 4.x if it is used like
Z_BVAL(myval) = ...;
I was told it the gcc-team deprecated lvalue casts with version 3.4.
Regards,
Oliver
--
PHP Internals - PHP
Hello,
As far as I understood, php loads requires modules at startup. Which impact
does that have on which function a developer can call from within an
extension. I mean, is it possible to call functions from other extensions
besides ext/standard? And how?
Regards,
Oliver
--
PHP Internals -
?
Regards,
Oliver
Am Montag, 22. Januar 2007 20:34 schrieb Pierre:
> Hi Oliver,
>
> Report a bug using bugs.php.net (with a link to the patch diff -up :)
>
> This way it will not get lost in the internals archive.
>
> On 1/22/07, Oliver Block <[EMAIL PROTECTED]> wrote:
>
Hello,
easter_date() returns a timestamp produced by C's mktime().
(ext/calendar/easter.c:111):
Z_LVAL_P(return_value) = mktime(&te);
AFAIK mktime() (time.h) is different to php's mktime() as it does not consider
php's timezones, i,e, C's mktime does always return a timestamp o
Hello,
after a failed test of the easter_date() function I've taken a look at the
test file. The test file sets the default timezone to UTC.
To make it short:
easter_date() does not return correct results, if the default timezone (set
with date_default_timezone_set() or INI date.timezone) is "
Hello list,
as you are familiar with the source code of php it might be easy to explain
how the brain of php interprets the following code:
print ($life = "hard") -1;
print "\nlife: {$life}\n";
Best regards,
Oliver
P.S. Actually, the origin of that code was the output of a string literal
con
Hello,
I'd like to report another imap problem. (I've decided not to report this as a
bug, because I don't believe it is one. I guess it is just not elaborated):
If you create a multipart/mixed message using imap_mail_compose, you have to
provide for a multipart Content-Type header in the follo
Am Sonntag, 21. Mai 2006 01:46 schrieb Derick Rethans:
> It doesn't, but changing it now breaks BC.
Hi Derrick,
if you look into RFC4021 there are about 70 header fields, which could be
created comfortably with the function iconv_mime_encode.
On the other hand there are fields that can be not c
Hi,
which sense does it make if a function like iconv_mime_encoding() requires an
field_name as first argument?
Header fields are lines composed of a field name, followed by a colon (":"),
followed by a field body, and terminated by CRLF. A field name MUST be
composed of printable US-ASCII ch
Am Freitag, 28. April 2006 19:50 schrieben Sie:
> I'll check my copy when I get home, don't get home till late tonight so,
Good to know you have one.;)
>Big differences on handling variables in
> C.
Yes, I know.
Maybe I should ask some concrete question.
For example:
I found that around all t
Hello,
the last days I was browsing the source code of the imap functions of php and
I wonder if there are any manuals about writing extension code and how to get
involved.
Best Regards,
Oliver Block
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http
52 matches
Mail list logo