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

Kevin Miller Kevin_Miller at ci.juneau.ak.us
Fri May 25 19:14:31 BST 2012


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?  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.

I did do a yum update and pulled down 4.10 this morning.  Still have some configuring to do on it though...

 ...Kevin
-- 
Kevin Miller
Network/email Administrator, CBJ MIS Dept.
155 South Seward Street
Juneau, Alaska 99801
Phone: (907) 586-0242, Fax: (907) 586-4500
Registered Linux User No: 307357


More information about the ZendTo mailing list