Archive for October 26th, 2006

Running PHP as CGI

I’m new to PHP running in Safe Mode, but since I started using Media Temple for a client I have had to take some time to understand the common workarounds. For those of you unfamiliar with PHP Safe Mode, it locks script permissions down tightly and only allows a script to execute or modify a file it “owns”. This means that many of the tasks typically run from a browser that modify the file structure of a Web site are no longer possible.

Thankfully, PHP allows users to set up a PHP as CGI folder and run the scripts from that folder with full permissions to access the site’s directory structure. Exactly why this is more secure escapes me. Larry Ullman’s forum has an interesting thread discussing exactly how to set this up.

There’s also a useful article in Media Temple’s knowledge base.

October 26th, 2006


About Harvey Ramer

CSS Web design, e-commerce Web design, and internet marketing issues from the desk of Harvey A. Ramer at Design Delineations.

View Harvey Ramer's profile on LinkedIn

Reader/Customer Feedback

Harvey Recommends

Accolades

Design Notes: A CSS Web Designer’s Blog at Blogged

Calendar

October 2006
M T W T F S S
« Sep   Nov »
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

Posts by Month

Posts by Category