php-install Digest 14 Jan 2002 19:04:53 -0000 Issue 649
Topics (messages 5558 through 5567):
Help Win2k/iis5 / PHP install for dummies
5558 by: Clint Roger
Strage zlib configure options in PHP 4.1.1
5559 by: Scott Bronson
5563 by: Yasuo Ohgaki
Re: Help! Apache doesn't recognize my php files!!!!
5560 by: EdwardSPL.ita.org.mo
PHP 4.1.1 w/ Apache 1.3.22 & Win2K not parsing... at all
5561 by: The Fabulous Lungf1sh
5562 by: The Fabulous Lungf1sh
5566 by: John Moeller
MySQL and mnoGoSearch "make" problem
5564 by: Roney Duílio Stein
Re: windows 2000 + PHP4.10 + gd1.8.4
5565 by: John Moeller
Silly little problem
5567 by: Dave Lurie
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 ---
I would like to have someone install it for me or tell me in plain english
how it is done...
Thanks
--- End Message ---
--- Begin Message ---
When I run PHP 4.1.1's ./configure script, I see this partway down:
--with-zlib-dir=<DIR> Define the location of zlib install directory
--with-zlib[=DIR] Include zlib support (requires zlib >= 1.0.9).
DIR is the zlib install directory.
That's a bug, right?
- Scott
--- End Message ---
--- Begin Message ---
Scott Bronson wrote:
> When I run PHP 4.1.1's ./configure script, I see this partway down:
>
> --with-zlib-dir=<DIR> Define the location of zlib install directory
> --with-zlib[=DIR] Include zlib support (requires zlib >= 1.0.9).
> DIR is the zlib install directory.
>
> That's a bug, right?
>
I don't think it's a bug.
Some extensions need zlib, but they don't need zlib module :)
--
Yasuo Ohgaki
--- End Message ---
--- Begin Message ---
Ignacio Sosa wrote:
>
> Hi.
>
> I have installed the PHP4 and I did the "make" and "make install" to Apache
> after the "configure --activate-module=src/modules/php4/libphp4.a", and it
> seems that all was right but when I try to see the php test page the apache
> server manage the file as a data file and ask for Opening or Saving to disk.
>
> I have uncommented the "AddType" lines for php4 in httpd.conf and restarted
> the server with "apachectl stop" and "apachectl start". I also configured
> properly the php.ini file.
>
> I don't know what is going wrong! Can anyone help me please?
>
> Thanks.
Hello,
What is the setting of your httpd.conf ?
Edward.
--- End Message ---
--- Begin Message ---
Okay, I just want to say that I've looked and looked, both on this message
board and on PHP.net, trying to find a way to get my own PHP to work. Alas,
I feel that I've tried it all.
Okay, here's the deal. I've installed Apache, and it works great. No
problems. It boots up, and if it could talk, it would say "Nothing pleases
me more than to fun correctly for you, master!" Yeah, okay, back to the
story.
I go ahead and download PHP 4.1.1 for Win32 platform. I try and do the
exact setup with the intstall.txt file, following everything exactly, triple
checking and trying again. This is for the CGI setup. So I make a test
page that looks like this:
<?
php_info();
?>
and I checked the syntax and was assured that it was right. I put this file
in the htdocs directory of my Apache folder, and tried opening it in the
browser. Rather than all the info I'd expect about PHP displaying, I insead
get:
<?
php_info();
?>
... this isn't right.
So I think "maybe it's just not supposed to be CGI on my machine." So I
reset everything, and start to do the module setup, following everything
exactly. Again, however, when running the exact same test, I get the same
un-parsed script just displayed back for my viewing pleasure.
Then I find that maybe I should add the LoadModule mod_php4.c line to my
httpd.conf file... and still not working. Hmmm...
Now, really, I wish that I didn't have to have a server on my computer to
test PHP. Really, I wish that it just magically worked, because I really
don't want to have to deal with servers, just code. However, I know this is
not the case, so I come to you kind people for advice.
I am running Service Pack 2 on my Win2K machine, if that makes any
difference... I just want to know how I can get my code to show.
Thanks so much,
--|Lungf1sh|--
--- End Message ---
--- Begin Message ---
I want to correct myself in that I did not insert a LoadModule command, but
an AddModule command. my code looked like this:
AddModule mod_php4.c
Just so that you know I did do as I was told.
--|Lungf1sh|--
--- End Message ---
--- Begin Message ---
You need to do both (I was similarly confused and frustrated).
John
"The Fabulous Lungf1sh" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I want to correct myself in that I did not insert a LoadModule command,
but
> an AddModule command. my code looked like this:
>
> AddModule mod_php4.c
>
> Just so that you know I did do as I was told.
>
> --|Lungf1sh|--
>
>
--- End Message ---
--- Begin Message ---
Hi,
I´m trying to build a 4.1.1 php with mysql 3.23 (this one obtained from
www.mysql.com in a rpm package) and the mnogosearch extension module. I´m
using the RedHat 7.1 linux distribution.
Here goes the configure line used:
./configure --with-apxs --with-ldap --with-imap --with-kerberos --with-imap-
ssl --with-mnogosearch=/usr/local/mnogosearch --with-mysql=/usr
When I do make it ends with messages like this one:
/usr/lib/mysql/libmysqlclient.a(dbug.o): In function `_db_unlock_file':
dbug.o(.text+0xaf4): multiple definition of `_db_unlock_file'
/usr/lib/mysql/libmysqlclient.a(dbug.o)(.text+0xaf4): first defined here
collect2: ld returned 1 exit status
make[1]: *** [libphp4.la] Error 1
When I try the mnogosearch without the mysql support, or the php without
mysql support the thing goes right.
Anyone here have any idea?!
Thank you all.
Roney Stein
[EMAIL PROTECTED]
--- End Message ---
--- Begin Message ---
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]
--- End Message ---
--- Begin Message ---
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?
--- End Message ---