• Sign in / Join

Login

Forgot your password?
Do not have an account ?Register here
X

Register

Have an account?Login here
X
  • Home
  • Blog
  • Image Gallery
  • News Archive
    • Hardware News
    • Gaming News
    • Affiliate News
Trending now

The Reason Steam Frame Will Clobber Meta

800,000 Views on YouTube channel

New time for podcast

Xbox Starts FIre; Complains About Heat |…

FSR 4.1 Black Flag Resynced | Driver…

The Steam Leveling Trick Nobody Knows

Xbox layoffs (PARODY) | The real reason…

Assassin’s Creed Black Flag Remastered completely crashes…

Xbox layoffs, Sony backpedals, Valve cashes in…

Budget Mic Earns Sweet Streamer Money? |…

OCmodshop.com

  • Hardware
    • Audio
    • Cases
    • Coolers
    • Gadgets
    • Home Theater
    • Input Devices
    • Laptops
    • Memory (RAM)
    • Motherboards
    • Networking
    • Power Supplies
    • Processors (CPU)
    • Storage
    • Video Cards
  • Gaming
    • Gaming Accessories
    • Game Walkthroughs
    • PC Games
    • Xbox
    • Playstation
    • Nintendo
  • Articles
    • How-To Guides
    • Case Mod Projects
    • Software
    • Event Coverage
    • Movies
    • Interviews
  • Podcast
FacebookTwitterYoutubeTwitchSteam
Blog

Big Long Fight with PHP and FastCGI

by Alan McCloskeyMarch 2, 2009August 25, 201404
Share0

So it took a good 15 hours from start to finish with Server 2008.  This is why I don’t really like to do upgrades unless I absolutely have to.  I finally nailed down a configuration of Server 2003 that doesn’t crash or give me headaches, and here I am upgrading again!

To add insult to injury, it appears that one of my drives in the RAID 1 array failed, so I have to replace that.  That explains some of the weird error emails I got a few months ago that the array spontaneously started rebuilding itself.

Configuring PHP on Windows can be quite a deck of cards… I previously had an installation of PHP that worked, so I just copied the directories whenever I needed a new PHP install.  That was using PHP_ISAPI.  From what I’ve read, IIS 7 really likes to use FastCGI, for various performance reasons.

I tried several methods of installing PHP… copying old configs, installing an MSI… I tried installing and uninstalling, and tried CGI and ISAPI, and WordPress would not behave.  After much troubleshooting, I found a lot of modules weren’t being initialized… I won’t get into it, but needless to say, the documentation and installation MSI for PHP is totally fubar.

I finally settled on the FastCGI installer, and was able to get a test PHP page working.  The main WordPress page would load up, but any inner pages would produce an “internal server error”.  I messed with PHP lots more,but finally found the issue (after about 5 hours of troubleshooting).

The issue was the WordPress theme I was using.  More specifically… the comments snippet wasn’t designed for WP 2.7.  Using another theme works just fine.  I did more reading, and apparently there are some inconsistencies when using the ISAPI instead of CGI.

So, it was a long haul, but I finally have WordPress running with gZip AND Output caching at the same time — something that even WP-super-cache won’t do.  I even have URL rewrites working.  Now all the features people really needed in Apache for is now in IIS 7.

Serving a WordPress page is now many multitudes of times faster, and can certainly handle high traffic from a slashdot or Digg…

I’ll still do some more testing, but it looks like I finally have a stable WordPress platform with no compromise on features.

Post Views: 6
PHPWeb DevelopmentShare0
previous post
Server installation troubles with DVD-ROMs
next post
Edit Start Menu All Programs
Alan McCloskey
Alan is a web architect, stand-up comedian, and your friendly neighborhood Grammar Nerd. You can stalk him on the Interwebs via Facebook and follow him on X @ocmodshop.

Related posts

Web Development and the Big Time Out

Guest WriterFebruary 5, 2009November 28, 2014

8TB NAS – Upgrading the Primary Synology NAS Volume

Alan McCloskeyJanuary 22, 2011September 12, 2014

The cons of forcing a full-screen website

Alan McCloskeyMay 4, 2011November 28, 2014

Recent Posts

  • The Reason Steam Frame Will Clobber Meta
  • 800,000 Views on YouTube channel
  • New time for podcast
  • Xbox Starts FIre; Complains About Heat | OCmodcast Episode 10
  • FSR 4.1 Black Flag Resynced | Driver Update Disaster
OCmodshop.com
FacebookTwitterYoutubeTwitchSteam
@2026 - ocmodshop.com. All Right Reserved.
  • About Us
  • Terms of Use / Privacy Policy
  • Copyrights
  • Our Rating System
  • Publish an Article on OCmodshop
  • Contest Rules
OCmodshop.com
FacebookTwitterYoutubeTwitchSteam
  • Hardware
    • Audio
    • Cases
    • Coolers
    • Gadgets
    • Home Theater
    • Input Devices
    • Laptops
    • Memory (RAM)
    • Motherboards
    • Networking
    • Power Supplies
    • Processors (CPU)
    • Storage
    • Video Cards
  • Gaming
    • Gaming Accessories
    • Game Walkthroughs
    • PC Games
    • Xbox
    • Playstation
    • Nintendo
  • Articles
    • How-To Guides
    • Case Mod Projects
    • Software
    • Event Coverage
    • Movies
    • Interviews
  • Podcast
Manage Consent
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
  • Manage options
  • Manage services
  • Manage {vendor_count} vendors
  • Read more about these purposes
View preferences
  • {title}
  • {title}
  • {title}