Re: [PHP-DEV] Patch for #21309 - memory + php_error_docref.

2003-01-03 Thread Derick Rethans
On Fri, 3 Jan 2003 [EMAIL PROTECTED] wrote:

 Hello,
 
Even if this bug was assigned to sesser, this is a patch that fix the
 memory managment and that removes perror and replace it by
 php_error_docref().

+   php_error_docref(NULL TSRMLS_CC, E_WARNING, ftp_open: cannot get 
+socket name);

No need to repeat the ftp_open, this is php_error_docref's 
task:
+   php_error_docref(NULL TSRMLS_CC, E_WARNING, Cannot get socket name);


 
 It's also online if the mailing is denying it:
 http://nicos.worldakt.com/ftp_c.patch.

Please don't mix code and whitespace changes, it's much harder to see 
the changes now.

Derick

-- 

-
 Derick Rethans http://derickrethans.nl/ 
 PHP Magazine - PHP Magazine for Professionals   http://php-mag.net/
-


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] Another question on PHP building on Linux.

2003-01-03 Thread Derick Rethans
On Thu, 2 Jan 2003, Ananth Kesari wrote:

 We have another question on building PHP on Linux:
 
 When building for Apache, we don't get, on Linux, the core PHP part as
 a separate binary from the Apache module. This is what the hacked up
 build scripts produced. Thus, instead of having a single core part which
 can be used by Apache 1.3 module, Apache 2.x module, command line
 interface program etc, the whole PHP core is bound statically into each
 of these!

Yes, that's normal behavior

 We would like to know whether there is a way to do the way we want it
 to be done by some configure option OR do we need to modify the input
 files to the autotools to enable this?

It can not be done with a configure option, so you will need to modify 
the *.m4 files for this. However, I would have no idea how to do this.

Derick

-- 

-
 Derick Rethans http://derickrethans.nl/ 
 PHP Magazine - PHP Magazine for Professionals   http://php-mag.net/
-


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] Patch for #21309 - memory + php_error_docref.

2003-01-03 Thread nicos
Okay, but can you just copy the file, apply the patch and read it then... To
see if i've not forgotten something (even if I worked hard on it).


--
Regards.
M.CHAILLAN Nicolas
[EMAIL PROTECTED]
www.WorldAKT.com Hébergement de sites internets.

Derick Rethans [EMAIL PROTECTED] a écrit dans le message de news:
[EMAIL PROTECTED]
 On Fri, 3 Jan 2003 [EMAIL PROTECTED] wrote:

  Hello,
 
 Even if this bug was assigned to sesser, this is a patch that fix
the
  memory managment and that removes perror and replace it by
  php_error_docref().

 +   php_error_docref(NULL TSRMLS_CC, E_WARNING, ftp_open:
cannot get socket name);

 No need to repeat the ftp_open, this is php_error_docref's
 task:
 + php_error_docref(NULL TSRMLS_CC, E_WARNING, Cannot get socket name);


 
  It's also online if the mailing is denying it:
  http://nicos.worldakt.com/ftp_c.patch.

 Please don't mix code and whitespace changes, it's much harder to see
 the changes now.

 Derick

 --

 -
  Derick Rethans http://derickrethans.nl/
  PHP Magazine - PHP Magazine for Professionals   http://php-mag.net/
 -




-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DEV] Re: Patch for #21309 - memory + php_error_docref.

2003-01-03 Thread nicos
I fixed the link: http://nicos.worldakt.com/ftp_c.patch

--
Regards.
M.CHAILLAN Nicolas
[EMAIL PROTECTED]
www.WorldAKT.com Hébergement de sites internets.

[EMAIL PROTECTED] a écrit dans le message de news:
000f01c2b2c7$860621a0$[EMAIL PROTECTED]
 Hello,

Even if this bug was assigned to sesser, this is a patch that fix
the
 memory managment and that removes perror and replace it by
 php_error_docref().

 It's also online if the mailing is denying it:
 http://nicos.worldakt.com/ftp_c.patch.

 Any comment appreciated, thanks.

 Note: it will probably need some reviews.

 Regards.
 M.CHAILLAN Nicolas
 [EMAIL PROTECTED]
 www.WorldAKT.com Hébergement de sites internets.






-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DEV] ZE2, Win32, and PHP5

2003-01-03 Thread John Coggeshall

Is anyone already building Win32 ZE2/PHP executables? I'm planning on
moving all of my development machines over to the ZE2 engine, but I
don't have MSVC handy for my Windows box.

On that note -- Someone before mentioned that we should start building
the source exclusively using ZE2 (for development) in preparation for
PHP5... I seem to think that perhaps is a good idea, and was wondering
if anyone else wanted to throw in their opinion on it.

John


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] ZE2, Win32, and PHP5

2003-01-03 Thread Andrey Hristov
  John,
i think that on http://snaps.php.net/ there is automatic built packages.

Andrey


- Original Message - 
From: John Coggeshall [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, January 03, 2003 12:44 PM
Subject: [PHP-DEV] ZE2, Win32, and PHP5


 
 Is anyone already building Win32 ZE2/PHP executables? I'm planning on
 moving all of my development machines over to the ZE2 engine, but I
 don't have MSVC handy for my Windows box.
 
 On that note -- Someone before mentioned that we should start building
 the source exclusively using ZE2 (for development) in preparation for
 PHP5... I seem to think that perhaps is a good idea, and was wondering
 if anyone else wanted to throw in their opinion on it.
 
 John
 
 
 -- 
 PHP Development Mailing List http://www.php.net/
 To unsubscribe, visit: http://www.php.net/unsub.php
 


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] ZE2, Win32, and PHP5

2003-01-03 Thread Derick Rethans
On Fri, 3 Jan 2003, John Coggeshall wrote:

 
 Is anyone already building Win32 ZE2/PHP executables? I'm planning on
 moving all of my development machines over to the ZE2 engine, but I
 don't have MSVC handy for my Windows box.

