[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] RE: RaQ3 - Problems installing PHP4.0.6



-----Original Message-----
From: Charlie Summers [mailto:charlie@xxxxxxxxxx]
Sent: Tuesday, July 17, 2001 9:10 PM
To: Jonathan M. Slivko; cobalt-users@xxxxxxxxxxxxxxx
Cc: daver1@xxxxxxxxxxxxxxx
Subject: Re: RaQ3 - Problems installing PHP4.0.6


At 10:12 PM -0400 7/17/01, Jonathan M. Slivko is rumored to have typed:

> Yes, i'm pretty sure, I installed PHP from there myself. It's under the
> RaQ3 option. -- Jonathan

   No, I don't think so; I got MySQL from there, but there's no PHP pkg
available from there (and no PHP4 from anywhere). You're welcomed to give me
a direct link and prove me wrong, since it would be good information, but
there's been no PHP package since the "experimental" one from forever ago.

   I did install PHP 4.0.6 from source to my RaQ3 the other day, with no
major problems thanks to Jens Peter information from the archives:

http://list.cobalt.com/pipermail/cobalt-users/2001-July/047680.html

   From my posting last Sunday:

> one
> anomoly I found and corrected after a 'make install' was a path error in
> httpd.conf:
>
> #LoadModule php4_module        lib/apache/libphp4.so
> LoadModule php4_module        /usr/lib/apache/libphp4.so

   There was another posting this week from Möller regarding not using PHP's
built-in MySQL support that you should read as well, if you're installing
that. Also read the PHP README file, since there's darned good information
in
there (you should already _have_ mod_so, and the information in the README
will help you determine whether you do or now).

   Always a good idead to search the archives when you're looking to install
something; helps to know someone's been there before you, you know?

         Charlie


--------- reply --------
Thanks for the help. I did actually check the archives,
and tried quite a few of the suggestions given there.
This how I have determined that I have to re-compile
Apache with mod_so. I am not sure why it is not installed
already, nor is the mod_so anywhere on my system. When
I try and do the 'make install' it errors out and tells
me that apxs does not support the -s option, and that
the solution is to recompile Apache with mod_so
Here are the config options I have tried.

./configure --prefix=/usr --with-apxs=/usr/sbin/apxs --with-config-file-path
=/etc/httpd/conf --with-exec-
dir=/usr/sbin/httpd --with-system-regex --disable-debug --with-zlib --enable
-safe-mode --with-gdbm=/usr/lib/libgd.so --with-db2 --enable-magic-quotes --
enable-debugger --enable-track-vars --enable-sysvsem --with-ftp --with-imap 
--with-xml --with-gd=/usr/include/gd.h --with-ttf --with-readline --with-mys
ql --with-pgsql

when I tried that one, I got a config error. It could not find libgd.so

This next config worked, but then I could not 'make install'

./configure --prefix=/usr --with-apxs=/usr/sbin/apxs --with-config-file-path
=/etc/httpd/conf --with-exec-dir=/usr/sbin/httpd --with-system-regex --disab
le-debug --with-zlib --enable-safe-mode --with-db2 --enable-magic-quotes --e
nable-debugger --enable-track-vars --enable-sysvsem --with-ftp --with-imap -
-with-xml --with-readline --with-mysql --with-pgsql

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Regards, Dave Reid (Night Rider)
Never engage in a battle of wits unarmed!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~