NYCPHP Meetup

NYPHP.org

[nycphp-talk] Deploying PHP Applications

Leam Hall leam at reuel.net
Sun May 2 06:53:22 EDT 2010


Actually, we use "ln -s".  :)

Leam

Konstantin K wrote:
> This is why sys admins use stow from gnu
> 
> On Saturday, May 1, 2010, Yitzchak Schaffer <yitzchak.schaffer at gmx.com> wrote:
>> On Apr 29, 2010, at 1:35 PM, Jason Salsiccia wrote:
>>
>> If your doc root is /var/www/html, have html be a symlink to current code.
>> /var/www/html -> /var/www/tag_XXXX
>>
>>
>> Perhaps this is obvious to many here, but I discovered this works wonders for vendor libraries like symfony - point the app's require statement to '/usr/local/lib/symfony-1.4', and symlink
>> /usr/local/lib/symfony-1.4 -> /usr/local/lib/symfony-1.4.4
>>
>> That way you can download the new release of symfony (say 1.4.5), and just change the symlink & delete the old libraries.  I don't remember what I was doing before, but it was a mess compared to this.
>>
>> --
>> Yitzchak Schaffer
>> Systems Manager
>> Touro College Libraries
>> 33 West 23rd Street
>> New York, NY 10010
>> Tel (212) 463-0400 x5230
>> Fax (212) 627-3197
>> Email yitzchak.schaffer at tourolib.org
>>
>> Access Problems? Contact systems.library at touro.edu
>> _______________________________________________
>> New York PHP Users Group Community Talk Mailing List
>> http://lists.nyphp.org/mailman/listinfo/talk
>>
>> http://www.nyphp.org/Show-Participation
>>
> _______________________________________________
> New York PHP Users Group Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
> 
> http://www.nyphp.org/Show-Participation
> 



More information about the talk mailing list