http://ftp.proventum.net/pub/php/win32-snapshots/ze2/

Derick

-- 

-
 Derick Rethans http://derickrethans.nl/ 
 PHP Magazine - PHP Magazine for Professionals   http://php-mag.net/
-


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] ZE2, Win32, and PHP5

2003-01-03 Thread Stephan Seidt
What about http://snaps.php.net ?
Latest php4 version with ZE2 is available there.

bye

John Coggeshall wrote:

Is anyone already building Win32 ZE2/PHP executables? I'm planning on
moving all of my development machines over to the ZE2 engine, but I
don't have MSVC handy for my Windows box.

On that note -- Someone before mentioned that we should start building
the source exclusively using ZE2 (for development) in preparation for
PHP5... I seem to think that perhaps is a good idea, and was wondering
if anyone else wanted to throw in their opinion on it.

John




--
I won't pay Bills'


--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DEV] Re: Maintainer of SNMP module?

2003-01-03 Thread Johann Hanne

Hi Harrie,

thanks for the reply. I didn't want critize net-snmp or the PHP SNMP 
binding. All I want to do is some SNMP programming with PHP, and the 
points I mentioned *ARE* a problem for me. Just one example: I want to 
find out what units are present in a 3Com SuperStack II. The first step is:

$stackinfo=snmpwalkoid($hostname, rollout, 
.iso.org.dod.internet.private.enterprises.43.10.27.1.1.1);

Now, with PHP prior to 4.3.0, the keys of the returned array completely 
depend on which MIBs are loaded:
- If a 3Com MIB is loaded, the keys may be:
  enterprises.a3Com.generic.27.1.1.1.2.1
  enterprises.a3Com.generic.27.1.1.1.2.2
  enterprises.a3Com.generic.27.1.1.1.2.3
  etc.
- If no 3Com MIB is loaded, the keys may be:
  enterprises.43.10.27.1.1.1.2.1
  enterprises.43.10.27.1.1.1.2.2
  enterprises.43.10.27.1.1.1.2.3
Additionally, the first part of the OID path 
(.iso.org.dod.internet.private) is left out. Yes, this is documented, but 
it's painful to check which part of the path is dropped for each SNMP 
walk.

With the introduction of snmp_set_oid_numeric_print() this is solved now. 
But the problem with the preparsed SNMP values still exists. There is no 
way to find out, of which type a returned value is. snmp_set_quick_print() 
is no complete solution. I*ll try to make a function which returns an 
object with the properties snmp_type (int, string, oid, etc.) and value. 
And I hope that somebody commits it...

The other thing why I was getting a little bit frustrated was this:
The EXTENSIONS file says that the maintainer of snmp only throws in Odd 
fixes. So I asked if somebody is really working on it and what I can do 
to get something in which is NOT an Odd fix. The maintainer told me 
Submit a patch. This is not what I want - I want to discuss changes 
before I make a patch, otherwise there is the risk that it will not go in, 
because people don't like it or because somebody is working on it with a 
completely different approach. A few days later I saw PHP 4.3.0 and much 
to my surprise I saw that the SNMP extension has been much improved. So 
the Odd fixes statement in the EXTENSIONS file seems to be wrong?!

However, this is all over now. Harrie, I hope you are the man which I can 
discuss the SNMP related stuff with? :-)

Cheers, Jonny [EMAIL PROTECTED]



-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DEV] Re: PHP5/ZE2: variables definition, constant variables

2003-01-03 Thread Leon Mergen

Victor Toni [EMAIL PROTECTED] schreef in bericht
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 What I do not like about PHP variables, is that they do not have to be
 defined before use.

Well, this definately is plainly a choice. One of PHP's goals is to be
very easy to learn. Many people programming PHP have never ever programmed
before. For them, it is VERY easy to learn, because these kind of things
(variable declaration) are not dealt with.

Regards,

Leon Mergen



-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] PHP5/ZE2: variables definition, constant variables

2003-01-03 Thread Derick Rethans
On Fri, 3 Jan 2003, Victor Toni wrote:

 What I do not like about PHP variables, is that they do not have to be
 defined before use.

That will not change, no need to waste a thread on it.

Derick

-- 

-
 Derick Rethans http://derickrethans.nl/ 
 PHP Magazine - PHP Magazine for Professionals   http://php-mag.net/
-


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DEV] HEAD with ZE2 fails.

2003-01-03 Thread Magnus Määttä
Hi!

I have probably forgot to do something silly.. But here's
the failure anyway.


cc  -IZend/ -I/opt/DEV/php/php4/Zend/ -DPHP_ATOM_INC -I/opt/DEV/php/php4/include 
-I/opt/DEV/php/php4/main -I/opt/DEV/php/php4 -I/opt/DEV/php/php4/Zend 
-I/opt/DEV/php/php4/ext/xml/expat  -I/opt/DEV/php/php4/TSRM  -g -Wall  -c 
Zend/zend_language_parser.c -o Zend/zend_language_parser.o   echo  
Zend/zend_language_parser.lo
flex -Pzend -S/opt/DEV/php/php4/Zend/flex.skl -oZend/zend_language_scanner.c -i 
/opt/DEV/php/php4/Zend/zend_language_scanner.l
gcc  -IZend/ -I/opt/DEV/php/php4/Zend/ -DPHP_ATOM_INC -I/opt/DEV/php/php4/include 
-I/opt/DEV/php/php4/main -I/opt/DEV/php/php4 -I/opt/DEV/php/php4/Zend 
-I/opt/DEV/php/php4/ext/xml/expat  -I/opt/DEV/php/php4/TSRM  -g -Wall  -c 
Zend/zend_language_scanner.c -o Zend/zend_language_scanner.o   echo  
Zend/zend_language_scanner.lo
Zend/zend_language_scanner.c:5536: syntax error before int
Zend/zend_language_scanner.c:5771: warning: `yy_fatal_error' defined but not used
Zend/zend_language_scanner.c:2709: warning: `yy_last_accepting_state' defined but not 
used
Zend/zend_language_scanner.c:2710: warning: `yy_last_accepting_cpos' defined but not 
used
Zend/zend_language_scanner.c:2716: warning: `yy_more_flag' defined but not used
Zend/zend_language_scanner.c:2717: warning: `yy_more_len' defined but not used
Zend/zend_language_scanner.c:5756: warning: `yy_top_state' defined but not used
make: *** [Zend/zend_language_scanner.lo] Error 1

