[PHP-DEV] Bug #2220 Updated: dynamic module memory leaks cause SIGSEGV

2001-05-13 Thread j
ID: 2220 User Update by: [EMAIL PROTECTED] Old-Status: Feedback Status: Open Bug Type: Dynamic loading Operating system: Linux PHP Version: 4.0 Latest CVS (02/09/1999) Description: dynamic module memory leaks cause SIGSEGV i'm not involved in PHP development anymore. i can test it for you in a we

[PHP-DEV] PHP 4.0 Bug #8752: Module compiled with 4.0.3 don't run with 4.0.4 and v.v.

2001-01-16 Thread j
From: [EMAIL PROTECTED] Operating system: Windows 2000 PHP version: 4.0.4 PHP Bug Type: Dynamic loading Bug description: Module compiled with 4.0.3 don't run with 4.0.4 and v.v. When calling in PHP 4.0.4 a module developed with PHP 4.0.3, I get the following message: hostwa

Re: [PHP-DEV] Designing for PHP4 with PHP5 in mind...

2003-01-07 Thread J Smith
constructor and __construct() won't be used at all. J Brian Moon wrote: > From what I understand, all OO code will have to be modified for PHP5. > Constructors for example and no longer named the same as the class name. > That alone means every class must be changed. I don't recall

[PHP-DEV] Re: [Fwd: 4.3.0 w/ Sablotron version check problem]

2003-01-15 Thread J Smith
-dir=/usr' '--with-zlib-dir=/usr' '--with-freetype-dir=/usr' '--disable-cli' '--with-cryptopp' --with-cryptopp, --enable-stem and --enable-porter are home-grown extensions that shouldn't affect Sablotron. I had no problems with the configure script on

[PHP-DEV] Re: Mandatory File Locking in PHP?

2003-01-29 Thread J Smith
Try the direct I/O extension, specifically dio_fcntl(). Just make sure the filesystem you're using the locks on was mounted with "-o mand", and the locks will be mandatory by default. J Ananth Kesari wrote: > Hi, > > From the PHP manual I find that the flock() functio

[PHP-DEV] Re: Can't build xslt/sablot

