[PHP-DEV] PHP for Win32 without MySQL?

2001-12-18 Thread Matt White

Has anyone attempted to build a version of PHP on Win32 without MySQL?

In config.w32.h there is the following couple of lines:

/* set to enable mysql */
#define HAVE_MYSQL 1

... and if you set this equal to 0, the compile progresses normally until
you hit php_mysql.c. (VC++ gives up after a couple of hundred errors...
mostly undeclared identifier errors, which are most likely caused by a
header not being included somewhere along the way.)

- Matt



-- 
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]




Re: [PHP-DEV] Re: [PHP-QA] 4.0.6

2001-05-02 Thread Matt White

Wez;

Is there another test suite other than the run-test.php script?

(Which does run on Win32:


TEST RESULT SUMMARY
=
Number of tests:   165
Tests skipped:  66 ( 40%)
Tests failed:   22 ( 22%)
Tests passed:   77 ( 78%)
=
Skipped 0 extensions.

V:\php-4.0.5RC8>

)

- Matt

>>> Wez Furlong <[EMAIL PROTECTED]> 05/02/01 12:02PM >>>
On 2001-05-02 15:43:57, "Andi Gutmans" <[EMAIL PROTECTED]> wrote:
> At 03:38 PM 5/2/2001 +0100, Wez Furlong wrote:
> >Seriously though, win32 is particular hard to do automated testing.
> >Maybe we could use cygwin for running the test-suite under win32 and
at
> >least be able to use standard *nix tools?

> The nature of PHP on Windows is that it's really best to compile it
with
> Visual C++. It uses native threading support and ISAPI support.
> I don't think it's a good or feasible idea to move to cygwin.

I agree about the compiling part, but cygwin isn't just a compiler - you
get bash, sed, perl, awk and all those unix tools.  I'm suggesting that
perhaps the test suite could be run using those tools on a win32
platform.

--Wez.



-- 
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 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: [PHP-QA] RC8

2001-04-26 Thread Matt White

Liz;

http://myrile.madriver.k12.oh.us/technology/php/php-4.0.5RC8-win32-ts.zip

Contains ISAPI, CGI, and Apache/Win32 builds. The only extension I've included is the 
MS-SQL one.

- Matt

>>> Liz <[EMAIL PROTECTED]> 04/26/01 12:32PM >>>
If someone can compile up a windows set, and mail me the base DLLs+EXE and the
MS-SQL-DLL one, I'd be eternally grateful, as it took me about 3 hours to
compile it over citrix and then SMS to a machine with the stuff to do so.

I'd like the CGI + ISAPI version with MS-SQL, its for IIS, but I dont use any
other extensions at the moment.. I'll then trash it a bit..

Thanks

Liz


-- 
PHP Quality Assurance 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 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]




Re: [PHP-DEV] Compiling PHP as a NLM

2001-04-25 Thread Matt White

Davin;

I've been wanting to do this for a while (compile PHP as an Apache/NetWare module). If 
you need help, please let me know. I don't have a NetWare compiler, but I've been 
needing a reason to get one.

The flags that are being passed into GCC control the way it compiles (In order... All 
warnings, optimize to level two, include debug symbols, use /usr/nwsdk/include as a 
include path, don't use the standard includes, don't use the built-in functions, and 
pack structs).

If you're not using GCC (or are you?), you'll need to set those flags in your compiler.

- Matt

>>> Davin Thompson <[EMAIL PROTECTED]> 04/25/01 01:01PM >>>
I am currently attempting to compile PHP as an NLM. Unfortunately,my programming 
skills fall short of the task, but I am wading my way throughit. What I am currently 
stuck on is where in the php4 configure script(if this is the right place to do it at) 
should I add the following tohave it passed to gcc as it compiles it?
CFLAGS = -Wall -O2 -g -I/usr/nwsdk/include/ -nostdinc -fno-builtin -fpack-struct

Im not sure what other problems I may run into down the road, but Ihave made it this 
far at least.. Any help anyone could providewould be immensely appreciated
Thanks,
Davin Thompson
[EMAIL PROTECTED] PHP Development Mailing List To unsubscribe, e-mail: 
[EMAIL PROTECTED] additional commands, e-mail: 
[EMAIL PROTECTED] contact the list administrators, e-mail: 
[EMAIL PROTECTED]


--
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]




Re: [PHP-DEV] 4.0.5 RC7 and TRANS_SID under Win32

2001-04-24 Thread Matt White

Andi;

I'm not quite sure.

I've started digging into this some now... It appears that something somewhere is 
caching files when it really shouldn't be. I disabled cookie support for session 
tracking, but PHP insists on using a cookie and issuing me the same session ID every 
time.

I've restarted the Apache service several times since making the change to PHP.INI 
this morning, and it's still doing it.

I'm going to dig futher into it, the problem may be in a different part of the system 
than I first suspected...