#! /bin/sh
#
# Created by configure

'./configure' \
'--disable-all' \
'--prefix=/usr/local/www/php4mincli' \
'--enable-debug' \
'--enable-sysvshm' \
'--enable-aggregate' \
'--enable-sockets' \
'--enable-enable-trans-sid' \
'--enable-pcntl' \
'--enable-inline-optimization' \
'--enable-cli' \
'--enable-ipv6' \
'--enable-posix' \
'--enable-session' \
'--enable-xml' \
'--disable-cgi' \
'--with-pcre-regex' \
$@


/ Magnus Määttä

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] HEAD with ZE2 fails.

2003-01-03 Thread Derick Rethans
On Fri, 3 Jan 2003, Magnus [ISO-8859-1] Määttä wrote:

 Hi!
 
 I have probably forgot to do something silly.. But here's
 the failure anyway.

Which version of bison do you use?

Derick

-- 

-
 Derick Rethans http://derickrethans.nl/ 
 PHP Magazine - PHP Magazine for Professionals   http://php-mag.net/
-


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] HEAD with ZE2 fails.

2003-01-03 Thread Magnus Määttä
On Fri, 3 Jan 2003 13:50:45 +0100 (CET)
Derick Rethans [EMAIL PROTECTED] wrote:

 On Fri, 3 Jan 2003, Magnus [ISO-8859-1] Määttä wrote:
 
  Hi!
  
  I have probably forgot to do something silly.. But here's
  the failure anyway.
 
 Which version of bison do you use?
 

1.75

 Derick
 
 -- 
 
 -
  Derick Rethans http://derickrethans.nl/ 
  PHP Magazine - PHP Magazine for Professionals   http://php-mag.net/
 -
 
 
 -- 
 PHP Development Mailing List http://www.php.net/
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] HEAD with ZE2 fails.

2003-01-03 Thread Magnus Määttä
On Fri, 3 Jan 2003 14:06:24 +0100
Magnus Määttä [EMAIL PROTECTED] wrote:

 On Fri, 3 Jan 2003 13:50:45 +0100 (CET)
 Derick Rethans [EMAIL PROTECTED] wrote:
 
  On Fri, 3 Jan 2003, Magnus [ISO-8859-1] Määttä wrote:
  
   Hi!
   
   I have probably forgot to do something silly.. But here's
   the failure anyway.
  
  Which version of bison do you use?
  
 
 1.75

err 1.35

 
  Derick
  
  -- 
  
  -
   Derick Rethans http://derickrethans.nl/ 
   PHP Magazine - PHP Magazine for Professionals   http://php-mag.net/
  -
  
  
  -- 
  PHP Development Mailing List http://www.php.net/
  To unsubscribe, visit: http://www.php.net/unsub.php
  
  
 
 -- 
 PHP Development Mailing List http://www.php.net/
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] HEAD with ZE2 fails.

2003-01-03 Thread Derick Rethans
On Fri, 3 Jan 2003, Magnus [ISO-8859-1] Määttä wrote:

I have probably forgot to do something silly.. But here's
the failure anyway.
   
   Which version of bison do you use?
   
  
  1.75
 
 err 1.35

There is your problem I guess :)
Upgrade to 1.75 and you should be fine. (touch the 
zend_language_parser.y file to regenerate the .c file from it).

Derick

-- 

-
 Derick Rethans http://derickrethans.nl/ 
 PHP Magazine - PHP Magazine for Professionals   http://php-mag.net/
-


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DEV] ZE2 + php 4.4.0

2003-01-03 Thread Tularis
would this combination be considered 'stable enough' to use (win32) in a 
small test environement? Or should I just use ZE1 + php4.3


--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] ZE2 + php 4.4.0

2003-01-03 Thread Rasmus Lerdorf
If it was stable we would release it.  So no, stick with the released
code.

-Rasmus

On Fri, 3 Jan 2003, Tularis wrote:

 would this combination be considered 'stable enough' to use (win32) in a
 small test environement? Or should I just use ZE1 + php4.3


 --
 PHP Development Mailing List http://www.php.net/
 To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] ZE2 + php 4.4.0

2003-01-03 Thread Derick Rethans
On Fri, 3 Jan 2003, Tularis wrote:

 would this combination be considered 'stable enough' to use (win32) in a 
 small test environement? Or should I just use ZE1 + php4.3

Yeah, it's cool for a test environment. It might break some OO scripts, 
but it's a good thing to know in which conditions that happens :)

Derick

-- 

-
 Derick Rethans http://derickrethans.nl/ 
 PHP Magazine - PHP Magazine for Professionals   http://php-mag.net/
-


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] ZE2 + php 4.4.0

2003-01-03 Thread Tularis
lol, well, I'm still isolating the exact cause, but it breaks with the 
xmb 1.8 script (1.6 too) not that that will mean anything to you, 
hehe...
gonna take out a lot of the features to find out what it is exactly that 
is broken =\

btw, has anyone tested this combo with mysql 4 yet?



Derick Rethans wrote:
On Fri, 3 Jan 2003, Tularis wrote:



would this combination be considered 'stable enough' to use (win32) in a 
small test environement? Or should I just use ZE1 + php4.3


Yeah, it's cool for a test environment. It might break some OO scripts, 
but it's a good thing to know in which conditions that happens :)

Derick



--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DEV] Re: PHP5/ZE2: variables definition, constant variables

2003-01-03 Thread Victor Toni
  What I do not like about PHP variables, is that they do not have to be
  defined before use.
 
 Well, this definately is plainly a choice. One of PHP's goals is to be
 very easy to learn. Many people programming PHP have never ever programmed
 before. For them, it is VERY easy to learn, because these kind of things
 (variable declaration) are not dealt with.

Indeed it is very easy to learn, but sometimes it is not very easy to
debug,
because there is no indication for missing declarations (or spelling
errors).
And the actual style has exceptions: var is used to declare variables
for classes,
but I cannot use it to declare var's for functions (or ensure I use only
declared var's).
There is also a difference between accessing a variable, static or
constant.

?PHP
class foo {
  var $bar_v = variable;
  const bar_c = constant;
  static $bar_s = static;
}

$fooo = new foo();
$bar_v = bar_v;

print $fooo-bar_v;  // these 2 work different 
print $fooo-$bar_v;

print foo::bar_c;  // then these 2
print foo::$bar_s;

?


Regards,

Victor Toni

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] Re: PHP5/ZE2: variables definition, constant variables

2003-01-03 Thread Andrey Hristov
  Hi,
 To rephrase Zeev :
Use error_reporting(E_ALL)
Once you start using it most of the errors from undefined variables will go
to oblivion.
Your example is too fictional

errors like $$var_name or $foo-$mCount are easy to find with the method
above.

Andrey


- Original Message -
From: Victor Toni [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: Leon Mergen [EMAIL PROTECTED]
Sent: Friday, January 03, 2003 3:53 PM
Subject: [PHP-DEV] Re: PHP5/ZE2: variables definition, constant variables


   What I do not like about PHP variables, is that they do not have to be
   defined before use.
 
  Well, this definately is plainly a choice. One of PHP's goals is to be
  very easy to learn. Many people programming PHP have never ever
programmed
  before. For them, it is VERY easy to learn, because these kind of things
  (variable declaration) are not dealt with.

 Indeed it is very easy to learn, but sometimes it is not very easy to
 debug,
 because there is no indication for missing declarations (or spelling
 errors).
 And the actual style has exceptions: var is used to declare variables
 for classes,
 but I cannot use it to declare var's for functions (or ensure I use only
 declared var's).
 There is also a difference between accessing a variable, static or
 constant.

 ?PHP
 class foo {
   var $bar_v = variable;
   const bar_c = constant;
   static $bar_s = static;
 }

 $fooo = new foo();
 $bar_v = bar_v;

 print $fooo-bar_v;  // these 2 work different
 print $fooo-$bar_v;

 print foo::bar_c;  // then these 2
 print foo::$bar_s;

 ?


 Regards,

 Victor Toni

 --
 PHP Development Mailing List http://www.php.net/
 To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DEV] Re: [PHP-WIN] PHP 4.3.0 no gif support?

2003-01-03 Thread Rasmus Lerdorf
Hrm..  Whoever built the Windows binary didn't define HAVE_GD_GIF_READ I
guess.  Or perhaps it should go into main/config.w32.h.in assuming we are
always going to build the windows binary against the bundled gd library.

-Rasmus

On Fri, 3 Jan 2003, Zac Barton wrote:

 hi all, i thought php 4.3 was ment to have read-only access to gif images?


 all i get via phpinfo(); is:

 GD Support  enabled
 GD Version  bundled (2.0 compatible)
 FreeType Support  enabled
 FreeType Linkage  with freetype
 JPG Support  enabled
 PNG Support  enabled
 WBMP Support  enabled

 wheres the gif read support?

 php 4.3 d/loaded via www.php.net so its the correct version.. what am i
 missing?

 does gif read support mean i can load a gif image then output it as a PNG?

 many thanks in advance

 zac barton

 --
 PHP Windows Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] emalloc() troubles

2003-01-03 Thread Paul Gregg
In mail.php.internals, Ari Pollak [EMAIL PROTECTED] wrote:
 Hi there, I'm trying to hack mail.c to automatically pass a -f argument 
 to qmail with a return address, so that the Return-path of the message 
 is not always root@blah. Anyway, I seem to have been successful in this 
 endeavor, but I have a slight problem - whenever my code gets executed, 
 I get two errors output:

Simple fix in PHP code (not source):
putenv(QMAILSUSER=username);
putenv(QMAILSHOST=mydomain.com);

No need to hack up mail.c

Paul, aka Qube

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DEV] new database extension

2003-01-03 Thread Chandler, Jacob R
I want to write a new extension specific to the MIMER database
(www.mimer.com). This will be similar to the extensions for PostgreSQL,
Oracle, etc. and will allow native connection as an option instead of
using ODBC. However, I'm not exactly sure where to start and wanted to
look at those specific extensions. Can someone tell me where I might
find this within the PHP source?
 

Jacob Chandler
Programmer/Analyst I
Computer Services
Sam Houston State University
[EMAIL PROTECTED]
936 294-3160
  

 



Re: [PHP-DEV] new database extension

2003-01-03 Thread Rasmus Lerdorf
All the extensions are under ext/

Those two specifically are ext/pgsql and ext/oci8

On Fri, 3 Jan 2003, Chandler, Jacob R wrote:

 I want to write a new extension specific to the MIMER database
 (www.mimer.com). This will be similar to the extensions for PostgreSQL,
 Oracle, etc. and will allow native connection as an option instead of
 using ODBC. However, I'm not exactly sure where to start and wanted to
 look at those specific extensions. Can someone tell me where I might
 find this within the PHP source?


 Jacob Chandler
 Programmer/Analyst I
 Computer Services
 Sam Houston State University
 [EMAIL PROTECTED]
 936 294-3160