2003-01-30 Thread J Smith
What's doing the linking? Is it linking to lstdc++? J Sebastian Bergmann wrote: > /usr/local/lib/libsablot.so: undefined reference to `operator > new[](unsigned)' /usr/local/lib/libsablot.so: undefined reference to > `vtable for __cxxabiv1::__si_class_type_info' >

[PHP-DEV] Re: Configure-System on Solaris

2003-02-04 Thread J Smith
GNU grep should work. Just make sure /usr/local/bin comes before /bin in your $PATH. J Sebastian Nohn wrote: > Latest CVS (PHP5-dev) on Solaris: > > Configuring TSRM > checking for stdarg.h... (cached) yes > grep: illegal option -- E > Usage: grep -hblcnsviw pattern file

Re: [PHP-DEV] Re: Configure-System on Solaris

2003-02-04 Thread J Smith
sal libtool line, which makes Sun's sed explode, as it can only handle about 4000 characters. (You'll end up with sed reporting that the "output line [is] too long". I haven't fully investigated what Sun tools will bork a build, but Sun's sed definitely does, and prob

Re: [PHP-DEV] Re: Configure-System on Solaris

2003-02-04 Thread J Smith
patch, or does it have a different name or something? J -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: Configure-System on Solaris

2003-02-04 Thread J Smith
Jani Taskinen wrote: > On Tue, 4 Feb 2003, J Smith wrote: > > /usr/xpg4/bin/sed > > It should be part of standard install too.. > > --Jani I hate Solaris. There's four seds on my system now: /usr/local/bin/sed, /usr/bin/sed, /usr/ucb/sed and /bin/sed

[PHP-DEV] Re: PHP extensions and C++

2003-02-19 Thread J Smith
ven't noticed anything weird happening. J Dave Viner wrote: > Hi, > I'm trying to write a simple PHP extension that will wrap a C++ class. I > have a test C++ program which exercises the class and works properly. I > am trying to make the PHP extension code work, but

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/tokenizer tokenizer.c

2003-02-25 Thread J Smith
ed in zend_ini.h.) Checking out php5 seemed to correct this. J Sebastian Bergmann wrote: > Stig Bakken wrote: >> +#ifdef ZEND_ENGINE_2 > > Why the #ifdef? Isn't HEAD supposed to be PHP 5 / ZE2 only? > -- PHP Development Mailing List <http://www.php.ne

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/tokenizer tokenizer.c

2003-02-25 Thread J Smith
A lesson I learned yesterday after wondering why the hell the thing wouldn't compile for the past three or four days... php5 works fine, though, like you say. J Magnus N wrote: > On Tue, 25 Feb 2003 14:45:26 -0500 > J Smith <[EMAIL PROTECTED]> wrote: > >> I g

[PHP-DEV] CVS Account Request: jay

2003-02-27 Thread J Smith
PECL. I've also offered the use of a Solaris server to the group for debugging Solaris SPARC issues and can do some debugging on it myself if there's a need for it. J, aka darkpanda -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: using VC++ to compile PHP extensions

2003-02-27 Thread J Smith
To add to that, I wrote up a short article yesterday that pretty much said the same thing, although it had a more UNIX-y focus. See http://www.tutorbuddy.com/software/phpcpp/phpcpp/ J Dave Viner wrote: > Hi, > I've just completed some local php extensions using VC++. Here are s

Re: [PHP-DEV] CVS Account Request: jay

2003-02-28 Thread J Smith
Yep. Yesterday, through the form on the docs page. J Andi Gutmans wrote: > Have you submitted a CVS account request? > > At 09:41 PM 2/27/2003 +, J Smith wrote: >>A few weeks ago, I kind of volunteered to maintain testing scripts for ZE2 >>on the ZE2 mailing

Re: Re[2]: [PHP-DEV] Weak references in PHP

2003-02-28 Thread J Smith
ZE2 == Zend Engine 2, which will be replacing the current Zend Engine in PHP 5. Amoung other things, one of it's main features is a more roboust OOP framework, which includes class destructors. J Konstantin Knizhnik wrote: > Hello George, > > Friday, February 28, 2003, 5:46:18

[PHP-DEV] Re: Writing a php extension

2003-03-04 Thread J Smith
www.zend.com/apidoc J Mincu Alexandru wrote: > I want to write a php module an I was wondering where I could find some > docs about this .. > > tks, -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: $GLOBALS broken?

2003-03-04 Thread J Smith
riables_order says "GPCS", but doing a var_dump($_SERVER) raises an E_NOTICE and gives me NULL. J Sebastian Bergmann wrote: > Notice: Undefined variable: GLOBALS in E:\test.php on line 7 > > 1 2 function foo() { > 3 $GLOBALS['foo'] = 'ba

Re: [PHP-DEV] $GLOBALS broken?

2003-03-04 Thread J Smith
Just noticed register_long_arrays. Turning it on fixes problems with $_SERVER and $_ENV, but $GLOBALS still acts weird. J Shane Caraveo wrote: > It's a patch to ze2 that was done over the weekend, there is a new ini > setting that if you turn it on will fix the problem, just cannot

[PHP-DEV] Re: modules in c++

2003-03-05 Thread J Smith
en up libtool file that's generated and edit the line that reads "CC=gcc" to say "CC=g++". I'm not sure if there's a better way to do this. At least, I haven't found one yet. If you find something that works a bit better, let me know and I'll update the art

Re: [PHP-DEV] Re: modules in c++

2003-03-05 Thread J Smith
Looks like you need to link to the standard C++ library. Try putting this in your config.m4 file: PHP_ADD_LIBRARY(stdc++) And run phpize, configure and make again. That should make gcc link with stdc++. J Michel M. Dos Santos wrote: > > > J, > > First, thanks by y

Re: [PHP-DEV] Re: modules in c++

2003-03-05 Thread J Smith
Actually, try this instead of PHP_ADD_LIBRARY(stdc++) and see if that works... PHP_ADD_LIBRARY(stdc++, 1, BIAC_SHARED_LIBADD) J Michel M. Dos Santos wrote: > > Yes. > > My config.m4: > > > PHP_ARG_ENABLE(biac, for biac support,[ --enable-biacEnable biac >

[PHP-DEV] Re: fun with autoconf on Tru64

2003-03-06 Thread J Smith
I have had similar problems, using autoconf 2.5x seems to work. (I use 2.54, specifically.) J Dave Hill wrote: > Hi all, > I am having fun with [EMAIL PROTECTED]@#$ autoconf. In the past I always used > the configure in the RC tarball without (much) problem. As I am trying >

[PHP-DEV] Fix for bug #22386

2003-03-10 Thread J Smith
eally need to be merged into PHP_4, as it doesn't have the segfault bug. J browscap.tar.gz Description: GNU Zip compressed data -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: Fix for bug #22386

2003-03-11 Thread J Smith
Er, wrong patch. Proper one is attached. J I wrote: > > The browscap extension is trying to load stuff into the object_store > before it gets initialized, so this'll fix it. Entries from the > browscap.ini file are now stored in straight hashes rather than objects, > but

[PHP-DEV] Re: Segmentation violation

2003-03-12 Thread J Smith
How about providing a short example script that reproduces the segfault? Posting a backtrace is all well and good, but it's not very useful if nobody can see what initiated it. J Matt wrote: > Hi, i've never posted to this newsgroup b4 so pls don't shoot me down if > this

[PHP-DEV] Re: PHP Startup Error In Apache

2003-03-12 Thread J Smith
ads to the extension library files. If it doesn't, change it. If those files don't exist, remove their "extension=" entries. This sort of question belongs in php.general, not php.dev. J Ray Hunter wrote: > > Has anyone seen these startup errors before? > > These are

[PHP-DEV] Re: ADVANCED PHP (SOCKETS) MULTIPLEXING SERVER

2002-08-15 Thread J Smith
s a decent example. J Gustavo Almeida wrote: > Dear php-dev, > > Hi, I'm here again with another doubt. Now, I know that I have to > use socket_select() before the socket_accept(), but what I can't > understand is how to "store" or handle ma

[PHP-DEV] apache virtual hosts, php cgi and safe mode

2002-08-15 Thread Paul J
editing of the source required? Many thanks, Paul J -- web: http://myitcv.org.uk/ -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] PHP crypto extension news

2002-11-04 Thread J Smith
n Crypto++ 5.0 that have been fixed in CVS -- they shouldn't affect cryptopp-php in any way, but there may be bugs in my code that haven't been weeded out yet, as this version hasn't been tested and is a near-total re-write from 0.0.8. Any bugs reports or comments would be appreciat

[PHP-DEV] C++ extensions and ext_skel

2002-11-28 Thread J Smith
cations to config.m4 and Makefile.in and a small C++ class thrown in for fun. Would this be worth adding to PHP proper? I have patches available for 4.2.3, but if it's worthy, I can whip it up for 4.3 or whatever. It'll save me some email bandwidth if it could be used. J -- PHP Deve

RE: [PHP-DEV] C++ extensions and ext_skel

2002-11-28 Thread J Smith
roprietary extension, so it's not like PHP itself would suddenly become "polluted" with C++. J John Coggeshall wrote: > > AFAIK, PHP is designed to function on any standard ANSI-compatible C > compiler (as a goal). Unless this has changed, I don't know if opening >

[PHP-DEV] test

2002-11-29 Thread J Smith
test, please ignore J -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] C++ extensions and ext_skel

2002-11-29 Thread J Smith
g "extname", "EXTNAME" and whatnot. The changes to config.m4 and Makefile.in are done in ext_skel. J Sascha Schumann wrote: > On Thu, 28 Nov 2002, J Smith wrote: > >> >> A couple of times a month, I get questions about from people looking to >> use C++ wit

[PHP-DEV] [PATCH] Changes to ext_skel for C++

2002-11-29 Thread J Smith
ton.c and done some sed work in the ext_skel script, but I think it's clearer to have them separated into two files. The ext_skel patch is based on the current HEAD. Comments? J Index: ext_skel === RCS file: /repository/php4/ex

Re: [PHP-DEV] [PATCH] Changes to ext_skel for C++

2002-11-29 Thread J Smith
Is this a problem with VS.net or something? I've never done that with any of my C++ extensions and they've all worked fine on VC++ 6. If it is a problem, though, I'll make the changes. J Shane Caraveo wrote: > J Smith wrote: >> Attached is a patch to ext_skel that a

Re: [PHP-DEV] [PATCH] Changes to ext_skel for C++

2002-11-29 Thread J Smith
How about adding something like this to skeleton.c: /* __begin_extern_c__ */ /* __end_extern_c__ */ And having the sed script in ext_skel replace them with the proper extern "C" stuff? That way there's no need for skeleton.cpp and just a few changes need to be made in skeleton

Re: [PHP-DEV] [PATCH] Changes to ext_skel for C++

2002-12-02 Thread J Smith
there in the first place, etc. J Sterling Hughes wrote: >> Is there any reason the ifdef __cplusplus doesn't work? There shouldn't >> be any need for extra processing or config options. >> > > well, i think c++ code might confuse people just starting

[PHP-DEV] [PATCH] New changes to ext_skel for C++

2002-12-02 Thread J Smith
C-string named "string" being confused with the C++ data type "string". Comments? J Index: ext_skel === RCS file: /repository/php4/ext/ext_skel,v retrieving revision 1.44 diff -u -3 -p -r1.44 ext_skel --- ext_skel

Re: [PHP-DEV] [PATCH] New changes to ext_skel for C++

2002-12-02 Thread J Smith
d to use one or the other in this one for the sake of consistency. J Zeev Suraski wrote: > Why not just use BEGIN_EXTERN_C() and END_EXTERN_C()? > > Zeev > -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [PATCH] Changes to ext_skel for C++

2002-12-02 Thread J Smith
e in their C code. If my vision of the future is in any way accurate, at least, which it may very well not be. J George Schlossnagle wrote: > J Smith wrote: > >>That's what I was thinking. The new patch updates skeleton.c a bit and >>fixes ext_skel to either add extern &

Re: [PHP-DEV] [PATCH] New changes to ext_skel for C++

2002-12-02 Thread J Smith
as I haven't had any problems yet with wrapping the whole thing up in extern C's. J Zeev Suraski wrote: > Why do we need an extern c before php.h? The relevant API functions in > php.h should be extern "c"d in my opinion, wrapping php.h up in extern "c" > is

Re: [PHP-DEV] [PATCH] New changes to ext_skel for C++

2002-12-04 Thread J Smith
extension to PHP, they're probably going to know what __cplusplus, extern "C" and all that stuff means, but on the other hand, I've seen (and received) some pretty ridiculous questions on that sort of stuff dealing with PHP extensions directly. J Stig S. Bakken wrote:

[PHP-DEV] Re: encryption functions

2002-12-18 Thread J Smith
seeable future. Again, it works on both UNIX and Windows, so it might be what you're looking for. J Michael Bretterklieber wrote: > Hi, > > I'm trying to provide samples for authenticating using MS-CHAP and my > Radius PECL. > > I need DES for generating the data.,

[PHP-DEV] PHP 4.0 Bug #9087: Mistranslation: set_time_limit in the german manual

2001-02-03 Thread j-f
From: [EMAIL PROTECTED] Operating system: WinNT PHP version: 4.0.2 PHP Bug Type: Documentation problem Bug description: Mistranslation: set_time_limit in the german manual The translation of the second paragraph is incorrect; please supersede it with the following: "Wenn

[PHP-DEV] PHP 4.0 Bug #9124: fopen() yet supports HTTP redirects

2001-02-06 Thread j-f
From: [EMAIL PROTECTED] Operating system: WinNT PHP version: 4.0.3pl1 PHP Bug Type: Documentation problem Bug description: fopen() yet supports HTTP redirects The manual to fopen/popen/readfile says: "Does not handle HTTP redirects, so you must include trailing slashes on

[PHP-DEV] PHP 4.0 Bug #9352: any php which is opened over any.php+.htr will sent the source

2001-02-20 Thread j . kohl
From: [EMAIL PROTECTED] Operating system: Windows 2000 Professional PHP version: 4.0.4pl1 PHP Bug Type: IIS related Bug description: any php which is opened over any.php+.htr will sent the source This Bug is an old asp bug (works also under coldfusion). The asp.dll disallow

[PHP-DEV] PHP 4.0 Bug #9352 Updated: any php which is opened over any.php+.htr will sent the source

2001-02-20 Thread j . kohl
ID: 9352 User Update by: [EMAIL PROTECTED] Status: Bogus Bug Type: IIS related Description: any php which is opened over any.php+.htr will sent the source And why can the asp.dll avoid that problem, when htr parsing is turned on? Previous Comments: ---

[PHP-DEV] PHP 4.0 Bug #9408: Mistakable description of nl2br()

2001-02-22 Thread j-f
From: [EMAIL PROTECTED] Operating system: - PHP version: 4.0.4pl1 PHP Bug Type: Documentation problem Bug description: Mistakable description of nl2br() The two sentences in the documentation of nl2br() are contradictory (only the second one is true): - "Converts newlines

[PHP-DEV] PHP 4.0 Bug #9449: wordwrap runs into infinite loop

2001-02-25 Thread j-f
From: [EMAIL PROTECTED] Operating system: W2K PHP version: 4.0 Latest CVS (25/02/2001) PHP Bug Type: Reproduceable crash Bug description: wordwrap runs into infinite loop May be related to bug id #9339. If a word in $string reaches (really! - see below) or exceeds the $widt

[PHP-DEV] PHP 4.0 Bug #9560: Lack of 'boolean' and 'resource' (in translations)

2001-03-05 Thread j-f
From: [EMAIL PROTECTED] Operating system: - PHP version: 4.0 Latest CVS (05/03/2001) PHP Bug Type: Documentation problem Bug description: Lack of 'boolean' and 'resource' (in translations) Please synchronize the german (resp. italian, hungarian, spanish) manual entry for g

[PHP-DEV] Bug #14754: java.* configuration values from php.ini lost on subsequent executions

2001-12-29 Thread j . kase
From: [EMAIL PROTECTED] Operating system: Windows 2000 SP2 / Apache 1.3.22 PHP version: 4.1.0 PHP Bug Type: Dynamic loading Bug description: java.* configuration values from php.ini lost on subsequent executions This is similar to bug#6990, but since I could no longer appen

[PHP-DEV] Bug #14754 Updated: java.* configuration values from php.ini lost on subsequent executions

2001-12-29 Thread j . kase
ID: 14754 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Dynamic loading Operating System: Windows 2000 SP2 / Apache 1.3.22 PHP Version: 4.1.0 New Comment: Another note. Users with Linux systems experiencing the same bug reported receiving errors and suc

Re: [PHP-DEV] Always building command line PHP

2002-01-03 Thread J Smith
get in knots over. But in the end, I would prefer separate php.ini files, maybe something like php-cli.ini for the default CLI file and and php.ini for the Apache/web server module default. If php-cli.ini doesn't exist, the CLI can always fall back on php.ini, which would be the default in

[PHP-DEV] Re: Bug #14930 Updated: CLI header suppression problems

2002-01-09 Thread J Smith
arch_path = 0; } in main/php_ini.c. Strips out the leading spaces and lets my scripts work properly again, with the proper php.ini settings. Comments? J [EMAIL PROTECTED] wrote: > ID: 14930 > Updated by: edink > Reported By: [EMAIL PROTECTED] > Old Status: Open > Stat

[PHP-DEV] cancel of <20020109232659.31293.qmail@pb1.pair.com>

2002-01-09 Thread J Smith
cancel by original author -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP-DEV] cancel of <20020109232659.31293.qmail@pb1.pair.com>

2002-01-09 Thread J Smith
cancel by original author -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP-DEV] Re: Bug #14930 Updated: CLI header suppression problems

2002-01-09 Thread J Smith
on this in a bit, I'll fix it next time, really. J J Smith wrote: > > Here's what I can tell so far: > > the arguments do get passed to cgi_main.c's main() function just fine, and > the arguments are even parsed okay. The problem seems to occur because > w

[PHP-DEV] Re: Bug #14930 Updated: CLI header suppression problems

2002-01-10 Thread J Smith
haviour would try to match starting up a process from a shell, i.e. having a whole array of arguments in argv rather than having everything mashed into argv[1]. Maybe it's a POSIX thing or something? J [EMAIL PROTECTED] wrote: > ID: 14930 > Updated by: elixer > Reported By: [E

[PHP-DEV] Re: Bug #14930 Updated: CLI header suppression problems

2002-01-14 Thread J Smith
to some extent, at least with my OS and setup, and maybe a patch will be on it's way Real Soon Now, maybe. But if I can't get it to be portable, beyond my machine, it's not much good, is it...) J [EMAIL PROTECTED] wrote: > ID: 14930 > Updated by: edink > Reported

[PHP-DEV] Bug #15154: set_error_handler(): some parse errors not caught

2002-01-21 Thread J . Kolakowski
From: [EMAIL PROTECTED] Operating system: PLD Linux 2.4.16 PHP version: 4.0CVS-2002-01-21 PHP Bug Type: Scripting Engine problem Bug description: set_error_handler(): some parse errors not caught Some parse errors are caught by assigned error handler, and some are not. I

[PHP-DEV] Re: PHP Documentation

2002-01-22 Thread J Smith
The PHP documentation is already available in Windows help format. (The new HTML-ish kind, I believe.) See http://www.php.net/download-docs.php. J Emanuel Dejanu wrote: > > Hi, > > Do you know how can I ($PHP_SELF :) compile the > PHP documentation in Windows HTML Help form

[PHP-DEV] Bug #15154 Updated: set_error_handler(): some parse errors not caught

2002-01-22 Thread J . Kolakowski
ID: 15154 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Scripting Engine problem Operating System: PLD Linux 2.4.16 PHP Version: 4.0CVS-2002-01-21 New Comment: If the first one is not an parse error, why do I see "Parse error: parse error in ... on line

[PHP-DEV] Re: Bug #15203: ereg_replace fails on strings containing backslashes

2002-01-24 Thread J Smith
uot;--$d--" . length($d) . "\n"; $d =~ s///; print "--$d--" . length($d) . "\n"; Which spits out --\\--2 --\\--2 which matches the ereg_replace as expected, but not the preg_replace. So I guess there is a bug there, just not with ereg_replace, but

[PHP-DEV] Re: Bug #15283: Not a bug, just a suggestion.

2002-01-29 Thread J Smith
use SSH/sftp/scp all the time.) I'm thinking it would be better to have a seperate extension for it, though, rather than implement it in conjunction with the standard ftp functions, because they're different enough to warrant it. J [EMAIL PROTECTED] wrote: > From:

[PHP-DEV] no debugging symbols found

2002-01-30 Thread J S
Hi, I want to debug a problem I'm getting in Apache with libphp4.so, but when I run gdb httpd, I get a bunch of messages saying: no debugging symbols found Does anyone here know what I need to do to fix this? Cheers, JS. _ G

Re: [PHP-DEV] no debugging symbols found

2002-01-30 Thread J S
. >From: Markus Fischer <[EMAIL PROTECTED]> >To: J S <[EMAIL PROTECTED]> >CC: [EMAIL PROTECTED] >Subject: Re: [PHP-DEV] no debugging symbols found >Date: Wed, 30 Jan 2002 14:21:50 +0100 >MIME-Version: 1.0 >Received: from [216.9

Re: [PHP-DEV] no debugging symbols found

2002-01-30 Thread J S
Thanks. Just tried that but it does the same. >From: <[EMAIL PROTECTED]> >To: J S <[EMAIL PROTECTED]> >CC: <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> >Subject: Re: [PHP-DEV] no debugging symbols found >Date: Wed, 30 Jan 2002 14:49:40 +0100 (CET) >MIME-Ve

[PHP-DEV] problems getting apache/php to work on aix

2002-01-30 Thread J S
Hi, Sorry this is a bit long but I'm at a loss. I'm trying to build apache-1.3.22 with modssl/modperl and (dynamic) php on AIX4.3.3.0 using VAC 5.0.0.2. Everything works fine until I uncomment LoadModule libphp4.so in httpd.conf, then apache won't start. I've tried php4.0.6, php4.1.1 and late

Re: [PHP-DEV] no debugging symbols found

2002-01-31 Thread J S
I tried that and it didn't make any difference. JS >From: David Eriksson <[EMAIL PROTECTED]> >To: J S <[EMAIL PROTECTED]> >CC: [EMAIL PROTECTED] >Subject: Re: [PHP-DEV] no debugging symbols found >Date: Thu, 31 Jan 2002 10:00:19 +0100 (CET) >MIME-Version:

Re: [PHP-DEV] no debugging symbols found

2002-01-31 Thread J S
Nope. I tried that as well. Did a make clean in the apache directory, ran make again, then went into src and did a gdb httpd. Still no debugging symbols though. $ gdb httpd GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License

[PHP-DEV] New extension: stem

2002-02-11 Thread J Smith
stu Spanish: chicharrones -> chicharron Dutch: lichamelijkheden -> licham German: aufeinanderschlügen -> aufeinanderschlüg Italian: pronunciamento -> pronunc Norwegian: havnemyndighetene -> havnemyndighet Portuguese: quilométricas -> quilométr Swedish: klostergården -> klost

Re: [PHP-DEV] New extension: stem

2002-02-12 Thread J Smith
I know no German at all besides what I've been able to learn from Wolfenstein 3D. I just cut and pasted a random word from the snowball site into the script. Naturally, I took what was probably the only misspelled one in the list. J Sebastian Bergmann wrote: > J Smith wrote:

RE: [PHP-DEV] New extension: stem

2002-02-12 Thread J Smith
, so I'm thinking BSD license, just to follow the Snowball license. I'll clean the extension up a bit and offer it to the library. J James Cox wrote: > well, this definitely looks cool, from a language point of view. > > i would go for new_stem or such like, and expect the l

[PHP-DEV] Re: Constants

2002-02-14 Thread J Smith
I think it's 2^31 because that's 2147483648, the largest value available for a long signed int in ANSI C.I t's also the value of RAND_MAX in stdlib.h on many systems. (It is on my system at any rate, linux using glibc.) J Evan Nemerson wrote: > I was thinking about

[PHP-DEV] Re: Extension format (fwd)

2002-02-14 Thread J Smith
Look at README.EXTENSIONS in the top level of the PHP source. Basically, the zend_module_entry was changed a bit. That's about it. J David Croft wrote: > > Could someone please update me on what needs to be changed to make an > 4.0.6 extension function on 4.1.1? > >

[PHP-DEV] CLI and php.ini

2002-02-19 Thread J Smith
which isn't at all portable), but I'm still thinking the best solution would be to split the php.ini files in two -- one for the web server SAPI and one for the CLI. Call them php.ini and php-cli.ini or something. Or am I just crazy? J -- PHP Development Mailing List <http:/

Re: [PHP-DEV] CLI and php.ini

2002-02-20 Thread J Smith
was a thread about this a while back, it should be in the archives. J Brad Lafountain wrote: > > The magic > #!/usr/local/bin/php -c local.ini > already works > > -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Bug #11533: Error during fopen of remote-file-result

2001-06-18 Thread j . parree
From: [EMAIL PROTECTED] Operating system: WINNT 4.0 - Service Pack 6a, IIS4, option pack installed PHP version: 4.0.4pl1 PHP Bug Type: Filesystem function related Bug description: Error during fopen of remote-file-result Script: $query = str_replace("+", " ", $query

[PHP-DEV] Bug #11533 Updated: Error during fopen of remote-file-result

2001-06-18 Thread j . parree
ID: 11533 User Update by: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Filesystem function related Operating system: WINNT 4.0 - Service Pack 6a, IIS PHP Version: 4.0.4pl1 Description: Error during fopen of remote-file-result Previous Comments: ---

Re: [PHP-DEV] Totally Blue Sky

2001-06-19 Thread J Smith
g? I can't. > [3] Is the general consensus that this would be a handy thing to > have, or is it just me? > If you're all about PHP, then it's great. Like I said, I'd rather use Perl for something like that, but I can definitely see the appeal. > > Please be

[PHP-DEV] Making Apache, PHP and C++ play nice

2001-06-20 Thread J Smith
apache_path/src/Makefile file by changing "CC=gcc" to "CC=g++".) Unfortunately, I can't seem to automate this. So my question is: is there an easier way? I don't mind having to do all of this stuff now, but if I have to do it a bunch of times, it's going to s

[PHP-DEV] Bug #11954: development question

2001-07-07 Thread j-diamond
From: [EMAIL PROTECTED] Operating system: Windows 2000 PHP version: 4.0.6 PHP Bug Type: unknown Bug description: development question Is there any way to just have a PHP interpreter with no web server ? I was trying to develop an HTML applicaton and deploy it on single P

[PHP-DEV] Bug #11955: development question

2001-07-07 Thread j-diamond
From: [EMAIL PROTECTED] Operating system: windows 2000 PHP version: 4.0.6 PHP Bug Type: Scripting Engine problem Bug description: development question Is there any way to just have a PHP interpreter with no web server ? I was trying to develop an HTML applicaton and depl

[PHP-DEV] $argv and $argc registration

2001-07-19 Thread J. Jones
I am not subscribed to this list, so please CC: or reply directly to me. Thanks! I may be doing something wrong.. I'm not real sure. Neither $argc or $argv seem to be registered with the cgi version of php 4.0.6 and up. The test script: exits with the following: Warning: Undefined variable:

[PHP-DEV] Re: Bug #12374: PHP Manual

2001-07-25 Thread Paul J
[EMAIL PROTECTED] wrote: > From: [EMAIL PROTECTED] > Operating system: Linux 2.4.3 > PHP version: 4.0.6 > PHP Bug Type: Feature/Change Request > Bug description: PHP Manual > > The user comments at the bottom of each page are > invaluable. Perhaps periodically, you could pr

[PHP-DEV] PHP Manual

2001-07-25 Thread Paul J
Dear php.dev The user comments at the bottom of each page are invaluable. Perhaps periodically, you could provide a gzipped mirror of these included in the manual. This would no doubt be very successful. Paul -- web: http://myitcv.org.uk/ email: [EMAIL PROTECTED] -- PHP Development Mailing

[PHP-DEV] Re: Bug #12378: checkdate returns TRUE on false date

2001-07-25 Thread J Smith
y 400, it is a leap year. (2000 is therefore a leap year.) There is a good FAQ on this at http://world.std.com/~dpbsmith/leapyearfaq.txt. There's also a good node on this stuff at http://www.everything2.com. J -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-m

[PHP-DEV] PHP Extensions: C or C++?

2001-07-25 Thread J Smith
t easier to manage. Any future extensions are going to be focused on making search engines easier to implement in PHP. (We're building a search engine that uses PHP.) Any interest in that sort of thing? And if so, C or C++? J -- PHP Development Mailing List <http://www.php.net/> To

Re: [PHP-DEV] PHP Extensions: C or C++?

2001-07-26 Thread J Smith
ngs to PHP strings isn't that big of a deal and it doesn't seem to be too taxing on the CPU. (string::c_str() does this quite nicely.) I guess I'm just a C++ fan or something. Anyways, if C is desired, I'll go with C. At least that way I can do some stuff for work and hopefull

[PHP-DEV] is_link() behavior

2001-04-23 Thread J. Jones
nk's and is_link()'s behavior is making the scouring of /proc difficult on me. ;) Thanks for any input.. J. Jones P.S. The script ran as root, so filesystem permissions aren't the issue. -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL

Re: [PHP-DEV] is_link() behavior

2001-04-24 Thread J. Jones
On Tue, Apr 24, 2001 at 10:50:36AM +0200, Andi Gutmans wrote: > It definitely seems as if the logic in the code (filestat.c) is kind of > screwed up. > If no one has time to look at it I can try and take a look at it later on. > > Andi > > At 01:35 AM 4/24/2001

Re: [PHP-DEV] is_link() behavior

2001-04-24 Thread J. Jones
rno=14 - Bad address) in ./fs-test.php on line 5 is_link failed Warning: stat failed for /tmp/test-link-func (errno=2 - No such file or directory) in ./fs-test.php on line 8 filetype failed Warning: stat failed for /tmp/test-link-func (errno=2 - No such file or directory) in ./fs-test.php on line 11

Re: [PHP-DEV] is_link() behavior

2001-04-24 Thread J. Jones
Oh.. the readlink () function works fine in both instances.. readlink passed: /bin/false readlink passed: /this/file/does/not/exist -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact t

Re: [PHP-DEV] is_link() behavior

2001-04-24 Thread J. Jones
On Wed, Apr 25, 2001 at 08:56:47AM +0200, Andi Gutmans wrote: > I commited another fix. > is_link() should work correctly now. If things have improved and you have > problems with lstat() and filetype() (which I think there's a good chance > that they are screwed up) let me know. > Thanks, > And

Re: [PHP-DEV] is_link() behavior

2001-04-24 Thread J. Jones
On Wed, Apr 25, 2001 at 01:05:00AM -0500, J. Jones wrote: > On Wed, Apr 25, 2001 at 08:56:47AM +0200, Andi Gutmans wrote: > > I commited another fix. > > is_link() should work correctly now. If things have improved and you have > > problems with lstat() and filetype() (wh

Re: [PHP-DEV] is_link() behavior

2001-04-24 Thread J. Jones
On Wed, Apr 25, 2001 at 09:33:47AM +0200, Andi Gutmans wrote: > OK. I commited one more patch which should fix filetype() and lstat(). I'd > appreciate it if you can take a minute and just make sure they work now and > that I didn't cause any problems with the fixed is_link(). > It's not my code

[PHP-DEV] Imap SSL support (Bug #10330)

2001-04-30 Thread J. Jones
The imap module fails with the following (perhaps only when building against imap-2000*): php_imap.c: In function `php_minit_imap': php_imap.c:450: `auth_ssl' undeclared (first use in this function) php_imap.c:450: (Each undeclared identifier is reported only once php_imap.c:450: for each functio

Re: [PHP-DEV] Imap SSL support (Bug #10330)

2001-04-30 Thread J. Jones
On Mon, Apr 30, 2001 at 01:22:32PM -0500, J. Jones wrote: > > make slx SPECIALAUTHENTICATORS=ssl EXTRACFLAGS=/path/to/openssl/includes/ > Whoops! make that make slx SPECIALAUTHENTICATORS=ssl EXTRACFLAGS=-I/path/to/openssl/includes/ -- PHP Development Mailing List <http://www.

  1   2   3   >