Urgent Help needed to PHP Recompile. Please Help. Thanks.
Posted: Fri Jan 12, 2007 3:16 pm
Background
Plesk Info
rpm -qa | grep psa
psacct-6.3.2-27
psa-proftpd-xinetd-1.2.9-rhel3.build040206.00
frontpage-5.0-41psa.rhel3
psa-spamassassin-7.0.0-rhel3.build040206.00
perl-MLDBM-2.01-31psa
perl-Apache-ASP-2.49-31psa
psa-tomcat-configurator-7.0.0-rhel3.build040206.00
psa-proftpd-1.2.9-rhel3.build040206.00
psa-logrotate-3.6.6-11.rhel3
courier-imap-1.7.3-41psa.rhel3
psa-7.0.0-rhel3.build040206.00
psa-qmail-rblsmtpd-0.70-rhel3.build040206.00
perl-FreezeThaw-0.43-31psa
perl-MLDBM-Sync-0.30-31psa
perl-Font-AFM-1.18-31psa
psa-qmail-1.03-rhel3.build040206.00
psa-locale-base-en-7.0.0-rhel3.build040206.00
psa-courier-imap-add-7.0.0-rhel3.build040206.00
mod_webapp-4.1.29-11psa.rhel3
perl-HTML-Tree-3.16-31psa
perl-HTML-Format-1.23-31psa
MySQL Info
rpm -qa | grep -i mysql
MySQL-server-standard-5.0.27-0.rhel3
php-mysql-4.3.2-8.ent
MySQL-client-standard-5.0.27-0.rhel3
MySQL-devel-standard-5.0.27-0.rhel3
MySQL-shared-compat-5.0.27-0.rhel3
PHP info
rpm -qa |grep php
php-imap-4.3.2-8.ent
php-mysql-4.3.2-8.ent
php-4.3.2-8.ent
php-ldap-4.3.2-8.ent
What I did
- Upgraded MySQL 3.23 to MySQL 5
- Of course. Broke the Plesk big time
- Fixed all the broken stuff to get PHP 4.3.2-8.ent and MySQL 5.0 working
- Got phpMyAdmin installed and got it working
Broken Stuff (Wanted to get it to work)
- Email both Horde and SquirrelMail
Email log error
Cannot connect to database. Client does not support authentication protocol requested by server; consider upgrading MySQL client
I believe IMAP has problem but do not know how to fix it. please provide guidance.
Why needed to recompile php?
Because I want to add two more options to my configure command: --enable-xslt and --with-xslt-sablot
Sablot-1.0.3 in also installed without error from source
My current configure command
'./configure' '--host=i386-redhat-linux' '--build=i386-redhat-linux' '--target=i386-redhat-linux-gnu' '--program-prefix='
'--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share'
'--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var'
'--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--cache-file=../config.cache'
'--with-config-file-path=/etc' '--with-config-file-scan-dir=/etc/php.d' '--enable-force-cgi-redirect' '--disable-debug'
'--enable-pic' '--disable-rpath' '--enable-inline-optimization' '--with-bz2' '--with-db4=/usr' '--with-curl'
'--with-dom=/usr' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--with-gd'
'--enable-gd-native-ttf' '--with-ttf' '--with-gdbm' '--with-gettext' '--with-ncurses' '--with-gmp' '--with-iconv'
'--with-jpeg-dir=/usr' '--with-openssl' '--with-png' '--with-pspell' '--with-regex=system' '--with-xml'
'--with-expat-dir=/usr' '--with-pcre=/usr' '--with-zlib' '--with-layout=GNU' '--enable-bcmath' '--enable-exif'
'--enable-ftp' '--enable-magic-quotes' '--enable-safe-mode' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm'
'--enable-discard-path' '--enable-track-vars' '--enable-trans-sid' '--enable-yp' '--enable-wddx' '--enable-mbstring'
'--enable-mbstr-enc-trans' '--enable-mbregex' '--without-oci8' '--with-pear=/usr/share/pear' '--with-imap=shared'
'--with-imap-ssl' '--with-kerberos=/usr/kerberos' '--with-ldap=shared' '--with-mysql=shared,/usr' '--with-pgsql=shared'
'--with-unixODBC=shared' '--enable-memory-limit' '--enable-bcmath' '--enable-shmop' '--enable-versioning'
'--enable-calendar' '--enable-dbx' '--enable-dio' '--enable-mcal' '--with-apxs2filter=/usr/sbin/apxs'
Please kindly guide me on how to recompile current php 4.3.2-8.ent version with step by step instruction. Your help will be greatly appreciated.
I attempted to rpm -e php-4.3.2-8.ent but failed with many dependcies.
I also have downloaded PHP5.2-2006122901300 but so scare to update because I don't want to break things again.
So, for now, I am deciding to stay php-4.3.2-8.ent since all web sites are working without problems with MySQL5. But any experts input will be greatly appreciated.
Please kindly guide me to the right link or step by step approach to recompiling my current php.
Thank you.
Plesk Info
rpm -qa | grep psa
psacct-6.3.2-27
psa-proftpd-xinetd-1.2.9-rhel3.build040206.00
frontpage-5.0-41psa.rhel3
psa-spamassassin-7.0.0-rhel3.build040206.00
perl-MLDBM-2.01-31psa
perl-Apache-ASP-2.49-31psa
psa-tomcat-configurator-7.0.0-rhel3.build040206.00
psa-proftpd-1.2.9-rhel3.build040206.00
psa-logrotate-3.6.6-11.rhel3
courier-imap-1.7.3-41psa.rhel3
psa-7.0.0-rhel3.build040206.00
psa-qmail-rblsmtpd-0.70-rhel3.build040206.00
perl-FreezeThaw-0.43-31psa
perl-MLDBM-Sync-0.30-31psa
perl-Font-AFM-1.18-31psa
psa-qmail-1.03-rhel3.build040206.00
psa-locale-base-en-7.0.0-rhel3.build040206.00
psa-courier-imap-add-7.0.0-rhel3.build040206.00
mod_webapp-4.1.29-11psa.rhel3
perl-HTML-Tree-3.16-31psa
perl-HTML-Format-1.23-31psa
MySQL Info
rpm -qa | grep -i mysql
MySQL-server-standard-5.0.27-0.rhel3
php-mysql-4.3.2-8.ent
MySQL-client-standard-5.0.27-0.rhel3
MySQL-devel-standard-5.0.27-0.rhel3
MySQL-shared-compat-5.0.27-0.rhel3
PHP info
rpm -qa |grep php
php-imap-4.3.2-8.ent
php-mysql-4.3.2-8.ent
php-4.3.2-8.ent
php-ldap-4.3.2-8.ent
What I did
- Upgraded MySQL 3.23 to MySQL 5
- Of course. Broke the Plesk big time
- Fixed all the broken stuff to get PHP 4.3.2-8.ent and MySQL 5.0 working
- Got phpMyAdmin installed and got it working
Broken Stuff (Wanted to get it to work)
- Email both Horde and SquirrelMail
Email log error
Cannot connect to database. Client does not support authentication protocol requested by server; consider upgrading MySQL client
I believe IMAP has problem but do not know how to fix it. please provide guidance.
Why needed to recompile php?
Because I want to add two more options to my configure command: --enable-xslt and --with-xslt-sablot
Sablot-1.0.3 in also installed without error from source
My current configure command
'./configure' '--host=i386-redhat-linux' '--build=i386-redhat-linux' '--target=i386-redhat-linux-gnu' '--program-prefix='
'--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share'
'--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var'
'--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--cache-file=../config.cache'
'--with-config-file-path=/etc' '--with-config-file-scan-dir=/etc/php.d' '--enable-force-cgi-redirect' '--disable-debug'
'--enable-pic' '--disable-rpath' '--enable-inline-optimization' '--with-bz2' '--with-db4=/usr' '--with-curl'
'--with-dom=/usr' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--with-gd'
'--enable-gd-native-ttf' '--with-ttf' '--with-gdbm' '--with-gettext' '--with-ncurses' '--with-gmp' '--with-iconv'
'--with-jpeg-dir=/usr' '--with-openssl' '--with-png' '--with-pspell' '--with-regex=system' '--with-xml'
'--with-expat-dir=/usr' '--with-pcre=/usr' '--with-zlib' '--with-layout=GNU' '--enable-bcmath' '--enable-exif'
'--enable-ftp' '--enable-magic-quotes' '--enable-safe-mode' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm'
'--enable-discard-path' '--enable-track-vars' '--enable-trans-sid' '--enable-yp' '--enable-wddx' '--enable-mbstring'
'--enable-mbstr-enc-trans' '--enable-mbregex' '--without-oci8' '--with-pear=/usr/share/pear' '--with-imap=shared'
'--with-imap-ssl' '--with-kerberos=/usr/kerberos' '--with-ldap=shared' '--with-mysql=shared,/usr' '--with-pgsql=shared'
'--with-unixODBC=shared' '--enable-memory-limit' '--enable-bcmath' '--enable-shmop' '--enable-versioning'
'--enable-calendar' '--enable-dbx' '--enable-dio' '--enable-mcal' '--with-apxs2filter=/usr/sbin/apxs'
Please kindly guide me on how to recompile current php 4.3.2-8.ent version with step by step instruction. Your help will be greatly appreciated.
I attempted to rpm -e php-4.3.2-8.ent but failed with many dependcies.
I also have downloaded PHP5.2-2006122901300 but so scare to update because I don't want to break things again.
So, for now, I am deciding to stay php-4.3.2-8.ent since all web sites are working without problems with MySQL5. But any experts input will be greatly appreciated.
Please kindly guide me to the right link or step by step approach to recompiling my current php.
Thank you.