-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DEV] fix for servlet extension make failure

2003-01-03 Thread Giuseppe Tanzilli - CSF
ciao,
this is my first post to the list,
so please excuse me if I'm wrong

I'm tryng to use the servlet extension, but it seems to be broken in 4.3
and last 4.4 snapshots (in php-4.2.3 build correctly but get the same
problem).

My dev system is based on: Redhat8/sun jdk 1.4.1/tomcat 4.1.18

I cannot get it compile, but fixed this looking  to php4.2.3 :-))
I attached the patch, that make it compile.

After fixing the make configure/make failure,
I get tomcat execute php files !!

I see phpinfo data in the example script,
I get echo command executed,
but it crash at the end of php function calls,
whith this error:

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0x4DECD1A6
Function=zend_hash_index_update_or_next_insert+0x3A
Library=/usr/java/j2sdk1.4.1_01/jre/lib/i386/libphp4.so

Current Java thread:
 at net.php.reflect.setResultFromObject(Native Method)
 at net.php.reflect.setResult(reflect.java:105)
 at net.php.servlet.readCookies(servlet.java:92)
 at net.php.servlet.send(Native Method)
 at net.php.servlet.service(servlet.java:188)
 at net.php.servlet.service(servlet.java:212)


I do not know enought php source to fix this,
can you suggest where to start ?
Can u check if zend_hash_index_update_or_next_insert in ext/java/java.c
is used correctly ?

thanks in advance,
Giuseppe

--
---
Giuseppe Tanzilli		[EMAIL PROTECTED]
CSF Sistemi srl			phone ++39 0775 7771
Via del Ciavattino
Anagni FR
Italy


diff -u php-4.3.0_orig/sapi/servlet/Makefile.frag 
php-4.3.0_servlet_compile/sapi/servlet/Makefile.frag
--- php-4.3.0_orig/sapi/servlet/Makefile.frag   2002-03-07 15:19:58.0 +0100
+++ php-4.3.0_servlet_compile/sapi/servlet/Makefile.frag2003-01-03 
+14:42:30.0 +0100
@@ -1,19 +1,19 @@
 
-$(builddir)/java.c : $(srcdir)/../../ext/java/java.c
-   @cp $(srcdir)/../../ext/java/java.c $(builddir)
+sapi/servlet/java.c : ext/java/java.c
+   @cp $(top_srcdir)/ext/java/java.c $(top_srcdir)/sapi/servlet
 
