Category Archives: php

ColdFusion stopped = Apache unresponsive

In my local development set up, I sometimes don’t want to have ColdFusion running as I’ll be working on something that’s just HTML, JavaScript or using another language like PHP (don’t tell no one!). Everytime I tried this, Apache would crawl to a halt when requesting non-ColdFusion files (css, html, js, php etc…). If I started ColdFusion up, everything worked perfectly, maybe life is just better with ColdFusion always on ;)

Continue reading

Windows + Apache + mod_fcgid + complex Active Directory = 70008 Partial Results

Introduction

I like to run PHP under Apache via FastCGI, it feels performant enough and has the benefit of not bringing down Apache if PHP crashes (as can happen when using PHP as a module). In my job I had set this up and it was working beautifully, but little did I know what the future held…

Continue reading

Zend Server CE 5.0

PHP

PHP

Introduction

Zend have released their latest version of Zend Server, version 5.0, which includes a Community Edition.  In this post I’m taking a look at the free Community Edition for Windows, which includes the following (some items are optional):

  • Apache 2.2.14 (Can use IIS instead)
  • PHP 5.3.1 / PHP 5.2.12 (Selected when downloading the installation)
    • Common and additional PECL extensions.
    • Zend Optimizer+
    • Zend Debugger
    • Zend Data Cache
    • Zend Java Bridge
    • Zend Guard Loader
  • Zend Framework
    • Base
    • Extras
    • Dojo
  • MySQL Essential Database Server 5.1.43
  • PhpMyAdmin
  • Database drivers
    • Informix
    • Oracle OCI Driver
    • IBM DB2 RTCL
    • MS SQL Server Native Client

Continue reading

Zend Server + WinCache + Windows

PHP

PHP

After reading a benchmark post comparing WinCache against Zend Optimizer, on MS Web Platform and Zend Server respectively, I thought I’d try Zend Server (CE) with WinCache. The reasoning behind this is a bug with Zend Optimizer that I’m suffering from (using PHP 5.2) where it’ll randomly crash the php-cgi.exe process. This only appears to be a problem with certain code contained somewhere within Moodle that it doesn’t like.

Setup

  • Zend Server Community Edition 4.0.5
  • Windows Server 2003
  • WinCache 1.0 RC
  • Moodle Continue reading