1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

PHP recompile nightmare 4.3.10 need more file descriptors

Discussion in 'Plesk for Linux - 8.x and Older' started by hanes, Mar 14, 2005.

  1. hanes

    hanes Guest

    0
     
    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
     
  2. Shazan

    Shazan Basic Pleskian

    23
    23%
    Joined:
    Apr 14, 2004
    Messages:
    37
    Likes Received:
    0
    I've the same problem.
    Did you fix it? How?
     
  3. jamesyeeoc

    jamesyeeoc Guest

    0
     
  4. Shazan

    Shazan Basic Pleskian

    23
    23%
    Joined:
    Apr 14, 2004
    Messages:
    37
    Likes Received:
    0
    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.
     
  5. jamesyeeoc

    jamesyeeoc Guest

    0
     
    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.
     
  6. Shazan

    Shazan Basic Pleskian

    23
    23%
    Joined:
    Apr 14, 2004
    Messages:
    37
    Likes Received:
    0
    Yes, it is compatible with RHEL3 and I've already installed that imap packages but they didn't solved the issue...
     
Loading...