symfony installation

General discussion forum for the Zend Server
Post Reply
jack4859
Posts: 3
Joined: Tue Jan 21, 2014 7:28 pm

symfony installation

Post by jack4859 » Mon Mar 03, 2014 4:55 pm

Hi,

I'm using zend server 6.3 and i'm trying to learn more about symfony 2.
I have a problem apc, when i try to configure my project, an error occured.
"Upgrade your APC extension (3.1.13+)"

How can i fix this ?

Thank you

User avatar
zvika
Zend Global Support
Posts: 997
Joined: Sun Dec 14, 2008 9:48 am
Contact:

Re: symfony installation

Post by zvika » Tue Mar 04, 2014 10:03 am

Hi
If you're on Linux, just use the package manager (YUM/APT/ZYPPER) to install 'php-5.x-apc-zend-server' package (PHP 5.3/5.4, while 5.5 has OPCache instead), it installs 3.1.13. Check phpinfo() and your symfony app to verify.

If you're on Windows, you can add PECL DLL module into 'C:\Program Files (x86)\Zend\ZendServer\lib\phpext' (you need the non-thread-safe 32-bit DLL matching your PHP version).
See PECL download page: http://pecl.php.net/package/APC/3.1.13/windows
Also there is a newer module, funnily not mentioned in php.net APC ref: http://pecl.php.net/package/APCu/4.0.4/windows

Now, load the module into php.ini or using extra configuration file such as 'C:\Program Files (x86)\Zend\ZendServer\etc\cfg\apc.ini' the extension and any configuration you need to have.

Note: If you still see APC compatibility layer in the Zend Server UI, meaning the directive wasn't cleared properly,
open the Data Cache component directives, turn it on, save, turn it off and save again, then restart PHP.

Please report back with result.
Zvika Dror
Zend Support Team

jack4859
Posts: 3
Joined: Tue Jan 21, 2014 7:28 pm

Re: symfony installation

Post by jack4859 » Fri Mar 07, 2014 2:16 pm

Hi,

Thank you for you help, it works well.
I added those DLL APC 3.1.13 - 5.4 Non Thread Safe (NTS) x86 and APCu 4.0.4 - 5.4 Non Thread Safe (NTS) x86 and
after restart my server, everything was ok.
I'm using windows seven, i'll try on windows 8 and report back the result.

Thanks again.

mmmshuddup
Posts: 28
Joined: Fri Oct 22, 2010 6:44 am

Re: symfony installation

Post by mmmshuddup » Tue Mar 03, 2015 9:28 pm

And what about Mac? You guys never mention how to do things like this on Mac!

Post Reply