Quantcast
Channel: Windows Cache Extension for PHP
Viewing all 197 articles
Browse latest View live

php-cgi.exe crashed after WinCache installed....

$
0
0
Dear Sir / Madam, Due to performance tuning, I found Wincache for PHP and I quickly installed it to my server -> Win2008 std x64, IIS7.5, PHP5.3.13 NTS. However, when I recycle my application pool after installation, I can't open my joomla page and I found the followings from my EventViewer:
Faulting application name: php-cgi.exe, version: 5.3.12.0, time stamp: 0x4fa94d46
Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
Exception code: 0xc0000005
Fault offset: 0x021f9748
Faulting process id: 0x11d4
Faulting application start time: 0x01cd87b5f79dd001
Faulting application path: C:\Program Files (x86)\PHP\v5.3\php-cgi.exe
Faulting module path: unknown

I then disabled Wincache & recycle the application pool again, and it's working normally.... May I know is this a bug? I've downloaded WinCache 1.1 for PHP 5.3 (x86) from the official website, may I know what can I do? -> check here for my phpinfo page: unwall.info.tm/test/phpinfo.php Thanks.

Wincache 1.3.4 + PHP 5.4 + Moodle

$
0
0
Hello When i enable wincache, moodle is unable to delete temp directories. this only happens when wincache is enabled. there are no permission problems - all is defined well. i read herethat this is a long standing bug - about two years old. will it be solved ? or should i go to eAccelerator ? (I liked wincache better... too bad) Omer

wincache extension on iis 7, win 2008 R2, php 5.3

$
0
0
Hey, has anyone managed to install WINCACHE in this configuration ? i have something really wierd going on. installed wincache dll in c:\php\ext, added this line to php.ini :"extension=php_wincache.dll" but phpinfo() doesnt show anything about it. i have tried to open wincache.php, but i get this message: The extension WINCACHE (php_wincache.dll) is not loaded. No statistics to show. any ideas ? im desperate. thanks omer

HTTP 500 errors with Wincache 1.3.4

$
0
0
Hi, there is patch somebody submitted on php.net: https://bugs.php.net/patch-display.php?bug_id=63002&patch=wincache-1.3.4-500-error&revision=latest This fixes a random 500 error showing up every now and then in Wincache 1.3.4. Please take a look at the patch and perhaps build a new version of Wincache 1.3.4 (1.3.5?) for PHP 5.4. We're using PHP 5.4 with Wincache 1.3.4 on a production-server (2008 R2) and we're having zero problems right now. We've seen these 500 errors popping up randomly a few weeks ago, so the patch would be welcome. Better safe than sorry ;) Regards, Mike

php error, "syntax error, unexpected '"' in php.ini

$
0
0

 I have the wincache configuration block at the bottom of my php.ini file.  The very first line is wincache.fcenabled "1"  .  Wincache works properly based on the output of wincache.php.

 

My problem, so far, is that I can't schedule a task to execute properly because when I invoke php scripts at the command line I receive a popup error stating Syntax error, unexpected '"' in line XXXX

 

I had to put it in wordpad and increase the font just to see that the message reads unexpected ' " '.  

 

That seems to be the correct syntax so I am not sure why php.exe reports the error.  Any thoughts would be appreciated.

Best practice and info regarding PHP, FastCGI, Wincache and the command line

$
0
0

 We have several php scripts running on a separate machine that update items for the site's MYSQL database.  The scripts are long running - take several days to fully complete.  We are calling them via the command line.  The scripts are running on a Windows XP X64 machine with PHP 5.2.X that has WINCACHE installed.

 

We are trying to determine if best practices are being used for this situation.  Currently the scripts are manually called via a batch file that would go something like

 x:\php\PHP-CGI.exe script.php  The script runs in the CMD window and displays the echo statements of it's progress.

 

Since Wincache is enabled in the php.ini for this machine, I am assuming that these scripts are using Wincache (the cli is enabled in the Wincache portion of php.ini)  Since multiple scripts are running at the same time, are they all using the same shared memory of Wincache or does each script (running in a separate CMD window) using its own set of memory?

 

Thanks for the info in advance.

Installed wincache but seeing no speed improvement at all...

