Jump to content


eAccelerator and APC are disabled!?


  • Please log in to reply
13 replies to this topic

#1 kristovaher

kristovaher

    Newbie

  • Member
  • 6 posts

Posted 23 March 2012 - 08:13 AM

I tried to Google and look through Uniform Server documentation but I cannot find any information on why it is not possible to use neither APC nor eAccelerator with it. I have stopped all servers, went to PHP Extensions Enable/Disable and they are not listed there. Then I also went to eAccelerators and APC's panel and neither of them have boxes checked and it is not possible to check these checkboxes either.

What am I doing wrong?

I even searched through the entire Uniform Server archive and did not find any DLL's for APC.

#2 traxxus

traxxus

    Member

  • Member
  • 77 posts
  • Location:Switzerland
  • Main OS: Windows 7

Posted 23 March 2012 - 08:22 AM

Hm.... delete the UnIServer folder an download Coral 8.5.0 again.
Works here without problems...

Attached Files



#3 kristovaher

kristovaher

    Newbie

  • Member
  • 6 posts

Posted 23 March 2012 - 08:27 AM

View Posttraxxus, on Mar 23 2012, 08:22 AM, said:

Hm.... delete the UnIServer folder an download Coral 8.5.0 again.
Works here without problems...

But can you actually 'click' on any of those checkboxes?

I can see the same view, but cannot click on them. I did exactly that just now and no success. I deleted the entire folder, downloaded the archive again, unpacked it and ran the application. Still the same problem.

There is no php_apc.dll in Coral 8.5.0 archive. I even tried turning it on in php.ini and it just throws errors when I use anything of APC:

Fatal error: Call to undefined function apc_cache_info() in C:\UniServer\www\test.php on line 7

If I go to server configuration, the control panel options for APC and eAccelerator are shown for a moment, then turn off and I cannot check any of the boxes.

Everything else works perfectly.

#4 traxxus

traxxus

    Member

  • Member
  • 77 posts
  • Location:Switzerland
  • Main OS: Windows 7

Posted 23 March 2012 - 08:32 AM

Oh my... you are right! I can't enabled the checkboxes too.

#5 BobS

BobS

    Project Helper

  • Super Moderator
  • 328 posts
  • Location:Santiago Chile
  • Interests:Retiring, computer systems, system design, model railroads....
  • Wiki ID: BobS
  • Main OS: Windows 7

Posted 23 March 2012 - 08:38 AM

When I read the release announcement, I noticed that it stated that BOTH APC and eAccelerator were NOT included, "to be added later"  (I just went back and highlighted that).

And traxxus, while your image is missing the all-important "X" in the box, showing that neither of the accelerators is active, the control panel only shows the status of the php.ini  directive.  The basis of the problem is that the dlls are simply missing.

So I would say that you'll have to wait for a "more perfectly-formed" release from Ric.  Maybe Coral_8.5.0 should have been labeled BETA.

Regards,
BobS

#6 kristovaher

kristovaher

    Newbie

  • Member
  • 6 posts

Posted 23 March 2012 - 08:42 AM

No it is not just 8.5.0, this is already missing in 8.4.0. I tested older versions of Uniform Server, and 8.3.1 still had it working.

But it is missing in 8.4.0 and 8.5.0.

I edited Wiki WAMP comparisons accordingly, since that said that 8.5.0 (and used to say the same about 8.4.0) includes APC and eAccelerator, since I (and I am sure others) are coming here using that as a guide to select their preferred version of WAMP.

This is rather crucial part for me about Uniform Server, but I suppose there are some compatibility problems with PHP 5.4?

#7 Yoni

Yoni

    Support Team Member

  • Support Team
  • 95 posts
  • Gender:Male
  • Main OS: Windows 7

Posted 23 March 2012 - 09:29 AM

Here are the notes for 8.5.0-Coral release:

This release updates MySQL server.
Bug fixes see change log for details.
Core components:
Apache 2.4.1
MySQL 5.5.22 -- Update
PHP 5.4.0 - Update
phpMyAdmin 3.4.10.1
Go-Pear 1.1.6 - Preinstalled
msmtp 1.4.27
eAccelerator 1.0-snv427 ---- To be added
APC 3.1.7 ----- To be added

OpenSSL 1.0.0e
ActivePerl via Installer
Cron - Scheduler
DtDNS - IP address updater
db_backup - Database back-up

So it is not surprise they do not "work" since they haven't  been included.

Yoni



Posted Image


#8 kristovaher

kristovaher

    Newbie

  • Member
  • 6 posts

Posted 23 March 2012 - 10:20 AM

View PostYoni, on Mar 23 2012, 09:29 AM, said:

Here are the notes for 8.5.0-Coral release:

...

So it is not surprise they do not "work" since they haven't  been included.

I apologize that I did not notice this, I came here from WAMP Comparison WIKI page where Uniform Server was listed having PHP 5.4.0, APC and eAccelerator. I fixed Wiki since then, but I did not expect to have to go to forum and read forum announcements to learn about this. Even Uniform Server's own Wiki lists APC as part of 8.4.0 production version, when in fact it is not so.

