• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Problem compiling PHP 5.4 with imap and kerberos

SauliusZ

Basic Pleskian
Got stuck when compiling PHP 5.4.28 on CentOS 6.4 64bit with Plesk 11.5

I`m using http://kb.parallels.com/en/114753 as example. The same configuration, just changed --enable-fastcgi to --enable-cgi and added --enable-zip.
The configuration command freezes at
Code:
checking for pam_start in -lpam... no
checking for crypt in -lcrypt... yes

Other errors in config.log:
Code:
conftest.c:9:28: error: ac_nonexistent.h: No such file or directory
conftest.c:306: error: too few arguments to function 'utf8_mime2text'

Last config.log lines:
Code:
configure:50586: checking for crypt in -lcrypt
configure:50620: result: yes
configure:51991: cc -o conftest -I/usr/include -g -O2 -fvisibility=hidden  -L/usr/lib64  conftest.c -lc-client   -lcrypt -lgmp -lpng -lz -ljpeg -lcurl -lbz2 -lz -lrt -lm -ldl -lnsl  -lxml2 -lz -lm -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -lcurl -lxml2 -lz -lm -lssl -lcrypto -lfreetype -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto >&5
configure:51991: $? = 0
configure:51991: ./conftest
configure:51991: $? = 0
configure:52055: cc -o conftest -I/usr/include -g -O2 -fvisibility=hidden  -L/usr/lib64  conftest.c -lc-client   -lcrypt -lgmp -lpng -lz -ljpeg -lcurl -lbz2 -lz -lrt -lm -ldl -lnsl  -lxml2 -lz -lm -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -lcurl -lxml2 -lz -lm -lssl -lcrypto -lfreetype -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto >&5
configure:52055: $? = 0
configure:52055: ./conftest

The configuration works if I remove --with-imap and --with-imap-ssl or --with-kerberos. If I put them together, configuration fails. So I think problem lies on imap with kerberos support.

When I remove --with-kerberos only I got an error:
Code:
configure:51191: error: This c-client library is built with Kerberos support.
    Add --with-kerberos to your configure line. Check config.log for details.
 
Thank you for your help, but it seams the problem was solved. There was a Plesk update and I`ve restarted the server. After that configuration worked without problems and I could manage to install the PHP.
 
> The configuration command freezes at

Thanks for the post I had to reboot my server because my compile also got stuck there.

I also changed `fastcgi` to `cgi`. I'm interested to know how the fastcgi switch differs from the cgi switch.
 
Back
Top