$
0
0
This is what i'm working with: PHP 5.4, Wincache 1.3, IIS 7.5, Windows Server 2008 R2. I installed PHP and Wincache both using the web platform installer. Super easy. I confirmed that I am using the right ini file and the ini file has extension=php_wincache.dll and my phpinfo file shows all the wincache stuff. I have restarted the website and restarted the web server (not the box just the IIS server) but there is absolutely no change in performance. Everything I've read online says that all you have to do is include the extension and bob's your uncle, but bob is not my uncle and I'm not seeing any speed improvement either. I then changed "session.save_handler = files" to "session.save_handler = wincache" thinking that might make a difference because that was recommended in this video: http://www.slideshare.net/ruslany/php-performance-on-windows although I have no idea what that's supposed to do and it didn't make any difference anyway. Am I missing anything obvious here? Any ideas?

Cache Non-PHP Files

$
0
0

Am I crazy, or shouldn't wincache be caching non-php files?

 It's not caching a file called intranet.ini.


WinCache 1.3.4 Release Build on SourceForge

$
0
0

As part of our continuing work on the the Windows Cache Extension (WinCache), the IIS team has released updated version of WinCache in order to address the compatibility issues that were discovered after PHP 5.4 was released. With that in mind, we have uploaded a new development build of the Windows Cache Extension on the SourceForge website at the following URL:

http://sourceforge.net/projects/wincache/files/wincache-1.3.4/

For anyone that is experiencing issues with the Windows Cache Extension, please download and test the release version that our team has uploaded.

wincache configuration

$
0
0
hey. I have a 2008 R2, iis 7.5 php 5.4.7 machine, 12 GB RAM, 8 * CPU. i have multiple - semi-identical php websites (moodle), about 500 of them. each one has about 100 MB of code. how should i set my INI wincache variables in order to best fit the situation ?

Not working on Windows Core due to dependency problems

$
0
0

Hi

I've  spent past couple of hours and a good bit of my hair trying to get php_wincache to run on Windows 2008 R2 Core x64 with IIS 7.5 and PHP 5.4.7. On startup PHP reports

Warning : PHP Startup: Unable to load dynamic library 'c:\php\ext\php_wincache.dll' - The specified module could not be found. 

And  that's it. Dependency Walker reported these files as missing:

DEVMGR.DLL
EFSADU.DLL
NETPLWIZ.DLL
RASAPI32.DLL
RASDLG.DLL
SHDOCVW.DLL
TAPI32.DLL

 

1.3.4.1-dev - Not Checking For File Changes / Strange Opcode Statistics

$
0
0

Testing this now. My chkinterval is set to 5 (development machine), and the following file has changed fairly recently, but wincache is still using an old version: 

ApplicationConsoleEdit.php19.89 kB42572493425735

