<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Great. I have written up all the instructions and have linked them
from the news item on the home page of <a class="moz-txt-link-abbreviated" href="http://www.zend.to">www.zend.to</a>. They are here:<br>
<a class="moz-txt-link-freetext" href="http://www.zend.to/progressbar.php">http://www.zend.to/progressbar.php</a><br>
<br>
Many thanks for testing it for me!<br>
Jules.<br>
<br>
On 03/02/2011 14:10, Johan Roeloffse wrote:
<blockquote
cite="mid:BE3552457187D84082959E0B15AA42A518675E78@exch01.condyn.net"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 12 (filtered
medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
tt
        {mso-style-priority:99;
        font-family:"Courier New";}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle21
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle22
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle23
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
-->
</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="Section1">
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Hi
Jules<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">I
have followed these
instructions and it looks like it is working.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<div>
<div style="border-right: medium none; border-width: 1pt
medium medium; border-style: solid none none; border-color:
rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color;
padding: 3pt 0cm 0cm;">
<p class="MsoNormal"><b><span style="font-size: 10pt;
font-family:
"Tahoma","sans-serif"; color:
windowtext;" lang="EN-US">From:</span></b><span
style="font-size: 10pt; font-family:
"Tahoma","sans-serif"; color:
windowtext;" lang="EN-US">
Jules [<a class="moz-txt-link-freetext" href="mailto:Jules@Zend.To">mailto:Jules@Zend.To</a>] <br>
<b>Sent:</b> 03 February 2011 02:09 PM<br>
<b>To:</b> Johan Roeloffse<br>
<b>Cc:</b> <a class="moz-txt-link-abbreviated" href="mailto:jules@Zend.To">jules@Zend.To</a><br>
<b>Subject:</b> Re: Progress bars - APC installation
error<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">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.<br>
<br>
Edit "/etc/yum.conf". In the "[main]" section, add this
line<br>
<tt><span style="font-size: 10pt;">exclude=*.i386 *.i586
*.i686</span></tt><br>
<br>
Then run this lot:<br>
<tt><span style="font-size: 10pt;">yum remove openssl.i686
glibc.i686</span></tt><span style="font-size: 10pt;
font-family: "Courier New";"><br>
<tt>rpm -Uvh <a moz-do-not-send="true"
href="http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm">http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm</a></tt><br>
<tt>rpm -Uvh <a moz-do-not-send="true"
href="http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm">http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm</a></tt><br>
<tt>rpm -Uvh <a moz-do-not-send="true"
href="http://dl.iuscommunity.org/pub/ius/stable/Redhat/5/i386/ius-release-1.0-6.ius.el5.noarch.rpm">http://dl.iuscommunity.org/pub/ius/stable/Redhat/5/i386/ius-release-1.0-6.ius.el5.noarch.rpm</a></tt><br>
<tt>rpm --nodeps -e php php-common php-mysql php-cli php-pdo</tt><br>
<tt>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</tt></span><br>
<br>
Edit "/etc/php.d/apc.ini" and add these 2 lines to the end:<br>
<tt><span style="font-size: 10pt;">apc.rfc1867 = on</span></tt><span
style="font-size: 10pt; font-family: "Courier
New";"><br>
<tt>apc.max_file_size = 50G</tt></span><br>
<br>
Apply all the /etc/php.ini modifications as described here
(your old php.ini
file won't be there any more) :<br>
<a moz-do-not-send="true"
href="http://www.zend.to/phpini.php">http://www.zend.to/phpini.php</a><br>
<br>
Then<br>
service httpd restart<br>
<br>
Now login and upload a file, and you should see the progress
bar.<br>
<br>
If this works for you too, please let me know and I'll put it
on the website or
the mailing list.<br>
<br>
Cheers,<br>
Jules.<br>
</p>
</div>
</blockquote>
<pre class="moz-signature" cols="72">
--
Julian Field MEng CITP CEng
<a class="moz-txt-link-abbreviated" href="http://www.Zend.To">www.Zend.To</a>
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
</pre>
</body>
</html>