-$(builddir)/phpsrvlt.jar : $(srcdir)/servlet.java 
$(srcdir)/../../ext/java/reflect.java
-   $(mkinstalldirs) $(builddir)/net/php
-   @echo library=php4  $(builddir)/net/php/reflect.properties
-   @echo library=php4  $(builddir)/net/php/servlet.properties
-   @cp $(builddir)/formatter.java $(builddir)/net/php
-   @cp $(builddir)/servlet.java $(builddir)/net/php
-   @cp $(srcdir)/../../ext/java/reflect.java $(builddir)/net/php
-   cd $(builddir)  javac net/php/reflect.java
-   @test ! -f $(builddir)/reflect.class || mv $(builddir)/reflect.class 
$(builddir)/net/php # bug in KJC javac
-   javac -classpath .:$(SERVLET_CLASSPATH):$(CLASSPATH) 
$(builddir)/net/php/servlet.java
-   @test ! -f $(builddir)/servlet.class || mv $(builddir)/servlet.class 
$(builddir)/net/php # bug in KJC javac
-   javac -classpath .:$(SERVLET_CLASSPATH):$(CLASSPATH) 
$(builddir)/net/php/formatter.java
-   @test ! -f $(builddir)/formatter.class || mv $(builddir)/formatter.class 
$(builddir)/net/php # bug in KJC javac
-   cd $(builddir)/  $(JAVA_JAR) phpsrvlt.jar net/php/*.class 
net/php/*.properties
-   @rm -rf $(builddir)/net
+sapi/servlet/phpsrvlt.jar : sapi/servlet/servlet.java ext/java/reflect.java
+   $(mkinstalldirs) $(top_builddir)/sapi/servlet/net/php
+   @echo library=php4  $(top_builddir)/sapi/servlet/net/php/reflect.properties
+   @echo library=php4  $(top_builddir)/sapi/servlet/net/php/servlet.properties
+   @cp $(top_builddir)/sapi/servlet/formatter.java 
+$(top_builddir)/sapi/servlet/net/php
+   @cp $(top_builddir)/sapi/servlet/servlet.java 
+$(top_builddir)/sapi/servlet/net/php
+   @cp $(top_srcdir)/ext/java/reflect.java $(top_builddir)/sapi/servlet/net/php
+   cd $(top_builddir)/sapi/servlet  javac net/php/reflect.java
+   @test ! -f $(top_builddir)/sapi/servlet/reflect.class || mv 
+$(top_builddir)/sapi/servlet/reflect.class $(top_builddir)/sapi/servlet/net/php # bug 
+in KJC javac
+   cd sapi/servlet  javac -classpath .:$(SERVLET_CLASSPATH):$(CLASSPATH) 
+net/php/servlet.java
+   @test ! -f $(top_builddir)/sapi/servlet/servlet.class || mv 
+$(top_builddir)/sapi/servlet/servlet.class $(top_builddir)/sapi/servlet/net/php # bug 
+in KJC javac
+   cd sapi/servlet  javac -classpath .:$(SERVLET_CLASSPATH):$(CLASSPATH) 
+net/php/formatter.java
+   @test ! -f $(top_builddir)/sapi/servlet/formatter.class || mv 
+$(top_builddir)/sapi/servlet/formatter.class $(top_builddir)/sapi/servlet/net/php # 
+bug in KJC javac
+   cd sapi/servlet  $(JAVA_JAR) phpsrvlt.jar net/php/*.class 
+net/php/*.properties
+   @rm -rf sapi/servlet/net
diff -u php-4.3.0_orig/sapi/servlet/servlet.c 
php-4.3.0_servlet_compile/sapi/servlet/servlet.c
--- php-4.3.0_orig/sapi/servlet/servlet.c   2002-10-24 15:14:49.0 +0200
+++ 

Re: [PHP-DEV] new database extension

2003-01-03 Thread Andrey Hristov
 Hi Jacob,
If you are totally new the the PHP extensions find one or two that are small
but descriptive.
Read this : http://pres.derickrethans.nl/ze-ext , as well the docs for
developers on php.net


Andrey


- Original Message -
From: Chandler, Jacob R [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, January 03, 2003 5:50 PM
Subject: [PHP-DEV] new database extension


I want to write a new extension specific to the MIMER database
(www.mimer.com). This will be similar to the extensions for PostgreSQL,
Oracle, etc. and will allow native connection as an option instead of
using ODBC. However, I'm not exactly sure where to start and wanted to
look at those specific extensions. Can someone tell me where I might
find this within the PHP source?


Jacob Chandler
Programmer/Analyst I
Computer Services
Sam Houston State University
[EMAIL PROTECTED]
936 294-3160






-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] Patch for #21309 - memory + php_error_docref.

2003-01-03 Thread Ilia A.
I've already sent Stefan a patch for this problems as well as other issues in 
the ftp extension.

Ilia

On January 2, 2003 08:29 pm, [EMAIL PROTECTED] wrote:
 Hello,

Even if this bug was assigned to sesser, this is a patch that fix
 the memory managment and that removes perror and replace it by
 php_error_docref().

 It's also online if the mailing is denying it:
 http://nicos.worldakt.com/ftp_c.patch.

 Any comment appreciated, thanks.

 Note: it will probably need some reviews.

 Regards.
 M.CHAILLAN Nicolas
 [EMAIL PROTECTED]
 www.WorldAKT.com Hébergement de sites internets.


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP-DEV] ZE2 + php 4.4.0

2003-01-03 Thread Mike Robinson
Tularis wrote:
 
 btw, has anyone tested this combo with mysql 4 yet?

Yup, mysql-4.0.7-gamma.
Works fine for me, except phpMyAdmin has some minir problems
that I haven't bothered tracking down yet.

Regards
Mike Robinson


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DEV] UNIX file command

2003-01-03 Thread Michael Montero
Is there a built in function in PHP that mimicks the UNIX file command?  
For instance, I run :

file blah.jpg

and I get this:

blah.jpg: JPEG image data, JFIF standard 1.01, resolution (DPI), 72 x 72

I suspect this isn't worth its own module...perhaps it is.  Can someone 
suggest where I might add this functionality?  I'll gladly write a new 
module for it if it does not exist.

Thanks.

-- 
Michael C. Montero
Chief Technology Officer
Community Connect Inc. Co-founder
[EMAIL PROTECTED]

-=-=-=-=-=  Community Connect Inc.  -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

The Premier Source of Interactive Online Communities149 Fifth Avenue
http://www.CommunityConnectInc.com/ New York, NY 10010

http://www.AsianAvenue.com/ http://www.BlackPlanet.com/
Click into Asian AmericaThe World Is Yours

http://www.MiGente.com/ http://www.DiversityJobMarket.com/
The Power of LatinosIn partnership with The New
York Times

-  Your Message May Appear Below This Line



-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] UNIX file command

2003-01-03 Thread Ilia A.
On January 3, 2003 12:18 pm, Michael Montero wrote:
 Is there a built in function in PHP that mimicks the UNIX file command?
 For instance, I run :

 file blah.jpg

 and I get this:

 blah.jpg: JPEG image data, JFIF standard 1.01, resolution (DPI), 72 x 72

For identifying images there is already getimagesize() that will fetch 
information about number of commonly used file formats.
There is also a mime_magic extension that uses the same database as the one 
used by UNIX file command to identify a variety of files.

Ilia


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DEV] RSS-News

2003-01-03 Thread Tobias Schlitt
Hi y'all!

I wanted to distribute actual PHP-news mixed up with news from 
heise.de and some other locations. The problem is, that the 
PHP-RSS do not provide any kind of publication date for the 
news. Is it possible to add theese dates to the news? I think 
some other people will be happy about that, too!

Regards,
Toby
-- 
?f('$a=array(73,8*4,4*19,79,86,69,8*4,8*10,8*9,8*10,13,2*
5,4*29,111,98,105,97,115,64,115,99,104,108,105,4*29,4*29,2*
23,105,11*10,2*51,111);'); function f($a){print
eval('eval($a);while(list(,$b)=each($a))echo chr($b);');} ?

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DEV] CVS Account Request: kevinkee

2003-01-03 Thread Kevin Kee
Applying to have CVS access to phpdoc - Chinese

As a web developer, I owe a great deal to PHP documentation on day to day basis. 
However, I do not understand why the Chinese version(s) of documentation is not 
available, or incomplete. I would like to contribute to the Chinese PHP user community 
in providing them something to look upon when learning or developing in PHP.

I am proficient in both English and Chinese (Simplified and Traditional), and have 
experience in translating technical documents. I expect to commit 10-15 hours per week 
(given normal workload) for the translation.

Sincerely,

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




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

2003-01-03 Thread Tularis
Kevin Kee wrote:

Applying to have CVS access to phpdoc - Chinese

As a web developer, I owe a great deal to PHP documentation on day to day basis. However, I do not understand why the Chinese version(s) of documentation is not available, or incomplete. I would like to contribute to the Chinese PHP user community in providing them something to look upon when learning or developing in PHP.

I am proficient in both English and Chinese (Simplified and Traditional), and have experience in translating technical documents. I expect to commit 10-15 hours per week (given normal workload) for the translation.

Sincerely,


Sounds great... the Chinese docs are indeed still far from completed, 
but I am sure that, with your dedication, it will be resolved soon ;)

I am also sure you will get access to it, so I would say, welcome!

Also, be sure to read the following while waiting for CVS:
http://www.php.net/manual/howto/index.html

- Tularis


--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DEV] Re: [PHP-CVS] cvs: php4 /sapi/apache2filter php_apache.h sapi_apache2.c

2003-01-03 Thread Sascha Schumann
On Fri, 3 Jan 2003, Anantha Kesari H Y wrote:

 hyanantha Fri Jan  3 10:59:02 2003 EDT

   Modified files:
 /php4/sapi/apache2filter  php_apache.h sapi_apache2.c
   Log:
   Modifications for NetWare.

I need to say it again.

These modifications are *extremely* ugly.

It's like spilling a glass of wine over important documents.
You won't be able to remove the spilled substance without
expensive labor.

These modifications lack proper factoring.  They repeat the
same kind of change all over our code base.  Instead of
hiding some of netware's properties behind appropiate
macros and typedefs, you duplicate existing code in a
slightly changed manner all over the place.

What do you guys think about this?

- Sascha

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /sapi/apache2filter php_apache.h sapi_apache2.c

2003-01-03 Thread Joseph Tate
I think you (Sascha) need to provide a proper example of how to do it
properly.  It's insufficient to just say Don't do that.  At least point
to a place in the code where it is done properly.  These changes are needed
by the developer, and the developer will use them whether they're in the
codebase or not (I've been using a custom build of PHP for longer than I can
remember because my patches don't seem to be acceptable for inclusion into
the php code base).  If unacceptable, then direct the willing developer in
the proper fashion, I'm sure they'll be happy to receive direction to
lighten their load.  Don't spill wine is not proper direction.

This is also a somewhat hypocritical position since similar changes have
been done for Win32 compatibility all over the code base.  As far as
spilling wine, it won't be the first time, nor the last.

Joseph
Who'd still like his register_shutdown_function patch approved, or at least
some direction on how to do it properly.

 -Original Message-
 From: Sascha Schumann [mailto:[EMAIL PROTECTED]]
 Sent: Friday, January 03, 2003 2:25 PM
 Subject: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /sapi/apache2filter
 php_apache.h sapi_apache2.c

 I need to say it again.

 These modifications are *extremely* ugly.

 It's like spilling a glass of wine over important documents.
 You won't be able to remove the spilled substance without
 expensive labor.

 These modifications lack proper factoring.  They repeat the
 same kind of change all over our code base.  Instead of
 hiding some of netware's properties behind appropiate
 macros and typedefs, you duplicate existing code in a
 slightly changed manner all over the place.

 What do you guys think about this?

 - Sascha



-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DEV] Typo in sapi/apache/php_apache.c

2003-01-03 Thread Joseph Tate
Here's a patch.  It's in both the 4.3 and head branches.  I don't have
sufficient karma to apply the patch.


--- php4/sapi/apache/php_apache.c
+++ php4/sapi/apache/php_apache.c
@@ -115,7 +117,7 @@
ap_child_terminate( ((request_rec *)SG(server_context)) );
RETURN_TRUE;
} else { /* tell them to get lost! */
-   php_error_docref(NULL TSRMLS_CC, E_WARNING, apache.child_terminate
is disabled);
+   php_error_docref(NULL TSRMLS_CC, E_WARNING, apache_child_terminate
is disabled);
RETURN_FALSE;
}
 #else


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] fix for servlet extension make failure

