[ZendTo] Re: Progress bars - APC installation error

Jules Jules at Zend.To
Fri Feb 4 09:07:37 GMT 2011


I have updated the instructions on the website to include the php-ldap 
change. You just need to remove it as part of the "rpm -e" command and 
then replace it with php52-ldap in the long "yum install" command.

I will remove any instructions about this from the ChangeLog, so that it 
just points you to the page on the web site.

Jules.

On 03/02/2011 17:22, Duncan, Brian M. wrote:
> I tried using the instructions to update my test myzendto VM.
> Previously I had AD authentication working.
> After the final HTTP restart I get this when trying to authenticate on 
> the website now:
> *Fatal error*: Call to undefined function ldap_connect() in 
> */opt/zendto/lib/NSSADAuthenticator.php* on line *319*
> zendto-3.59-1is the rpm I am currently using.
> Any ideas to what might be happening?
> Thanks!
> [root at myzendto config]# rpm -qa | grep php
> php52-cli-5.2.17-1.ius.el5
> php52-soap-5.2.17-1.ius.el5
> php52-xmlrpc-5.2.17-1.ius.el5
> php52-devel-5.2.17-1.ius.el5
> php52-pdo-5.2.17-1.ius.el5
> php52-mcrypt-5.2.17-1.ius.el5
> php52-xml-5.2.17-1.ius.el5
> php52-pecl-memcache-2.2.6-1.ius.el5
> php-imap-5.1.6-27.jkf.
> php52-common-5.2.17-1.ius.el5
> php52-mysql-5.2.17-1.ius.el5
> php52-bcmath-5.2.17-1.ius.el5
> php52-pear-1.8.1-2.ius.el5
> php-ldap-5.1.6-27.jkf.
> php52-5.2.17-1.ius.el5
> php52-gd-5.2.17-1.ius.el5
> php52-mbstring-5.2.17-1.ius.el5
> php52-pecl-apc-3.1.6-2.ius.el5
>
> BRIAN M. DUNCAN
> Data Security Administrator
> Katten Muchin Rosenman LLP
> 525 W. Monroe Street / Chicago, IL 60661-3693
> p / (312) 577-8045 f / (312) 577-4490
> brian.duncan at kattenlaw.com / www.kattenlaw.com
>
>
> ------------------------------------------------------------------------
> *From:* zendto-bounces at zend.to [mailto:zendto-bounces at zend.to] *On 
> Behalf Of *Jules
> *Sent:* Thursday, February 03, 2011 8:37 AM
> *To:* Johan Roeloffse
> *Cc:* ZendTo Users
> *Subject:* [ZendTo] Re: Progress bars - APC installation error
>
> Great. I have written up all the instructions and have linked them 
> from the news item on the home page of www.zend.to. They are here:
> http://www.zend.to/progressbar.php
>
> Many thanks for testing it for me!
> Jules.
>
> On 03/02/2011 14:10, Johan Roeloffse wrote:
>>
>> Hi Jules
>>
>> I have followed these instructions and it looks like it is working.
>>
>> Regards,
>>
>> *From:*Jules [mailto:Jules at Zend.To]
>> *Sent:* 03 February 2011 02:09 PM
>> *To:* Johan Roeloffse
>> *Cc:* jules at Zend.To
>> *Subject:* Re: Progress bars - APC installation error
>>
>> I've come across a better guide to getting PHP 5.2 working on CentOS, 
>> and have successfully upgraded a clone of my VM image so that it 
>> displays the upload progress bar.
>>
>> Edit "/etc/yum.conf". In the "[main]" section, add this line
>> exclude=*.i386 *.i586 *.i686
>>
>> Then run this lot:
>> yum remove openssl.i686 glibc.i686
>> rpm -Uvh 
>> http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
>> rpm -Uvh 
>> http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm
>> rpm -Uvh 
>> http://dl.iuscommunity.org/pub/ius/stable/Redhat/5/i386/ius-release-1.0-6.ius.el5.noarch.rpm
>> rpm --nodeps -e php php-common php-mysql php-cli php-pdo
>> yum install php52-pear php52 php52-cli php52-common php52-devel 
>> php52-gd php52-mbstring php52-mcrypt php52-mysql php52-pdo php52-soap 
>> php52-xml php52-xmlrpc php52-bcmath php52-pecl-apc php52-pecl-memcache
>>
>> Edit "/etc/php.d/apc.ini" and add these 2 lines to the end:
>> apc.rfc1867 = on
>> apc.max_file_size = 50G
>>
>> Apply all the /etc/php.ini modifications as described here (your old 
>> php.ini file won't be there any more) :
>> http://www.zend.to/phpini.php
>>
>> Then
>> service httpd restart
>>
>> Now login and upload a file, and you should see the progress bar.
>>
>> If this works for you too, please let me know and I'll put it on the 
>> website or the mailing list.
>>
>> Cheers,
>> Jules.
>>
> -- 
> Julian Field MEng CITP CEng
> www.Zend.To
>
> Follow me at twitter.com/JulesFM
> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
>
> 'All programs have a desire to be useful' - Tron, 1982
> ===========================================================
> CIRCULAR 230 DISCLOSURE: Pursuant to Regulations Governing Practice Before the Internal Revenue
> Service, any tax advice contained herein is not intended or written to be used and cannot be used
> by a taxpayer for the purpose of avoiding tax penalties that may be imposed on the taxpayer.
> ===========================================================
> CONFIDENTIALITY NOTICE:
> This electronic mail message and any attached files contain information intended for the exclusive
> use of the individual or entity to whom it is addressed and may contain information that is
> proprietary, privileged, confidential and/or exempt from disclosure under applicable law.  If you
> are not the intended recipient, you are hereby notified that any viewing, copying, disclosure or
> distribution of this information may be subject to legal restriction or sanction.  Please notify
> the sender, by electronic mail or telephone, of any unintended recipients and delete the original
> message without making any copies.
> ===========================================================
> NOTIFICATION:  Katten Muchin Rosenman LLP is an Illinois limited liability partnership that has
> elected to be governed by the Illinois Uniform Partnership Act (1997).
> ===========================================================
>
>
> _______________________________________________
> ZendTo mailing list
> ZendTo at zend.to
> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto

Jules

-- 
Julian Field MEng CITP CEng
www.Zend.To

Follow me at twitter.com/JulesFM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654

'All programs have a desire to be useful' - Tron, 1982

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20110204/1d0d0407/attachment.html 


More information about the ZendTo mailing list