eAccelerator not working in xampp 1.8.0 - apache

from error log:
eAccelerator requires Zend Engine API version 220090626.
The Zend Engine API version 220100525 which is installed, is newer.
Contact eAccelerator at http://eaccelerator.net for a later version of eAccelerator.
from phpinfo()
System Windows NT 6.1 build 7601 (Windows Server 2008 R2 Web Server Edition Service Pack 1) i586
Build Date Jun 13 2012 21:17:57
Compiler MSVC9 (Visual C++ 2008)
Architecture x86
Server API Apache 2.4 Handler Apache Lounge
PHP Extension Build API20100525,TS,VC9
Debug Build no
Thread Safety enabled
how can I solve this problem?

Eaccelerator needs to be compiled for exactly the version of zend engine it is used with. You cannot copy a dll from any old installation into a new Php engine version. Eaccelerator is no longer maintained. Please check out "XCache" which is maintained and compatible with php up to 5.5.x:
http://xcache.lighttpd.net/

eAccelerator not working because incompatibility with PHP 5.4.0.

Related

PHP 5.5 and MSSQL driver: Installing ODBC Driver 11 in Windows Server 2012 R2

I have a Windows Server 2012 R2 with IIS 8.5, and another server with MSSQL 2012. I must install PHP in IIS and connect to MSSQL, and I don't have Internet available for Web PI.
I managed to install PHP 5.5 and I'm able to run phpinfo(), and I also assured that php.ini is being loaded from C:\php\php.ini.
I was also able to load sqlsrv driver, it reports in example sqlsrv.ClientBufferMaxKBSize 10240 10240.
But when I execute a php file that connects to DB, I get a message
This extension requires the ODBC Driver 11 for SQL Server. Access the following URL to download the ODBC Driver 11 for SQL Server for x86: http://go.microsoft.com/fwlink/?LinkId=163712
I went to that site and it says
Supported operating systems for version 3.1 of the driver include Windows Server 2012 R2`.
It says
Version 3.1 requires Microsoft ODBC Driver 11 (or higher) for SQL Serverand points tohttp://www.microsoft.com/en-us/download/details.aspx?id=36434`.
In that page, in System Requirements, WinServer 2012 R2 is not listed. When I try to install msodbcsql.msi I get message
Installation of this product failed because it is not supported on this operation system. For information on supported configurations, see the product documentation.`
Well I'm now stuck. I need PHP in WinServer 2012 R2 and IIS 8.5 connecting to MSSQL 2012. But its driver requires ODBC 11, which seems to not support latest WinServer.
Is there any hope, or will I need to wait for Microsoft to support its own OS in its own drivers?
Be sure to download the 1033\x64\msodbcsql.msi (4.4 MB) installer. Even though you are using PHP x86, you need the x64 installer since the OS is x64. I had the same issue and my app now works with PHP x86 after installing the x64 installer.

Installing the newest version of Wamp server

I'm learning PHP and I'm a newbie in apache, mysql,etc.
I tried to install WAMPServer (The current newest version 2.5) but I get the error:
msvcr110.dll is missing.
I have followed some instructions given here: WAMP shows error 'MSVCR100.dll' is missing when install
However, none of the advice worked for me. I have already installed Visual C++ for windows 32 bits and Visual C++ Redistributable for Visual Studio 2012. After that I installed Visual C++ 2008, it didn't worked either.
And even after that I installed vcredist_x86.exe. This gave me an option to repair my Visual C++, and so I did.
In all my tries I restarted my computer.
I didn't install Visual c++ for windows 64 bits because my os is running a 32 version.
Any ideas?
Thanks for your attention,
berga007
Please make sure you have the latest version of all of these Microsoft C/C++ Redistributable runtime libraries. You dont need the whole compiler, just these C/C++ runtime libraries.
The 2008 Redist (32bit) is used by wampmanager even if you installed the 64bit WAMPServer.
The 2010 Redist is used by some versions of Apache ( depending on compiler used ).
The 2012 Redist is used by some versions of Apache ( depending on compiler used ).
FOR WAMP 32bit
Microsoft Visual C++ 2008 SP1 Redistributable Package (x86)
Microsoft Visual C++ 2010 SP1 Redistributable Package (x86)
If you are using WampServer 2.4/2.5 32bit and therefore Apache 2.4.x
Microsoft Visual C++ 2012 is required And select vcredist_x86.exe
Due to the naming convention used by Microsoft dowmloading these libraries can get a little confusing so download them one at a time and install that download before downloading the next and installing that.
To check that you have all the required runtimes, launch 'Programs and Features' by
Start -> Control Panel -> Programs and Feature
For a 32bit system it should look something like this, ignore the fact that mine has what look like multiple versions of the same library, its just because when you download a newer version it does not remove the older revisions :-
32bit System example
UPDATE FOR 2018 (WAMPSERVER 3.x)
You need the following Visual Studio Redistributables:
2008
2010
2012
2013
2017
Get both the x86 and x64 versions if you're on a x64 machine.
Also, make sure you set skype to NOT use port 80, otherwise WAMP won't start when Skype is open.

Installing ArangoDB on Windows Server 2008

I'm having difficulty getting Arango 1.4.9 working on my Windows 2008 Standard (SP2) server. It's a fresh install. When I try to start Arango Server I receive this message:
The procedure entry point TryAcquireSRWLockExclusive could not be located in the dynamic link library KERNEL32.dll
I have tried both the 64bit and 32bit versions. I have run the installer as an administrator and vice versa. Any ideas?
TryAcquireSRWLockExclusive is from a newer Windows API. The Windows 2008r2 build uses newer Windows API features such as SRW (Slim/Reader Writer) API to improve performance. These are not available in Windows Server 2008.
I assume that you must recompile for Windows 2008 or ask for a suitable binary in the support forum (https://groups.google.com/forum/#!forum/arangodb).

Installing Windows SDK .net 4.5 in a Windows 2008 server

I was trying to install Windows SDK which supports .NET 4.5 in a Windows 2008 server. But I couldn't find any link for the same. All I could find was this:
Windows SDK for Windows Server 2008 and .NET Framework 3.5
Can't we install SDK which supports .NET 4.5 in a Windows 2008 server, do I have to upgrade to Windows 2012 server? I could see that .NET 4.5 framework supports Windows 2008 server but not sure about the SDK. The reason I am looking for this is because, I am trying to install an assembly using GACUTIL, but when I install Windows SDK and try running GACUTIL, it states that the version is different.
Any ideas?
Got it. I was installing wrong SDK, I was installing SDK for 7.1, I should actually install SDK for 8.1. Silly mistake.

Trinidad 1.2.3 can't running in windows server 2008 R2

I have an rails app was using trinidad 1.0.5 on windows server 2008 R2, but today I update trinidad to 1.2.3, and find out it unsupported. Is trinidad no more support windows platform?
the message when I run trinidad:
c:\myapp> jruby -S trinidad -e production
Error daemonizing Trinidad: Unsupported Operating System Windows Server 2008 R2
Support has not been dropped for the Windows platform, but you have probably run up against a bug.
Are you using 64-bit Server 2008 R2?
There is an open issue on the Trinidad Init Services GitHub page for 64-bit 2008 R2 entitled "The bundled version of prunsrv doesn't work on Windows Server 2008 R2 64-bit"
Essentially, it is looking like the bundled library is 32-bit.
A workaround would be to download the 64-bit library linked from the issue and manually swap the library in-place, until Trinidad has been scripted to do this for you.