On Fri, Jan 03, 2003, Terry Denovan wrote: > Been at this bastard all day. > > Trying to get PHP working with Apache on Redhat 7.3 > > Installed Apache and PHP to /software/apache and /software/php-4.3.0 > respectively
First, is there any reason why you are not using the Apache and PHP RPMs? Using them might simplify the process, as they'll take care of much of the configuration. If there isn't a reason that you aren't using them, you might want to give them a try. There should be some on your CD, or you can grab updates from mirror.aarnet.edu.au (replace the i386 in the URLs with i586 if you have a Pentium or better, or with your architecture if you aren't using an Intel/Athlon chip): Apache 1.3.27: http://mirror.aarnet.edu.au/pub/linux/redhat/redhat-7.1/en/updates/os/i386/apache-1.3.27-1.7.1.i386.rpm PHP 4.1.2: http://mirror.aarnet.edu.au/pub/linux/redhat/redhat-7.1/en/updates/os/i386/php-4.1.2-7.1.6.i386.rpm And if you want certain PHP options, like MySQL, PostgresSQL, IMAP or LDAP, there are RPMS for each of these in the http://mirror.aarnet.edu.au/pub/linux/redhat/redhat-7.1/en/updates/os/i386/ directory too. If they have any dependencies, you can grab them from that directory too. > Can't figure out what it is I have to add to httpd.conf to get apache > to recognize PHP as a module. Tried what is posted on php.net, and > didn't help one bit. Could really do with some help here if anyone has > the time to help me out. PHP.net says I need libphp4.so to be included > in the line: LoadModule php4.etc.etc. However, that file isn't even > existing on the filesystem. What were the PHP.net suggestions exactly? What were the results of trying them? Is Apache itself working? If it is, what is happening when you try and look at a PHP page? -Mary -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
