News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Matthew Weier O'Phinney:
Deployment with Zend Server (Part 3 of 8)
September 03, 2014 @ 09:34:51

Matthew Weier O'Phinney has posted the third article in his "Deploying Zend Server Tips" series today. In this tip he talks about file permissions and execution of shell commands.

In the first tip, I detailed writing deployment scripts. One of the snippets I shared was a chmod routine. [...] The code is fine; what I did not share is where in the deployment script you should invoke it. As I discovered from experience, this is key.

He points out that the deployment is run under a different user than the web server user. Future writes to those files by the web server could fail because of it, so he recommends running the permission change as the last step of the deployment script. If this ti was interesting and you'd like to check out more, you can find them in the first and second parts of the series.

0 comments voice your opinion now!
zendserver deployment tips series part3 chmod script

Link: https://mwop.net/blog/2014-09-02-zend-server-deployment-part-3.html

blog comments powered by Disqus

Similar Posts

Jakob Westhoff's Blog: Class dependency graph generation

NetTuts.com: Refactoring Legacy Code: Part 4 - Our First Unit Tests

Matthew Weier O'Phinney: Deployment with Zend Server (Part 2 of 8)

DevShed: Overloading Classes in PHP 5

Tiger Heron Blog: First steps with PHP - booting a script, Part 2


Community Events

Don't see your event here?
Let us know!


interview language framework podcast application project example laravel php7 programming series part2 symfony introduction list community api opinion composer yii2

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework