php-install Digest 15 Jul 2001 11:11:59 -0000 Issue 363
Topics (messages 3553 through 3560):
Re: GD shared - libjpeg.so.62 missing?...
3553 by: Zak Greant
Configuration Error!
3554 by: Brian Clark
3555 by: Steve Brazill
Php-mysql-what os ?
3556 by: Paul
3557 by: James Tan
3559 by: Steve Brazill
Re: RPM Install #6 still doesn't work - x-post from PHP.GENERAL
3558 by: James Tan
www.oosha.com/phpdev/ - mailing list
3560 by: Brett Shaw
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]
----------------------------------------------------------------------
Hey Richard!
How do the permissions look for that library?
--zak
Richard wrote:
> Warning: Sleep-deprived post...
>
> Please Cc: me in replies...
>
> I know I'm not the most clueful guy, but...
>
> I'm trying to compile GD as a shared library, and failing miserably.
>
> Comfiguring/making without the "shared," part in
> "--with-gd=shared,/blah/blah/blah" works just fine, and the resulting
> CGI binary has GD support.
>
> Alas, when trying to add that "shared," bit in there, I always get a
> big ol' box at the end of configure ATTENTION... simple feature...
> check debug.log.
>
> So, I do, and there's this in it.
>
> [root@www php-4.0.4]# less debug.log
> CONFIGURE: './configure' '--with-mysql=/usr/local/mysql'
> '--with-pgsql=/usr/sr
> c/postgresql-6.5.2' '--enable-track-vars' '--enable-trans-sid'
> '--enable-ftp' '-
> -enable-gd-imgstrttf'
> '--with-gd=shared,/home/sites/home/users/admin/software/gd
> -1.8.4/' '--with-jpeg-dir=/usr/local'
> '--with-png-dir=/home/sites/home/users/adm
> in/software/libpng-1.0.12/'
> '--with-zlib-dir=shared,/home/sites/home/users/admin
> /software/zlib'
> CC: gcc
> CFLAGS: -g -O2
> CPPFLAGS:
> CXX:
> CXXFLAGS:
> INCLUDES: -I$(top_builddir)/Zend
> -I/home/sites/home/users/admin/software/gd
> -1.8.4/ -I/usr/local/mysql/include/mysql
>
LDFLAGS: -Wl,-rpath,/usr/local/mysql/lib/mysql -L/usr/local/mysql/lib/my
sql
> -Wl,-rpath,/usr/lib/pgsql -L/usr/lib/pgsql
> LIBS: -lpq -lmysqlclient -lpng -lz -lresolv -lm -ldl -lcrypt
> -lnsl -lreso
> lv -L/usr/local/lib -ljpeg
> DLIBS:
> SAPI: cgi
> PHP_RPATHS: /usr/local/mysql/lib/mysql /usr/lib/pgsql
> uname -a: Linux www.actbaby.com 2.2.14C5 #1 Mon May 8 10:14:32 PDT
> 2000 i586 u
> nknown
>
> gcc -o conftest -g -O2 -Wl,-rpath,/usr/local/mysql/lib/mysql
> -L/usr/local/mysq
> l/lib/mysql -Wl,-rpath,/usr/lib/pgsql -L/usr/lib/pgsql conftest.c
> -lpq -lmysqlcl
> ient -lpng -lz -lresolv -lm -ldl -lcrypt -lnsl -lresolv
> -L/usr/local/lib -ljpeg
> 1>&5
> ./conftest: error in loading shared libraries: libjpeg.so.62: cannot
> open shared
> object file: No such file or directory
> [root@www php-4.0.4]# whereis libjpeg.so.62
> libjpeg.so: /usr/local/lib/libjpeg.so.62 /usr/local/lib/libjpeg.so
> [root@www php-4.0.4]#
>
> So, other than /usr/local/lib/libjpeg.so.62 and in the jpeg-6b source
> tree, and inside lib in the jpeg-62 source tree and in the PHP-4.0.4
> directory, where *ELSE* could I place libjpeg.so.62 for configure to
> find it, and why can it find it okay in a static GD build, but not
> shared?
>
> I'm assuming other people have compiled GD dynamically with JPEG
> support, but I'm failing miserably.
>
> Cobalt RaQ, I compiled jpeg --enabled-shared, (though I think that's
> the default for libjpeg...) and have tried about 20 times to do this
> with variations on the various paths and suchlike...
>
> I got close at one point -- I had a gd.so, but attempting to dl() it
> complained about the same missing jpeg lib, and I couldn't dl that,
> cuz it's not a PHP .so, just a regular one, and throwing it in the
> web directory next to gd.so didn't help...
>
> I think the gd.so was actually not complaining about getimagefromjpeg
> not being defined, so it even had (I think) the JPEG functions in
> there... But maybe I'm dreaming that part.
>
> I'm trying to avoid making this one box of 7 have a different PHP
> module just to get GD support on there...
> --
> WARNING [EMAIL PROTECTED] email address is an endangered species
> Use [EMAIL PROTECTED] instead
>
> --
> 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]
>
OS: Red Hat 7.0
Apache: 1.3.12
MySql: 3.22.32
|
Is the 'configuration error' the fact that you're using a very old (and exploitable)
version of Apache ?
----- Original Message -----
From: Brian Clark
To: [EMAIL PROTECTED]
Sent: Saturday, July 14, 2001 6:36 PM
Subject: [PHP-INST] Configuration Error!
OS: Red Hat 7.0
Apache: 1.3.12
MySql: 3.22.32
Hi, I was wondering if any one has some recemendations on what Distro to use
with Php and Mysql ? Im currently thinking of using redhat 6.2 as ive
already got a stable DNS and sendmail server running on that.
Also what should i install first Apache, MySql or Php.(Im not all that
confident with linux yet, and im sick of M$ server crashing.)
The server will be a P3 700 , 256mb ram, Ide 20gig hdd-(possibly 2 using a
hardware raid card), Standard 10/100 NIC, cdrom , floppy.
hi paul,
y border using 6.2? 7.1 is out ;)
regards,
James
Paul wrote:
> Hi, I was wondering if any one has some recemendations on what Distro to use
> with Php and Mysql ? Im currently thinking of using redhat 6.2 as ive
> already got a stable DNS and sendmail server running on that.
>
> Also what should i install first Apache, MySql or Php.(Im not all that
> confident with linux yet, and im sick of M$ server crashing.)
>
> The server will be a P3 700 , 256mb ram, Ide 20gig hdd-(possibly 2 using a
> hardware raid card), Standard 10/100 NIC, cdrom , floppy.
As for the possibility of 'mirroring' 2 drives, why don't you use Linux's
"raidtools" to create 'software' mirrors (or stripes, or raid's) ??
It's very easy, and has worked for 20 of my systems for the past year or
so...
Email me if you need info on how to create the 'mirrored' partitions...
P.S. Make sure you put the 2nd drive on a different IDE controller
(separate IDE cable)...
----- Original Message -----
From: "Paul" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, July 14, 2001 8:25 PM
Subject: [PHP-INST] Php-mysql-what os ?
> Hi, I was wondering if any one has some recemendations on what Distro to
use
> with Php and Mysql ? Im currently thinking of using redhat 6.2 as ive
> already got a stable DNS and sendmail server running on that.
>
> Also what should i install first Apache, MySql or Php.(Im not all that
> confident with linux yet, and im sick of M$ server crashing.)
>
> The server will be a P3 700 , 256mb ram, Ide 20gig hdd-(possibly 2 using a
> hardware raid card), Standard 10/100 NIC, cdrom , floppy.
>
>
dear graylen fraley,
u can start mysqld by adding a shell file it to your startup folder in
/etc/rc.d/init.d/
and use setup / linuxconf to activate it for boot time...
did u install mysqld on another port??? by default, it's not on port 2002
I've installed php as a module, but it'll require u to install apache
--enable-modue=so
pls refer to INSTALL in the source distribution files of php for ways to
manipulate apache httpd.conf ...
hope it works
regards,
James
I
Gaylen Fraley wrote:
> Ok. I've been in this industry for 32 years. I've loved O/S2, hated windoz
> and been intrigued with *nix. So, I have a successful web site and server
> under windoz/php/mysql and I decide to venture into RedHat Linux because I
> have heard some great things about it.
>
> I get 7.0 and install it, virgin. Apache and PHP work, but I was never able
> to get MySQL working, except from a command line. So, after abut 17 hours
> of frustration, I get 7.1 . Apache is the only thing that works. I was
> able to get PHP working when I did an install from scratch (tarball). But,
> it seems as if the RPM should work. I still could not get MySQL working
> working. It consistently gives an error 2002 / socket problem.
>
> Right now I have a virgin Apache and PHP4 and MySwl install from the RPM
> (7.1) and php will not work. As far as I can tell, I have modified my
> httpd.config in all the right places. Please, could someone who has a
> working install from the 7.1 RPM package, please post their httpd.conf lines
> that pertain to getting php to work? Also, if their is a library that I
> need to move around, please advise that too.
>
> Thanks. The MySQL problem would be a nice caveat if someone knows how to
> fix that too :)
>
> Regards,
>
> --
> Gaylen
> [EMAIL PROTECTED]
Oosha.com's PhpDEV has got a mailing list if you would like to joing please
see below: -
To subscribe to the mailinglist, simply send a message with the word
'subscribe' in the Subject: field to the -request address of that list
To: [EMAIL PROTECTED]
Subject: subscribe
To subscribe to the digest, simply send a message with the word 'subscribe'
in the Subject: field to the following address.
To: [EMAIL PROTECTED]
Subject: subscribe
To send email to the mailinglist, write to the following address:
To: [EMAIL PROTECTED]
To unsubscribe from the mailinglist, simply send a message with the word
'unsubscribe' in the Subject: field to the -request address of that list
To: [EMAIL PROTECTED]
Subject: unsubscribe
To unsubscribe from the digest, write a email like this:
To: [EMAIL PROTECTED]
Subject: unsubscribe
[EMAIL PROTECTED]
[EMAIL PROTECTED]