On 2002.06.07 14:39 daniel wrote: > at the moment, i've got working build of apache 1.3.24 on my redhat7.3 > box > compiled from source in /usr/local/. it serves up static html pages and > does the whold perl/cgi thing, but now i'm looking at teaching myself php > and that feature was not included in the original build. in fact, php > isn't > even on my system yet. > > so a google-search led me here: > www.blazonry.com/scripting/install_apache.php > but the instructions there are for for the "from scratch" point of view. > i > suppose it's not THAT big a deal... i mean, all i have to do is save my > httpd.conf and overwrite everything else right? but is this the only > option? > every time i want to add functionality to my webserver i have to blow it > away and replace it? i'm sure this can't be right. enlightenment would > be > appreciated.
That's what package managers are for, so you can throughly blow away and replace old stuff. The latest redhat apache rpms come with php. Try "rpm --rebuild <sourcerpm>" to get a working rpm for your system, or just install the binary rpm off the cd. You should be able to install the php sources and make the php libraries, then tell your apache config to load the runtime libraries. I dunno, but the php source probably wants to be installed in the apache build tree before it will link. This gets you a version of php libraries compiled for your apache version. But why? Karl <[EMAIL PROTECTED]> _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list