Re: Issues with upgrade to PHP 4.4.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



No one has any thoughts or advice on this?

Chris

On May 12, 2006, at 3:31 PM, Chris Bruce wrote:

I have a dedicated server and my host just did an upgrade of PHP to 4.4.1. This has caused a couple of major errors and I wanted to share them to see if anyone has any answers or has experienced similar problems.

1. imap functions are not working correctly. Specifically calling it thus:

imap_open({domain.ca:110/pop3},"mailbox","password") gives the following error:

Certificate failure for domain.ca: self signed certificate: /C=--/ ST=SomeState/L=SomeCity/O=SomeOrganization/ OU=SomeOrganizationalUnit/CN=localhost.localdomain/ emailAddress=root@xxxxxxxxxxxxxxxxxxxxx

if I add "notls" after pop3 "domain.ca:110/pop3/notls", imap_open works, but the script fails on the subsequent call to imap_fetchstructure.

This was working flawlessly prior to the upgrade to 4.4.1. Here is the configure command: './configure' '--prefix=/usr/local' '--with-config-file-path=/etc' '--with-mysql=/usr/local/mysql' '--enable-ftp' '--enable-bcmath' '-- disable-debug' '--with-gd' '--with-jpeg-dir=/usr' '--with-png-dir=/ usr/local' '--with-ttf' '--with-freetype-dir=/usr/local/freetype2' '--with-zlib' '--with-zlib-dir=/usr' '--with-imap=/usr' '--with- imap-ssl' '--with-kerberos' '--with-apache=../apache_1.3.34' '-- enable-bcmath' '--with-curl=/usr' '--with-pear' '--enable-ftp' '-- enable-calendar' '--enable-memory-limit' '--enable-magic-quotes' '-- enable-wddx' '--with-mhash=/ usr/local/mhash' '--with-openssl-dir=/ usr/local/ssl' '--with-openssl=/usr/local/ssl' '--enable-mbstring' '--with-mcrypt=/usr/local'

My concern here is the "with-imap-ssl". I don't want to use TLS, but as above, disabling it causes the script to die.

I have noticed that my host seems to have dropped the build in from another server as the build date is from October 2005.

Anyone have any ideas?

2. Using the setcookie() function, I am not able to set an expiry for the cookie to anything less than 3603 seconds. 3602 or less does not work. Is this a documented bug?

Thanks,

Chris

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux