php-windows Digest 5 Jan 2004 03:34:21 -0000 Issue 2067
Topics (messages 22468 through 22471):
Re: GD2 function issue
22468 by: choinet
22469 by: Frank M. Kromann
Re: weird random parse errors on PHP 4.1.x / Win2k
22470 by: Jochen Boedeker
Problem with Notices
22471 by: Madeleine D.
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
Did I just not mention which libraries to include?
Once again, the GD library requires the FreeType,
libpng, zlib, and libjpeg libraries. Anyway, no,
Visual C++ 6.0 does not complain about missing and
unresolved external references to libraries and header
files.
I have successfully compiled the php/cli php/apache 2
sapi module already. I do not need an explanation on
how to compile, just to re-clarify any confusion
concerning the "compiler documentation" issue. Perhaps
you would specifically outline in what manner I should
go about compiling this dll (hint: it helps to try
compiling it yourself)?
--- "Svensson, B.A.T. (HKG)" <[EMAIL PROTECTED]>
wrote:
> Is your problem that you don't know which libraries
> to include, or is it that the linker complains about
> unresolved external references?
>
>
> -----Original Message-----
> From: choinet
> To: [EMAIL PROTECTED]
> Sent: 2004-01-04 05:41
> Subject: RE: [PHP-WIN] Re: GD2 function issue
>
> .NET 2003 soon. I realize that the GDlib requires
> the
> FreeType, libjpeg, and libpng libraries (libpng
> itself
> requires zlib). After having tried this, the dll is
> missing about 40KB of data and is missing many, if
> not
> all, references to zlib when decompiled. I used the
> latest versions of the libraries at
> gnuwin32.sourceforge.net. I suspect that the
> zlib.lib
> file in the win32build folder needs to be of the
> same
> version as the zlib package, but it's only a guess.
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
__________________________________
Do you Yahoo!?
Find out what made the Top Yahoo! Searches of 2003
http://search.yahoo.com/top2003
--- End Message ---
--- Begin Message ---
Hi choinet,
I did send you this information a few day ago! If you follow these
instructions it will work.
When you compile freetype2.lib (with the project and workspace files
included with the sources) you will get a library called freetype214MT.lib
or freetype214MT_D.lib (if I remember correct) Youi need to rename library
you want to link with to freetype2.lib and put it in a directory know to
the linker.
The fact that you are getting a dll with an other size than the dll
included in the distribution does not matter, as long as your dll works
(can be loaded by PHP and the functions exists).
There is no need to change any compiler options when compiling php_gd2.dll
as long as you have access to all headers and libs.
- Frank
> Did I just not mention which libraries to include?
> Once again, the GD library requires the FreeType,
> libpng, zlib, and libjpeg libraries. Anyway, no,
> Visual C++ 6.0 does not complain about missing and
> unresolved external references to libraries and header
> files.
>
> I have successfully compiled the php/cli php/apache 2
> sapi module already. I do not need an explanation on
> how to compile, just to re-clarify any confusion
> concerning the "compiler documentation" issue. Perhaps
> you would specifically outline in what manner I should
> go about compiling this dll (hint: it helps to try
> compiling it yourself)?
>
>
> --- "Svensson, B.A.T. (HKG)" <[EMAIL PROTECTED]>
> wrote:
> > Is your problem that you don't know which libraries
> > to include, or is it that the linker complains about
> > unresolved external references?
> >
> >
> > -----Original Message-----
> > From: choinet
> > To: [EMAIL PROTECTED]
> > Sent: 2004-01-04 05:41
> > Subject: RE: [PHP-WIN] Re: GD2 function issue
> >
> > .NET 2003 soon. I realize that the GDlib requires
> > the
> > FreeType, libjpeg, and libpng libraries (libpng
> > itself
> > requires zlib). After having tried this, the dll is
> > missing about 40KB of data and is missing many, if
> > not
> > all, references to zlib when decompiled. I used the
> > latest versions of the libraries at
> > gnuwin32.sourceforge.net. I suspect that the
> > zlib.lib
> > file in the win32build folder needs to be of the
> > same
> > version as the zlib package, but it's only a guess.
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>
>
> __________________________________
> Do you Yahoo!?
> Find out what made the Top Yahoo! Searches of 2003
> http://search.yahoo.com/top2003
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--- End Message ---
--- Begin Message ---
"Francesco Marsan" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
> Hi Geoff, I've seen your message on the PHP/Windows list, and I'm writing
> because I get the **exact** same problem on my box:
>
> HP Proliant dual Xeon 2,8Mhz - 1GB RAM
> PHP 4.2.2
> Apache 1.3.22
>
> On myne it happens even if just one user is accessing the pages. On
another
> server -- it is a little bit older dual Pentium 1.1GHZ -- but with exactly
> the same software, the problem does not appear.
>
> Have you any clue to give me? Did you solve your problem?
>
> Thanks
> Francesco
I have a very similar box (dual xeon 2.8 / 2gb) - I am facing major speed
problems there.
I've used some simple benchmark scripts from
http://www.sebastian-bergmann.de/PHP_Benchmark and
all tests run fine with the exception of test no. 05 (Array Index Access)
which gives terrible results.
I used different versions of PHP (all with the same php.ini) and found, that
this "bug" was introduced in v4.1.0.
But installing 4.0.6 or going to uniprocessor is not an option...
Has anyone encountered such a behaviour on a similar box ?
Thanks
Jochen
--- End Message ---
--- Begin Message ---
I have the following error writes set in my php.ini file:
error_reporting = E_ALL & ~E_NOTICE
For a long time, that worked just fine - giving us only errors/warnings
that we needed to see. Now, all of a sudden, we are getting notices
written to the error file. It's a problem because there are a number of
valid ones, and they get in the way of trying to track down genuine errors.
I've tried creating a new php.ini file; I've even copied a new php
directory over from a working machine.
No luck. Any clue as to how we can ditch these notices?
thanks
Madeleine D.
--- End Message ---