#9 BobS

BobS

    Project Helper

  • Super Moderator
  • 328 posts
  • Location:Santiago Chile
  • Interests:Retiring, computer systems, system design, model railroads....
  • Wiki ID: BobS
  • Main OS: Windows 7

Posted 23 March 2012 - 01:36 PM

So here's a note about eAccelerator.
It seems the project is basically dead. :)
The main site(http://eaccelerator.net) shows a server test page.
If you use https://eaccelerator.net, it shows an expired certificate warning.  
If you put in an exception, yo can get to the TracWiki for eAccelerator.
Whoopie.  
They show links to download eAccelerator version 0.9.6.1 from 2010/05/31, but the actual download link is broken. You get "De opgevraagde pagina werd niet gevonden."  Same for the SVN link.
If you search on Sourceforge.net, you can get version 0.9.6.1.  
But note that this was last fixed to work with with PHP 5.3.

So for PHP 5.4, we can essentially kiss this off.

Regards,
BobS

#10 kristovaher

kristovaher

    Newbie

  • Member
  • 6 posts

Posted 23 March 2012 - 01:41 PM

I would not mind, I've never used eAccelerator.

They originally intended to add APC as a default extension to PHP in 5.4, but that did not happen. I hope that APC does not die the same way as eAccelerator did, since PHP - as an interpreted language - would really benefit from such functionality in core rather than as a hard-to-get extension (especially for shared hosting services).

#11 BobS

BobS

    Project Helper

  • Super Moderator
  • 328 posts
  • Location:Santiago Chile
  • Interests:Retiring, computer systems, system design, model railroads....
  • Wiki ID: BobS
  • Main OS: Windows 7

Posted 23 March 2012 - 02:13 PM

Note 2, concerning APC.  It may not be ready for prime-time in version PHP 5.4.0, so it wasn't included in the core package.  HOWEVER, the "current" version, which is touted to work with PHPH 5.1 and up, is available in PEAR.  See Pecl: http://pecl.php.net/package/APC/3.1.9
NOTE that the PEAR interface comes back with:

Quote

No releases available for package "pear.php.net/APC" - package pecl/APC can be installed with "pecl install APC"
Hopefully that works. :)  Now, whether or not APC ACTUALLY WORKS with PHP 5.4.0 is still to be determined.  

I ran across a ref to PHP 5.4 and APC which gives a brief summary of what's up:
http://www.phpclasse...HP-Version.html
BTW, this blog also has more posts about the status of PHP, probably more detail than you need/want to know. :)

Regards,
BobS

#12 kristovaher

kristovaher

    Newbie

  • Member
  • 6 posts

Posted 23 March 2012 - 02:39 PM

View PostBobS, on Mar 23 2012, 02:13 PM, said:

Note 2, concerning APC.  It may not be ready for prime-time in version PHP 5.4.0, so it wasn't included in the core package.  HOWEVER, the "current" version, which is touted to work with PHPH 5.1 and up, is available in PEAR.  See Pecl: http://pecl.php.net/package/APC/3.1.9
NOTE that the PEAR interface comes back with:
Hopefully that works. :)  Now, whether or not APC ACTUALLY WORKS with PHP 5.4.0 is still to be determined.  

I ran across a ref to PHP 5.4 and APC which gives a brief summary of what's up:
http://www.phpclasse...HP-Version.html
BTW, this blog also has more posts about the status of PHP, probably more detail than you need/want to know. :)

Regards,
BobS

Cheers for the information :)

From what I know, APC does work in 5.4, but there might be some bugs related to new features in PHP 5.4, so I suppose that holds things back. As for PHPClasses blog, then I used to read it but have given it up now, I am not too big a fan of information they provide, it is sometimes speculative and sometimes just not accurate enough.

I tend to pay attention to PHP internals and see what's going on there instead for bleeding-edge information, but APC has not been discussed there for a few months.

#13 Voice4Vision

Voice4Vision

    Newbie

  • Member
  • 1 posts
  • Main OS: Windows 7

Posted 14 April 2012 - 12:26 AM

For those that are curious APC has released a new beta version 3.1.10 to work with PHP 5.4.0

http://pecl.php.net/...;release=3.1.10

#14 Ric

Ric

    Project Manager

  • Admin
  • 1,302 posts
  • Gender:Male
  • Location:Cambridge,UK
  • Interests:Electronics
    Internet in general
    Open source projects
  • SourceForge IDmpgcan
  • Wiki ID: Ric
  • Main OS: Windows XP

Posted 07 August 2012 - 12:31 PM

I was going to remove redundant accelerator button from UniServer 9-Steel and noticed eaccelerator has been re-launched at  https://github.com/e...or/eaccelerator

Eaccelerator binaries have now been added to both UniServer 9-Steel (Beta) and  Uniform Server 8.6.1-Coral

All the best
Ric :)




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users