Re: recompiling php

From: Date: Mon, 19 Jan 2004 00:14:50 +0000
Subject: Re: recompiling php
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-174983@lists.php.net to get a copy of this message
On Sun, 2004-01-18 at 15:08, John wrote: > ive a problem with php and mysql, and was told to re-compile php. is this > easy?? i got a box with rhl 9 pre-loaded, with php and mysql installed, but > no apache. so i just downloaded the apache binary. php was installed with > rpm i think. to recompile, do ive to uninstall php firs t(u can guess im > used to windows) or will the new compile just overwrite everything. It will overwrite it if it's being installed to the same location. Find the PHP binary on your system: $ which php and run $ php -i | grep -i configure To see what options the currently running version was compiled with. If they are suitable for you stuff them into a text file: $ php -i | grep configure | tr -d "'" | tr -s " " "\n" | \ ? grep -e '^--' > php_config.txt Download and untar php then run configure. $./configure cat php_config.txt | tr -s "\n" " " -- Brian GnuPG -> KeyID: 0x04A4F0DC | URL: www.gfx-design.com/keys Key Server: pgp.mit.edu ====================================================================== gpg --keyserver pgp.mit.edu --recv-keys 04A4F0DC GnuPG: http://gnupg.org http://www.biglumber.com/x/web?qs=0x2C35011004A4F0DC Linux Registered User #339825 at http://counter.li.org

Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc
« previous php.general (#174983) next »