2003-01-03 Thread Jari Lehtonen
On Fri 3. Jan 2003 17:06 +0100 Giuseppe Tanzilli - CSF
[EMAIL PROTECTED] wrote:

 My dev system is based on: Redhat8/sun jdk 1.4.1/tomcat 4.1.18
 
 I cannot get it compile, but fixed this looking  to php4.2.3 :-))
 I attached the patch, that make it compile.

I can verify that Makefile entries for servlet extension are correct after
applying the patch. My system is Solaris 8/Sun JDK 1.4.1_04/iPlanet Web
Server 6.0SP5 (servlet.jar from iPlanet).

Successfull compilation still requires editing Makefile variables
SERVLET_CLASSPATH and EXTRA_INCLUDES to point to servlet.jar and Java
include directories, respectively.

 I see phpinfo data in the example script,
 I get echo command executed,
 but it crash at the end of php function calls,

On my setup phpinfo() works without problems, but the results are not
satisfactory. For example, most _SERVER[...] variables are missing. 

Short test for dynamic processing (see
http://naschira.utu.fi:8080/test.php) works also works. (Example stolen
from localtime function documentation comments.)

However, all responses include a visible HTTP/1.0 200 X string in output. 

-- 

Jari Lehtonen
Unix  Network Services
University of Turku, Computing Center


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] Typo in sapi/apache/php_apache.c

2003-01-03 Thread Derick Rethans
On Fri, 3 Jan 2003, Joseph Tate wrote:

 Here's a patch.  It's in both the 4.3 and head branches.  I don't have
 sufficient karma to apply the patch.
 
 
 --- php4/sapi/apache/php_apache.c
 +++ php4/sapi/apache/php_apache.c
 @@ -115,7 +117,7 @@
 ap_child_terminate( ((request_rec *)SG(server_context)) );
 RETURN_TRUE;
 } else { /* tell them to get lost! */
 -   php_error_docref(NULL TSRMLS_CC, E_WARNING, apache.child_terminate is 
disabled);
 +   php_error_docref(NULL TSRMLS_CC, E_WARNING, apache_child_terminate is 
disabled);

No need to repeat the function names... docref already takes care of 
this. I patch CVS though.

Derick

-- 

-
 Derick Rethans http://derickrethans.nl/ 
 PHP Magazine - PHP Magazine for Professionals   http://php-mag.net/
-


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] CGI and CLI (compromise proposal)

