APC installation in xampp 1.7.7

Problems with the Windows version of XAMPP, questions, comments, and anything related.

APC installation in xampp 1.7.7

Postby lkjhgfs » 07. October 2011 11:08

New version of xampp has been launched for windows with a new look control panel. It is working with PHP 5.3.8, but i m facing a problem.
When i am trying to install Synfony 2, it is giving me a message "Install and enable a PHP accelerator like APC (highly recommended)".
I download php_apc.dll, saved in php/ext folder and made entry "extension=php_apc.dll" in file php.ini
After this process when i trying to start my apache, it starts and automatically stopped instantly.
Pls help me to install and enable php_apc.dll in xampp 1.7.7
Thanx in advance
lkjhgfs
 
Posts: 2
Joined: 07. October 2011 11:00

Re: APC installation in xampp 1.7.7

Postby Nobbie » 07. October 2011 12:01

lkjhgfs wrote:I download php_apc.dll, saved in php/ext folder and made entry "extension=php_apc.dll" in file php.ini


Where did you find php_apc.dll? I dont think there is valid php_apc.dll for the current PHP 5.3.8 out there anyhwere.

lkjhgfs wrote:After this process when i trying to start my apache, it starts and automatically stopped instantly.


Because php_apd.dll does not match your PHP 5.3.8

lkjhgfs wrote:Pls help me to install and enable php_apc.dll in xampp 1.7.7


As there is no php_apc.dll, you have to build it on yourself. This is a hard job, i dont think you will succeed.

Simply forget about php_apc.dll, Synfony 2 runs as well without APC, it's only a recommendation. Get a faster CPU if you are finding it too slow. Saves you much time (and nervs).
Nobbie
 
Posts: 8759
Joined: 09. March 2008 13:04

Re: APC installation in xampp 1.7.7

Postby lkjhgfs » 08. October 2011 08:35

Right....it's only a recommendation. pls tell me if now i proceed without installing APC then can in future i install it (when new version of APC will available)...?????
lkjhgfs
 
Posts: 2
Joined: 07. October 2011 11:00

Re: APC installation in xampp 1.7.7

Postby Sharley » 08. October 2011 10:05

What Windows version are you using?
Please read:
viewtopic.php?f=16&t=48331
viewtopic.php?f=16&t=32670

lkjhgfs wrote:I download php_apc.dll
Where did you download this dll from?

Have you tried eAccelerator included in XAMPP because as yet no viable APC is available and who knows how long it will be (as Nobbie quite rightly pointed out)?

PHP 6 (sometime off) is purported to include APC.

Read this topic by miele as he recommended eAccelerator and said that after testing that it was faster than APC:
http://stackoverflow.com/questions/9308 ... 33#6333033

[eAccelerator] section in php.ini is the place to look.

Good luck. :)
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: APC installation in xampp 1.7.7

Postby JonB » 09. October 2011 00:28

I tested eAcellerator with Wordpress, and it made me happy! 8)

http://bravo.newnetenterprises.com/word ... -on-xampp/

So happy I left it on, LOL
:D
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 25 guests