[ZendTo] Re: Apc entries in phpini.php page

Jules Jules at Zend.To
Tue May 29 09:35:31 BST 2012



On 25/05/2012 19:14, Kevin Miller wrote:
> Jules wrote:
>> On 24/05/2012 19:20, Kevin Miller wrote:
>>>>>      There was no apc.ini so I created one.  Is there an apc package
>>>>> that needs to be installed as well?
>>>> Yes. It's part of the pecl stuff. That should create a apc.ini for
>>>> you in /etc/php.d.
>>> That explains it.  The centos.php page page says:
>>> "These next 2 are not for CentOS 6:
>>>
>>>    yum remove php php-cli php-common php-imap php-pdo php-ldap
>>>    php-mysql 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 \   php52-ldap"
>>>
>>> Since I'm doing CentOS 6.2, I skipped those two lines (the lines
>>> beginning with yum), hence no pecl stuff.  Should I just change the
>>> php52-* to php53-* and install them? Yes, should work.
>>>
>>>
>>>>> I haven't yet rebuilt php.  Since I'm using 6.2, I expect I should
>>>>> replace http://mirror.rackspace.com/ius/stable/Redhat/5.5/SRPMS/
>>>>> with http://mirror.rackspace.com/ius/stable/Redhat/6/SRPMS/.  Do I
>>>>> need to download everything in that directory that is prefixed
>>>>> with php53u? (php-5.3.3-3.el6_2.8.x86_64 is what's currently
>>>>> installed.)
>>>> If all the PHP SRPMs are prefixed with php53u then yes, you might as
>>>> well download the lot. Can't do much harm.
>>> OK, thanks...
>>>
>>>    ...Kevin
>> I rebuilt PHP for CentOS 6.2 yesterday. Would you like me to send you
>> all the RPMs I built?
> I just downloaded them from your dropoff (thanks!).  I'm a little confused yet putting all the pieces together, i.e., some yum installs are for the base system and some are for rebuilding php so it works with files greater than 2 GB.  Are these rebuilt php rpms that are>  2GB capable?  Do I need to rebuild php after installing these?
No, these *are* the rebuilt PHP which support >2GB uploads.
>    I'm thinking all I need to do is run the last line on the http://www.zend.to/phpfix.php page, that is:
> 	rpm -Uvh php52-common-* php52-5* etc.
> Only replacing php52 with the equivilant rpm file name.
Correct. And any additional ones that it says are pre-requisites for 
those RPMs. Run the long "rpm -Uvh" command and see what it complains 
about, then add the extra RPMs needed onto the end of the huge command.
>
> I did do a yum update and pulled down 4.10 this morning.  Still have some configuring to do on it though...
>
>   ...Kevin

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

'It's okay to live without all the answers' - Charlie Eppes, 2011
'All programs have a desire to be useful' - Tron, 1982
'That is the land of lost content,
  I see it shining plain,
  The happy highways where I went,
  And cannot come again.' - A.E. Houseman



More information about the ZendTo mailing list