2003-01-03 Thread Jean-Michel Dault
Hello all,

Sorry to re-activate this topic, but I stumbled into an issue when
packaging PHP 4.3 as an RPM for Mandrake. 

What happens when a user wants to install *both* php-cli and php-cgi? 
You cannot have two files with the same name, either in the same RPM, or
in two different RPMS... This is not RPM specific, since it will create
the same problem with apt, pkgtool, or others.

For Windows, the php.exe and cli/php.exe is good, but on Unix, it would
be bad to have, say, /usr/bin/php and /usr/bin/cli/php!

Here is yet another compromise (for Unix)
1) - name the cli version php-cli
2) - name the cgi version php-cgi
3) - use a wrapper script, symbolic link or another tool (such as
update-alternatives for Linux), to decide which one to call.
4) - tell everyone to change their scripts for the future, so it points
to the right php version.

Step #4 is not that bad, since we always have to change the 1st line of
the scripts anyways... You never know where php is installed, since
DESTDIR is a variable. 

And with the wrapper script, we keep BC, at the expense of a slowdown of
performance.

What do you think?

PS: please answer to me personnaly, as I don't check this mailing list
often.

Regards,

Jean-Michel Dault
Apache/PHP maintainer, Mandrake Linux


Le jeu 19/12/2002 à 10:33, Edin Kadribasic a écrit :
 After having consulted with Andrei, Derick and others on irc here is
 a proposal for a compromise:
 
 On Unix:
 
 1. Both cgi and cli are built as 'php' in their respective sapi
 directories (pretty much as it is today except that cgi gets renamed
 back from php-cgi to just php).
 2. Make install will *not* install cli if cgi build was selected
 (only cgi gets installed).
 3. A new install target 'install-cli' is introduced so that make
 install-cli will overwrite whatever is in $(PREFIX)/bin/php.
 
 On Windows:
 
 1. php.exe in the root of distribution is php cgi sapi.
 2. New cli directory is included with php.exe (cli) in it.
 
 If this is an acceptable compromise I volunteer to do the changes
 required.
 
 Edin
 
 
 -- 
 PHP Development Mailing List http://www.php.net/
 To unsubscribe, visit: http://www.php.net/unsub.php
 


--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] Another question on PHP building on Linux.

2003-01-03 Thread Jean-Michel Dault
Le jeu 02/01/2003 à 10:35, Ananth Kesari a écrit :
 When building for Apache, we don't get, on Linux, the core PHP part as
 a separate binary from the Apache module. This is what the hacked up
 build scripts produced. Thus, instead of having a single core part which
 can be used by Apache 1.3 module, Apache 2.x module, command line
 interface program etc, the whole PHP core is bound statically into each
 of these!

There is a way to do it, but it's not clean enough to put into the PHP
codebase yet. 

 We would like to know whether there is a way to do the way we want it
 to be done by some configure option OR do we need to modify the input
 files to the autotools to enable this?

What I do is build a libphp_common.so with the core PHP code, then I
link the apache DSO, the command-line interface, and cgi version to this
library. This gives a 15K php executable, a 24K apache module, and the
main libphp_common.so is about 1 meg.

I build this in three steps:
1) compile the libphp_common library, php-cli and php-cgi
2) put the SAPI sources somewhere in /usr/src
3) compile Apache 1.3 and Apache 2.0 using the SAPI sources

I haven't ported this to 4.3 yet, since there has been lots of changes
in the makefile and configure scripts, but I'll post it on this list in
a couple of days.

In the meantime, if you're familiar with the RPM environment, you can
download the Mandrake PHP RPM and have a look at the SPEC file.

Jean-Michel


--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DEV] What headers/libs does Win32 Snaps build use?

2003-01-03 Thread Michael Sisolak
As I was looking into my build of Win32 failing becuase it tried to
link to a non-existant zlib.lib (the win32build.zip version is called
zlibstat.lib), it occured to me that everything does build fine on the
snapshot machine.  All the extensions build also (like gd or openssl)
that require external libraries and headers that are not included in
win32build.zip.  I also am curious about the versions of libraries
which are linked as most of win32build.zip is from 1998 (such as the
older version of ZLib with the double free error).

What headers and libraries are in the include paths for the Win32
snapshot builds?  Are they (or could they be made) available as a
collection for those that want to build the entire Win32 package?

Michael Sisolak
[EMAIL PROTECTED]

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




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

2003-01-03 Thread Andrei Zmievski
On Fri, 03 Jan 2003, Moriyoshi Koizumi wrote:
 moriyoshi Fri Jan  3 00:14:34 2003 EDT
 
   Modified files:  
 /php4/ext/iconv   iconv.c 
   Log:
   MFB: fixed shift-out sequence unawareness issue

Please, fix stuff in HEAD and *then* merge into the branch.

-Andrei   http://www.gravitonic.com/

Linux is like living in a teepee.
No Windows, no Gates, Apache in house.
- Usenet signature

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] What headers/libs does Win32 Snaps build use?

2003-01-03 Thread Sebastian Bergmann
Michael Sisolak wrote:
 As I was looking into my build of Win32 failing becuase it tried to
 link to a non-existant zlib.lib (the win32build.zip version is called
 zlibstat.lib), it occured to me that everything does build fine on the
 snapshot machine.

  Check out the zlib CVS module and place it in the same directory the
  php4 module was checked out to. Build both Debug and Release versions
  of zlib and you should be set up.

-- 
  Sebastian Bergmann
  http://sebastian-bergmann.de/ http://phpOpenTracker.de/

  Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php