php-install Digest 15 Jan 2002 10:13:19 -0000 Issue 650
Topics (messages 5568 through 5573):
Some trouble...
5568 by: Joakim
5569 by: Rasmus Lerdorf
Re: windows 2000 + PHP4.10 + gd1.8.4
5570 by: Marios Karagiannopoulos
Re: Silly little problem
5571 by: Yasuo Ohgaki
5572 by: Yasuo Ohgaki
PHP 4.1.1 in Apache 1.3.22 won't start
5573 by: Russ Goodwin
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 ---
Hi! My name is Joakim, and I'm having some troubles
here:
The script I use has been double-checked by my friends
so it works. But it's just doing the "else-part"
Like: if ($name == true)
print "This man is named $name";
else
print "This man doesn't have a name";
All this work for my friends but not for me :( it just
types out "This man doesn't have a name"
Do you know whats wrong?? (I really hope so...)
Thanks!
_____________________________________________________
Do You Yahoo!?
www.yahoo.se
--- End Message ---
--- Begin Message ---
But is $name really set to true? You probably want:
if(!empty($name)) ...
-Rasmus
On Mon, 14 Jan 2002, [iso-8859-1] Joakim wrote:
> Hi! My name is Joakim, and I'm having some troubles
> here:
>
> The script I use has been double-checked by my friends
> so it works. But it's just doing the "else-part"
> Like: if ($name == true)
> print "This man is named $name";
> else
> print "This man doesn't have a name";
>
> All this work for my friends but not for me :( it just
> types out "This man doesn't have a name"
>
> Do you know whats wrong?? (I really hope so...)
>
> Thanks!
>
> _____________________________________________________
> Do You Yahoo!?
> www.yahoo.se
>
> --
> PHP Install 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]
>
--- End Message ---
--- Begin Message ---
Hi John. I think that the better solution to achieve the
Compilation is to compile under a gcc cross compiler, like gcc
For cygwin. So, go to cygwin.com and download the latest version
Including gcc compiler.
I hope I helped !
Marios
-----Original Message-----
From: John Moeller [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 14, 2002 7:15 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP-INST] windows 2000 + PHP4.10 + gd1.8.4
The problem is that the gd support included is only 1.6 (which doesn't
have
JPEG support). I am having this same problem, but I don't have Visual
C++
to compile a new php_gd.dll (and I would rather just have the binary,
rather
than have to compile it). Does anyone know how to get a php_gd.dll with
1.8.4?
"Jonathan Hilgeman" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> You should be able to download the PHP4.10 Windows binary with the GD
> extension already compiled in, from PHP's web site.... what else do
you
> need?
>
> - Jonathan
>
> -----Original Message-----
> From: Marc Maniscalco [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, December 20, 2001 1:16 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-INST] windows 2000 + PHP4.10 + gd1.8.4
>
>
> I am trying to use a PHP script called
> jpgraph(http://www.aditus.nu/jpgraph/index.php), but I need GD-1.8.4
> installed first. I have read through the documentation on the gd web
site
> (http://www.boutell.com/gd/), and I cannot figure it out. In windows
I do
> not have the slightest idea how to compile the code. I have Visual
C++
6.0,
> and I have tried to compile it, but it keeps asking for the zlib.h
header
> file. I do not know enough about the compiler to include new static
> libraries, or dlls. Is there anyway you guys could make a windows
binary
> for me to use or explain in plain english how to do it? I am
unfortunately
> not a very good windows programmer.
>
> Here is a list of the files I have donwloaded:
> GD-1.8.4
> PHP-4.10
> JPEG-6B
> ZLIB113
> LIBPNG1011
>
> I know I need the zlib, and libpng libraries inorder to compile gd.
In
the
> libpng they have a project already started, so I opened it and
compiled
the
> code. It created the .lib for libpng, and zlib. Now I think I need
the
> dlls? But I'm not sure, and if I do need them I don't have them. I
added
> the .lib to my library's directory in the ms directory. I try to
compile
> gd.c and it says it can't find zlib.h. I then copied zlib.h(and
zconf.h
it
> is included in zlib.h) into the include directory for ms. Then I get
the
> errors:
>
> gd.obj : error LNK2001: unresolved external symbol _gdCalloc
> gd.obj : error LNK2001: unresolved external symbol _gdMalloc
> gd.obj : error LNK2001: unresolved external symbol _gdFree
> gd.obj : error LNK2001: unresolved external symbol _gdSinT
> gd.obj : error LNK2001: unresolved external symbol _gdCosT
> gd.obj : error LNK2001: unresolved external symbol _gdRealloc
>
> I also get warnings about converting doubles to ints.
>
> I am lost at this point, any help would be appriciated. I also
figured
that
> someone would have create a binary for GD but I cannot find it. Why
doesn't
> PHP include support for gd? It would make life easier (for me hahaha).
>
> Thanks for any help,
> Marc Maniscalco
>
>
>
> --
> PHP Install 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 Install 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]
--- End Message ---
--- Begin Message ---
Dave Lurie wrote:
> It's quite weird actually... i got my website working on my pc with apache
> and php, but only i can view it using localhost.. the ip doesn't work for
> everyone els.e. what have i forgotten?
>
Check which IP httpd is listening.
There are many possibilities....
Good luck.
--
Yasuo Ohgaki
--- End Message ---
--- Begin Message ---
Dave Lurie wrote:
> It's quite weird actually... i got my website working on my pc with apache
> and php, but only i can view it using localhost.. the ip doesn't work for
> everyone els.e. what have i forgotten?
>
I forgot to mention major reason.
Check your firewall configuration if you are using.
I guess that's the cause ;)
--
Yasuo Ohgaki
--- End Message ---
--- Begin Message ---
Hi-
I think what I have is a file descriptor problem, but haven't been able to
find the solution. I have a server with Apache 1.3.22, MySQL 3.23.46, cURL
7.8, mod_ssl 2.8.5 and PHP 4.0.6/4.1.1 on RH Linux 6.2 kernel
2.2.18pre11-va2.0smp. I upgraded everything, with PHP last. It all worked
fine with 4.0.6 (and still does if I revert) but when I install 4.1.1,
apachectl asks for my secure server's key, exits normal, but then a ps shows
no httpd. I've only been able to fix this (under PHP 4.1.1) by commenting
out most of my Apache virtual server ErrorLog and CustomLog lines. This
leads me to believe that it's a file descriptor problem, and that 4.1.1 is
imposing some sort of limitation that 4.0.6 doesn't, or perhaps that 4.1.1
is hogging bunch of descriptors. I dunno tho, and can't find anything else
to back this up.
My 4.0.6 was configured as:
'./configure' '--with-mysql=/home/mysql'
'--with-apxs=/usr/local/apache/bin/apxs'
'--with-curl=/usr/local/lib/libcurl.so.1' '--with-openssl'
My 4.1.1 is configured as:
'./configure' '--with-mysql=/home/mysql'
'--with-apxs=/usr/local/apache/bin/apxs'
'--with-curl=/usr/local/lib/libcurl.so' '--with-openssl'
'--with-expat-dir=/usr/local'
All the 's are in there from phpinfo. I tried compiling with the built-in
expat, and the system expat, but I get the same problem. I also tried using
the old curl (so.1) and that had no effect.
I've tried looking at /proc/<psnum>/fd and saw 30+ entries (numbered up to
around 66) under PHP 4.0.6, and only 18 (numbered up to about 30) under
4.1.1. I haven't done anything to limit fd's on the system.
If you have any idea what is wrong, your help would be greatly appreciated!
-Russ
--- End Message ---