• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

PHP recompile nightmare 4.3.10 need more file descriptors

H

hanes

Guest
Hello,

Im trying to recompile php-4.3.10 with a greater FD_SETSIZE,

things are not working out.

First i tried the the atomic RPM (source) but it fails with


program: phpize
program: php-config
program: phpextdist
+ popd
/usr/src/redhat/BUILD/php-4.3.10
+ pushd build-apache
/usr/src/redhat/BUILD/php-4.3.10/build-apache /usr/src/redhat/BUILD/php-4.3.10
+ make install-sapi INSTALL_ROOT=/var/tmp/php-root
make: *** No rule to make target `install-sapi'. Stop.
error: Bad exit status from /var/tmp/rpm-tmp.90615 (%install)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.90615 (%install)


I did this on a machine with all possible rpm´s from the distro installed. ( redhat9 ) But i cant resolve it.

Then i recompiled the SSL and the imap-devel and tried the php-4.3.10 from source tarball

It compiles well, it works for php but not for webmail.

Still segfaults in /tmp/horde.log

Hope someone found a way round this.

Let me know

Thanks,

Hannes
 
No, I am running CentOS 3 and I've already installed the highFD version of Apache. Apache works perfectly but I receive segmentation faults logging into horde. It seems tha php-imap needs more file descriptors but I can't build it from the ART's sources.
 
I can't find any highfd versions of php-imap on his site, but he does have:

imap-2002d-10.highfd.rhel3.art.i386.rpm Apr 08 2005 12:21:31 1255kb
imap-devel-2002d-10.highfd.rhel3.art.i386.rpm Apr 08 2005 12:21:31 865kb
imap-utils-2002d-10.highfd.rhel3.art.i386.rpm Apr 08 2005 12:21:32 1113kb

(CentOS is compatible with RHEL3 or is my brain segfaulting again?)

http://www.atomicrocketturtle.com/atomic/art/3ES/RPMS/

I haven't messed any with the IMAP stuff at all (yet) so not sure if any of those files could be useful or not. Just that recompiling PHP can be such a pain.
 
Yes, it is compatible with RHEL3 and I've already installed that imap packages but they didn't solved the issue...
 
Back
Top