Recomplie PHP from srpm on redhat 9
Ok... I haven't used rpm all that much, and I need to recompile PHP on my redhat 9 box with some option changes. The man pages are not giving me what I need and the info is either absent from the redhat site or buried under the weight of their removal of support.
First, where's a good place to get the latest PHP srpm's (oddly enough, I'm having trouble finding anything later than php 4.2.2)? Second, I need a very brief walkthrough on installation and configuration. How's it done? And, most importantly, what is the best way to edit the option flags for installation (I need to insert --enable-pcntl)? Do I install first and recompile using an edited .spec file or can I edit the specs on the front end? Help... |
If you're compiling from source you could do it using the tarball from the PHP website (http://us2.php.net/get/php-4.3.4.tar.gz/from/a/mirror). Go to the directory, and type 'tar xzf php-4.3.4.tar.gz'. This extracts all the files into a folder called php-4.3.4. Now, type these commands:
Code:
cd php-4.3.4 |
Quote:
I want to upgrade from PHP 4.2.2 to 4.3.3 with process control enabled on my redhat machine. I can't find the information I need anywhere. I have tried everything I can think of. Does anyone know the solution to this... My hair is about to be pulled from my head. Thanks in advance. |
You say it just makes a new instance of PHP. Are you sure you removed the old one?
|
All times are GMT -5. The time now is 09:43 PM. |