Re: PHP 4 on RedHat 7

From: Date: Wed, 14 Feb 2001 02:12:26 +0000
Subject: Re: PHP 4 on RedHat 7
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-39560@lists.php.net to get a copy of this message
Mike - You're not 100% specfic (or I'm not 100% clear) on what you've tried to do to fix this but here's a basic recipie which should work for you. (it has for me.) 1) Get the current php src.rpm file from the Red Hat 7 errata and install it. 2) cd /usr/src/redhat/SPEC/ and edit the php.spec file. Fine the configure section and ensure that the proper --with option is enabled for PDF support. You may also want to rev the minor version of the RPM so you know it's yours vs the default Red Hat version. 3) Save the file and then run rpm -ba php.spec and sit back. When done you'll have several packages in /usr/src/redhat/RPMS/i386 waiting for you to install. You may find that after you do a rpm -ba php.spec that the build fails because several devel packages are not installed (ie openssl-devel, openldap-devel, etc). Make sure you have them installed before building. Good luck. -- Scott On Tue, Feb 13, 2001 at 07:47:03PM -0600, Mike Tuller wrote: > I'm at a loss for this one. I can't seem to get PHP 4 on RedHat 7. I can get > the rpm to install and work, but if I try to configure myself, it never > works. Everything says to configure with apxs, but there is no apxs. What is > strange though is if I look at how the rpm configures PHP, it configures it > with apxs and it works! > > I want to configure PHP with PDF support, so I can't just use the rpms. If > anyone has any suggestions, let me know. That is other that trying to > configure apache manually. I've been down that road before, and don't want > to do it again. > > Mike > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#39560) next »