OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki


use of Phar versus Tar for patches

Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, michael, jheckman, barbarah, btbell, bdgregg, asmecher

Forum rules
What to do if you have a technical problem with OJS:

1. Search the forum. You can do this from the Advanced Search Page or from our Google Custom Search, which will search the entire PKP site. If you are encountering an error, we especially recommend searching the forum for said error.

2. Check the FAQ to see if your question or error has already been resolved.

3. Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OJS Editorial Support and Discussion subforum; if you have a development question, try the OJS Development subforum.

use of Phar versus Tar for patches

Postby radjr » Wed Feb 13, 2013 9:59 pm

WE have OJS .2.3.8 and want to patch it to the latest version. The instructions call for TAR but that is not available on a windows platform. Can we use the PHAR command and change the scripts for patching? That brings the question...is it better to host this on a linux platform versus a virtual windows platform? The windows platform works great so far. Thanks in advance for any help. Cheers!
radjr
 
Posts: 29
Joined: Thu Jan 17, 2013 1:19 pm

Re: use of Phar versus Tar for patches

Postby asmecher » Thu Feb 14, 2013 8:32 am

Hi radjr,

Tar is available for windows -- just google "tar for windows" -- all you have to do is configure config.inc.php with its location. I'm not familiar with phar, but if it's compatible with the same command-line options as tar, you can use it instead.

A windows server should be fine; anecdotally we've heard that it performs a little slower than Linux because of the characteristics of the NTFS filesystem, but unless you're seeing heavy load (and there are lots of other options for optimization that could come before a platform change) you should be fine.

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 5748
Joined: Wed Aug 10, 2005 12:56 pm


Return to OJS Technical Support

Who is online

Users browsing this forum: Google [Bot] and 1 guest