Zen Cart Logo
Forums / Installing on a Linux/Unix Server / Best practice for running PHP ?

Best practice for running PHP ?

Views: 1,043

Results 1 to 2 of 2
9 Feb 2011, 5:46 PM
#1
patf avatar

patf

Zen Follower

Join Date:
May 2008
Posts:
200
Plugin Contributions:
0

Best practice for running PHP ?

We have the choice of running PHP as

Apache Module
CGI Module
or Fast CGi Module

I thought I had read somewhere here that running as an apache module was a security risk but can't find the post. I did however read this tutorial which mentions apache as being the best way forward.

Just wondering did I imagine the security issue with this ?

Thanks

10 Feb 2011, 12:23 AM
#2
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,694
Plugin Contributions:
56

Re: Best practice for running PHP ?

You did not imagine it. Because Zen cart needs write access to certain directories (such as images), Apache forces you to make these directories world-writable.