← Back to team overview

ius-coredev team mailing list archive

Re: [Question #196420]: php54-pecl-apc.x86_64 3.1.9-1.ius.el6 throws an error when apc.stat=0

 

Question #196420 on IUS Community Project changed:
https://answers.launchpad.net/ius/+question/196420

James O'Dell gave more information on the question:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello Jeffery,

I installed the php54-pecl-apc from the testing repository
(3.1.10-1.ius.el6) and received the same results

syslog dumps this into /var/log/messages

May  8 08:47:28 mwebft1213a httpd: PHP Warning:  require(): Filename
cannot be empty in /var/www/html/moodle/login/index.php on line 27
May  8 08:47:28 mwebft1213a httpd: PHP Fatal error:  require(): Failed
opening required '' (include_path='.:/usr/share/pear:/usr/share/php') in
/var/www/html/moodle/login/index.php on line 27

Here's what I added to 'apc.ini'
apc.shm_size=256M
apc.max_file_size=4M
apc.stat=0
apc.ttl=14400
apc.user_ttl=7200
apc.num_files_hint=5000

These settings work using php53u with under Redhat 5 using the 'ext3'
filesystem.

These settings don't work using php54 code when 'apc.stat=0' under
Redhat 6 using the 'ext4' file system.

Currently my work around is
chattr -R +A /var/www/html/moodle
and mount /var with the 'relatime' option

Hope this helps,

__Jim



On 5/8/2012 6:05 AM, Jeffrey Ness wrote:
> Your question #196420 on IUS Community Project changed:
> https://answers.launchpad.net/ius/+question/196420
> 
> Jeffrey Ness posted a new comment:
> Hello James,
> 
> Thank you for taking the time to notify us of this issue.
> 
> The issue is related to APC 3.1.9 not supporting php54,
> as mentioned in https://bugs.launchpad.net/ius/+bug/968561
> 
> We currently have a 3.1.10 APC package in testing,
> can you see if this package resolves your issue?
> 
>    yum install php54-pecl-apc --enablerepo=ius-testing
> 
> Thanks
> 


- -- 
Jim O'Dell
Network Analyst
California State University Fullerton
Email: jodell@xxxxxxxxxxxxx
Phone: (657) 278-2256
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+pRdQACgkQREVHAOnXPYT+tACdFRNQqDipNqzg7Vamw+Ie6syL
V1gAnR+82x9vRBSbjlf5VrNBWJtCfVH8
=LYjm
-----END PGP SIGNATURE-----

-- 
You received this question notification because you are a member of IUS
Core Development, which is an answer contact for IUS Community Project.