In RedHat 8.0, you can use RPM to remove the PHP
coming with it. Then download the PHP source,
configure ti with something like:
./configure --with-apxs2=/path/to/apxs
--prefix=/path/to/php
make 
make install

Then restart Apache. It will warn you that php module
has already been loaded and skip. Just ignore it or
you can remove the line "load_module ... php4" in
httpd.conf, everything will be OK.

Of course, you need to install httpd-devel package to
have apxs.



--- M A <[EMAIL PROTECTED]> wrote:
> 
> 
> hi,
> 
> well, i downloaded PHP 4.2 and i am using redhat
> 8.0.
> my question is how could i remove "uninstall" the
> php that came with the 
> redhat? and when i install php again where should i
> install it to "path"? 
> and would my httpd recognize it or do i have to
> change something in 
> httpd.conf?
> 
> Thanks
> 
>
_________________________________________________________________
> Help STOP SPAM: Try the new MSN 8 and get 2 months
> FREE* 
> http://join.msn.com/?page=features/junkmail
> 
> 
> -- 
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to