And yes, it's worked great in the past.  The TRANS_SID feature is one that has a 
habbit of breaking... Here's a snippet of code from my login functions:

// Interesting problem. I'm not sure if the problem is in PHP, or my code. PHP
// does not assign a PSID to the page at this point, so I can't simply re-direct
// the user into the main menu (like I do with the helpdesk). Instead, it seems
// happy modifying URLs, so this "Session Established" page isn't just for looks -
// it does something functional. Hopefully this will be fixed in a newer iteration
// of PHP 4.

// It was fixed in PHP 4.0.1.
// And then broken in PHP 4.0.1pl1.
// And then fixed again in PHP 4.0.1pl2.
// And now it's broken again in 4.0.2, but there is a workaround that works.
//  Arugh.

// I submitted a bug report after tracking down what was happening in the code after 
4.0.2.
// Now hopefully it's fixed for good in 4.0.3.

Heh.

I'll let you know.

- Matt

>>> Andi Gutmans <[EMAIL PROTECTED]> 04/24/01 11:20AM >>>
Did this work in the past? If so, any idea when it stopped working?

Andi

At 10:13 AM 4/24/2001 -0400, Matt White wrote:
>Hello...
>
>I'm banging around on PHP 4.0.5 RC7 Win32 (Apache module), and I'm having 
>great difficultly getting the TRANS_SID feature to work. I have one web 
>application which depends heavily on it, and it's unusable under 4.0.5RC7.
>
>Has anyone else been experiencing this difficultly?
>
>- Matt
>
>
>--
>PHP Development Mailing List <http://www.php.net/>
>To unsubscribe, e-mail: [EMAIL PROTECTED] 
>For additional commands, e-mail: [EMAIL PROTECTED] 
>To contact the list administrators, e-mail: [EMAIL PROTECTED] 


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED] 
To contact the list administrators, e-mail: [EMAIL PROTECTED] 



--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] 4.0.5 RC7 and TRANS_SID under Win32

2001-04-24 Thread Matt White

Hello...

I'm banging around on PHP 4.0.5 RC7 Win32 (Apache module), and I'm having great 
difficultly getting the TRANS_SID feature to work. I have one web application which 
depends heavily on it, and it's unusable under 4.0.5RC7.

Has anyone else been experiencing this difficultly?

- Matt


--
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: [PHP-QA] RC7 is out

2001-04-19 Thread Matt White

Zeev;

Compiled on Win32 as an Apache module just fine.

One tiny problem... main\php_version.h still says it's version RC6. It took me a 
minute to realize that I hadn't made a mistake and copied files from the wrong 
directory... =)


PHP Version 4.0.5RC7 

System Windows NT 5.0 build 2195 
Build Date Apr 19 2001 
Server API Apache 


I will bang on it tomorrow to see if it breaks.

- Matt


>>> Zeev Suraski <[EMAIL PROTECTED]> 04/19/01 10:02PM >>>

I rolled RC7 - if there are no surprises (there'd better not be! :), it
can finally go out early next week.

Zeev

-- 
Zeev Suraski <[EMAIL PROTECTED]>
http://www.zend.com/ 


-- 
PHP Quality Assurance 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 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]




Re: [PHP-DEV] PHP 4.0.5RC3

2001-03-28 Thread Matt White

Zeev;

I may be jumping the gun here, but I found 4.0.5 RC4 on the CVSweb server and grabbed 
it.

It built just fine. Looks like it's fixed.


PHP Version 4.0.5RC4 

System Windows NT 5.0 build 2195 
Build Date Mar 28 2001 
Server API ISAPI 


- Matt

>>> Zeev Suraski <[EMAIL PROTECTED]> 03/28/01 18:32 PM >>>
Should be fixed...

At 22:02 28/3/2001, Matt White wrote:
>Okay, so I have a little bit of time.
>
>The error was introduced between versions 1.315.2.1 and 1.315.2.2.
>
>If I comment out the line in question it builds (with crypt() support!) 
>and runs as ISAPI:
>
>PHP Version 4.0.5RC3
>
>System Windows NT 5.0 build 2195
>Build Date Mar 28 2001
>Server API ISAPI
>
>
>I'll bang on it more this evening and see if it breaks.
>
>- Matt
>
> >>> "Matt White" <[EMAIL PROTECTED]> 03/28/01 02:53PM >>>
>Bad news...
>
>Compile failure on Win32.
>
>Configuration: php4dllts - Win32 
>Release_TS_inline
>Compiling...
>.
>.
>.
>basic_functions.c
>V:\php-4.0.5RC3\ext\standard\basic_functions.c(2489) : error C2065: 
>'core_globals' : undeclared identifier
>V:\php-4.0.5RC3\ext\standard\basic_functions.c(2489) : error C2223: left 
>of '->safe_mode' must point to struct/union
>bcmath.c
>.
>.
>.
>Error executing cl.exe.
>
>php4isapi.dll - 2 error(s), 32 warning(s)
>
>
>I don't have time right now to dig into it, but I'll look later.
>
>- Matt
>
>
> >>> Zeev Suraski <[EMAIL PROTECTED]> 03/28/01 10:01AM >>>
>RC3 is out - http://www.php.net/distributions/php-4.0.5RC3.tar.gz
>
>Zeev
>
>
>--
>Zeev Suraski <[EMAIL PROTECTED]>
>CTO &  co-founder, Zend Technologies Ltd. http://www.zend.com/
>
>
>--
>PHP Development Mailing List <http://ww.php.net/>
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>
>
>--
>PHP Development Mailing List <http://www.php.net/>
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>
>
>--
>PHP Development Mailing List <http://www.php.net/>
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]