Also, the Opcode cache is doing something crazy - every time I hit F5 on wincache.php, these number changes (I don't a little, I mean like uptime goes from 2 seconds to 19 hours, and then to something else.)

Wincache causing PHP fault

$
0
0

 Hi,

 On our website, we are running IIS 2008 w/ PHP 5.4 and Wincache.

 We see a problem every few hours where the server freezes and displays our 404 error page for any page loaded.  The only way to recover is with an IIS service restart.  The associated error in the event log is:

 

Log Name:      Application
Source:        Application Error
Date:          10/27/2012 7:41:17 AM
Event ID:      1000
Task Category: (100)
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      xxxxxx
Description:
Faulting application php-cgi.exe, version 5.4.0.0, time stamp 0x4f4e6d23, faulting module php_wincache.dll, version 1.3.4.0, time stamp 0x4fd7737e, exception code 0xc0000005, fault offset 0x000078d0, process id 0x200, application start time 0x01cdb437f9f04dce.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Application Error" />
    <EventID Qualifiers="0">1000</EventID>
    <Level>2</Level>
    <Task>100</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2012-10-27T11:41:17.000Z" />
    <EventRecordID>54767</EventRecordID>
    <Channel>Application</Channel>
    <Computer>xxxxx</Computer>
    <Security />
  </System>
  <EventData>
    <Data>php-cgi.exe</Data>
    <Data>5.4.0.0</Data>
    <Data>4f4e6d23</Data>
    <Data>php_wincache.dll</Data>
    <Data>1.3.4.0</Data>
    <Data>4fd7737e</Data>
    <Data>c0000005</Data>
    <Data>000078d0</Data>
    <Data>200</Data>
    <Data>01cdb437f9f04dce</Data>
  </EventData>
</Event>

 

This seems to occur more frequently w/ PHP 5.4 instead of PHP 5.3.

 

Does anyone know what we can do to troubleshoot this issue?  In our PHP error logs we see warnings but nothing major.

 

Thank you.

Strange Dates & Version Numbers

$
0
0

What is going on with the most recently modifed file on Sourceforge?

 The date modified on SF is 10/13/12 and the version number is 1.3.4.1-dev. However, the date modified in the actual DLL is 4/26/12 and this is in the readme:

Windows Cache Extension for PHP 1.3.0

Wincache will not load in Windows 2008 R2, IIS 7.5, PHP 5.3.10

$
0
0
PHP Startup: Unable to load dynamic library 'Q:/PHP/ext\php_wincache.dll' - The specified module could not be found. We have 3 servers running all with PHP running fastcgi and wincache. One server that runs php 5.3.5 wincache installs correctly and is seen if phpinfo is run. The other two that run php 5.3.10 wincache does not install and cannot be seen in phpinfo. Using wincache version 1.1 for 53_nts_vc9 php. Have downloaded wincache again to ensure it is not corrupted. Have copied across php_wincache.dll from the server that is working and still does not work. PhP error_log gives the following error PHP Startup: Unable to load dynamic library 'Q:/PHP/ext\php_wincache.dll' - The specified module could not be found. Any ideas appreciated.

Feature suggestion, multiple cache stores

$
0
0
Often I would like to be able to clear an entire area of cache at the same time. For instance, imagine clearing all cached inventory statuses for products when new products are added, goods are sent etc. You can probably build something like this by just storing an array that then stores all the objects, but I imagine this is suboptimal. Does anyone have a nice solution with good performance to this problem?

WinCache dosn't work with multiple application pools

$
0
0
I have several websites in the IIS, and each one using a separate application pool. But wincache only work with one of them. What can I do to enable the wincache to the other application pools?

Wincache 1.1 and Wordpress plugin problem

$
0
0

 I've been having a problem with Wordpress and it seems to be caused by wincache. Several others have reported the same problem on the Wordpress.com forums

Essentially what happens is when attempting to upgrade a Wordpress plugin, the upgrade fails with a message similar to this -

Unpacking the update.
Installing the latest version.
Deactivating the plugin.
Removing the old version of the plugin.
Could not create directory. DIRECTORY\wwwroot/wp-content/plugins/akismet/
Plugin upgrade Failed.

I'm running Wordpress 2.9.2 on a Windows 2008R2 VPS, with PHP 5.2.13 and wincache 1.1

Checking on the VPS, the plugin directory is there but inaccessible even as an administrator, with "access is denied". Restarting IIS results in the folder disappearing. The plugin can then be installed.

Clearly there's some locking problem occurring somewhere. Disabling wincache stops the problem.

 

php-cgi.exe crashed after WinCache installed....

$
0
0
Dear Sir / Madam, Due to performance tuning, I found Wincache for PHP and I quickly installed it to my server -> Win2008 std x64, IIS7.5, PHP5.3.13 NTS. However, when I recycle my application pool after installation, I can't open my joomla page and I found the followings from my EventViewer:
Faulting application name: php-cgi.exe, version: 5.3.12.0, time stamp: 0x4fa94d46
Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
Exception code: 0xc0000005
Fault offset: 0x021f9748
Faulting process id: 0x11d4
Faulting application start time: 0x01cd87b5f79dd001
Faulting application path: C:\Program Files (x86)\PHP\v5.3\php-cgi.exe
Faulting module path: unknown

I then disabled Wincache & recycle the application pool again, and it's working normally.... May I know is this a bug? I've downloaded WinCache 1.1 for PHP 5.3 (x86) from the official website, may I know what can I do? -> check here for my phpinfo page: unwall.info.tm/test/phpinfo.php Thanks.

Wincache 1.3.4 + PHP 5.4 + Moodle

$
0
0
Hello When i enable wincache, moodle is unable to delete temp directories. this only happens when wincache is enabled. there are no permission problems - all is defined well. i read herethat this is a long standing bug - about two years old. will it be solved ? or should i go to eAccelerator ? (I liked wincache better... too bad) Omer
Viewing all 197 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>