I have been researching how to install PHP4 on the
RAQ3. I have installed the RPMS from the cobalt site. I ran
phpinfo() and it told me the following about the build:
Configure command: ./configure
'--prefix=/usr' '--with-apxs=/usr/sbin/apxs'
'--with-config-file-path=/etc/httpd/conf' '--enable-safe-mode'
'--with-exec-dir=/usr/bin' '--with-system-regex' '--disable-debug' '--with-zlib'
'--with-gdbm' '--with-db2' '--enable-debugger' '--enable-magic-quotes'
'--enable-track-vars' '--enable-sysvsem' '--enable-sysvshm'
'--enable-track-vars' '--with-ftp'
php3.ini file path is set to: /etc/httpd/conf This became useful because it told me where the
'apxs' is located. I got the following message from Rasmus of
PHP:
# That's
the purpose of the --with-apxs build option. As #long as
your
#installed Apache has the mod_so.c module included, you # can do this. Check
#with a 'httpd -l' This is all in the INSTALL file, by the way. -Rasmus On Sat, 24 Jun 2000, Brett C. wrote: > Is there a way to do the same kind of configure described below to add a php module into an existing apache build? I want to add php as a module on a cobalt raq3, but the apache httpd file on the raq3 contains some info pertaining to the machine that my linux redhat at home does not. So I am weary of recompiling apache. Any suggestions? > ----- Original Message ----- > From: Rasmus Lerdorf > To: Boaz Yahav > Cc: PHP General (E-mail) > Sent: Friday, June 23, 2000 12:57 PM > Subject: Re: [PHP-GENERAL] Compiling > > > > I often see people get to a situation where they are missing a module and > > have to recompile PHP. > > Well, doing something like: > > ./configure --with-mysql=shared > make > > does actually work. It creates modules/mysql.so (along with a standalone > PHP binary, but you can ignore that) > > This mysql.so can be loaded into PHP using dl() or via the extension > directive in the php.ini file, so you don't actually have to recompile PHP > to add a module. This is true for both the static and the DSO version of > PHP. > > > Is there a reason not to compile it all always? I mean, simply compile all > > of the options like > > LDAP, PDF,FTP, GD, ODBC etc... and the rest of the things most of us use or > > maybe will use > > sometime. > > The reason being that most of these things require third-party library > support and trying to compile it all will be difficult since we would have > to go hunting all over the file system looking for the needed stuff and > most of it won't be available. > > -Rasmus I have at this time not tried to install php
like this so if anyone has success let me know. I will be trying as soon
as time permits.
Brett
----- Original Message -----
|