--
Zeev Suraski <[EMAIL PROTECTED]>
CTO &  co-founder, Zend Technologies Ltd. http://www.zend.com/



--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] PHP 4.0.5RC3

2001-03-28 Thread Matt White

Okay, so I have a little bit of time.

The error was introduced between versions 1.315.2.1 and 1.315.2.2.

If I comment out the line in question it builds (with crypt() support!) and runs as 
ISAPI:

PHP Version 4.0.5RC3 

System Windows NT 5.0 build 2195 
Build Date Mar 28 2001 
Server API ISAPI 


I'll bang on it more this evening and see if it breaks.

- Matt

>>> "Matt White" <[EMAIL PROTECTED]> 03/28/01 02:53PM >>>
Bad news...

Compile failure on Win32.

Configuration: php4dllts - Win32 
Release_TS_inline
Compiling...
.
.
.
basic_functions.c
V:\php-4.0.5RC3\ext\standard\basic_functions.c(2489) : error C2065: 'core_globals' : 
undeclared identifier
V:\php-4.0.5RC3\ext\standard\basic_functions.c(2489) : error C2223: left of 
'->safe_mode' must point to struct/union
bcmath.c
.
.
.
Error executing cl.exe.

php4isapi.dll - 2 error(s), 32 warning(s)


I don't have time right now to dig into it, but I'll look later.

- Matt


>>> Zeev Suraski <[EMAIL PROTECTED]> 03/28/01 10:01AM >>>
RC3 is out - http://www.php.net/distributions/php-4.0.5RC3.tar.gz 

Zeev


--
Zeev Suraski <[EMAIL PROTECTED]>
CTO &  co-founder, Zend Technologies Ltd. http://www.zend.com/ 


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED] 
To contact the list administrators, e-mail: [EMAIL PROTECTED] 



--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED] 



--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] PHP 4.0.5RC3

2001-03-28 Thread Matt White

Bad news...

Compile failure on Win32.

Configuration: php4dllts - Win32 
Release_TS_inline
Compiling...
.
.
.
basic_functions.c
V:\php-4.0.5RC3\ext\standard\basic_functions.c(2489) : error C2065: 'core_globals' : 
undeclared identifier
V:\php-4.0.5RC3\ext\standard\basic_functions.c(2489) : error C2223: left of 
'->safe_mode' must point to struct/union
bcmath.c
.
.
.
Error executing cl.exe.

php4isapi.dll - 2 error(s), 32 warning(s)


I don't have time right now to dig into it, but I'll look later.

- Matt


>>> Zeev Suraski <[EMAIL PROTECTED]> 03/28/01 10:01AM >>>
RC3 is out - http://www.php.net/distributions/php-4.0.5RC3.tar.gz 

Zeev


--
Zeev Suraski <[EMAIL PROTECTED]>
CTO &  co-founder, Zend Technologies Ltd. http://www.zend.com/ 


-- 
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 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]




RE: [PHP-DEV] 4.0.5 RC2 Win32 Binaries?

2001-03-23 Thread Matt White

Daniel;

No, I suppose not for the RC.  For the final release, yes. =)

- Matt


>>> Daniel Beulshausen <[EMAIL PROTECTED]> 03/23/01 03:12PM >>>
At 19:30 03.04.2001 +0100, James Moore wrote:

> > Any chance in getting the Win32 4.0.5 RC2 binaries built? The
> > 4.0.5 RC1 binaries did not include crypt() support, so I could
> > not fully test them on our test server.
>
>Ill pop a build up later although I dont know if I can get crypt support in
>there.. Ill try

is crypt that crucial? it has to be patched in, see 
http://www.php4win.de/article.php3 
most php.net win32 releases support it, so you can expect that 4.0.5 will 
come with it too...

daniel

/*--
daniel beulshausen - [EMAIL PROTECTED] 
using php on windows? http://www.php4win.de 



--
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] 4.0.5 RC2 Win32 Binaries?

2001-03-23 Thread Matt White

Hello!

Any chance in getting the Win32 4.0.5 RC2 binaries built? The 4.0.5 RC1 binaries did 
not include crypt() support, so I could not fully test them on our test server.

Thanks.

- Matt


--
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]