[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-security] Recompile PHP
- Subject: Re: [cobalt-security] Recompile PHP
- From: Gerald Waugh <gwaugh@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 6 Mar 2003 00:34:54 -0500
- Organization: Front Street Networks LLC
- List-id: Mailing list for users to address network security on Cobalt products. <cobalt-security.list.cobalt.com>
On Wednesday 05 March 2003 23:45, V Jordan wrote:
> I'm attempting to install PHPmanager on a raq4r.
> I now need to recompile php, I am finding it difficult to find the php
> directory.
> when I use whereis php I get:
> php: /usr/bin/php /usr/lib/php /usr/include/php
You need to get the gziped php source first.
untar it then dompile it.
> I believe I need to run the following commands;
>
> ./configure' '--prefix=/usr' '--with-apxs=/usr/sbin/apxs'
> '--enable-safe-mode' '--with-config-file-path=/etc/httpd'
> '--with-exec-dir=/usr/bin' '--with-zlib' '--enable-magic-quotes'
> '--with-regex=system' '--enable-track-vars' '--with-iconv' '--enable-xml'
> '--disable-debug' '--with-gd' '--enable-mbstring'
> '--enable-mbstr-enc-trans' '--with-interbase=shared' '--with-pgsql=shared'
> '--with-ldap' '--with-imap' '--with-mcrypt=/usr/local/lib'
Hou about --with-mysql
> make
>
> make install
+++++++++++++++++++++++++
cp php.ini-dist /etc/httpd/php.ini
+++++++++++++++++++++++++
>
> then restart system.
THEN restart httpd
/etc/rc.d/init.d/httpd restart
Gerald
--
http://frontstreetnetworks.com | http://store.raqware.com
Front Street Networks LLC | Phone: 203-785-0699
229 Front Street, Ste #C, New Haven, CT 06513-3203