Notes on moving server from release 1 (11/24) to release 2 (12/01)

By tobyelliott

Because we implemented the server to the 0.3 API and the only changes to the API have been in optional areas, the older version of the server will continue to work. However, at some point, you’ll want to upgrade to take advantage of some of the fixes. What then?

The bad news is that it’s not as simple as just updating from Mercurial. The good news is that it isn’t too hard.

  1. Upgrade your tree
  2. In the top level of the weaveserver directory is a file called weave_constants.php. Take the variables that you’d defined in your apache environment and move them into the appropriate places here. You can delete them from your environment after that. Note that you still need to leave in the Alias directives – you’re just moving the SetEnv ones.
  3. Take weave_constants.php and put the file into your php include path. The easiest place (and least secure) is in the same directory as the rest of the weave code, but /usr/share/php and similar directories may be available to you depending on the level of control you have over your server.

That should do it. If you run into problems, hop over to the forums and we’ll see what we can do.

One Response to “Notes on moving server from release 1 (11/24) to release 2 (12/01)”

  1. Notes on moving server from release 1 (11/24) to release 2 (12/01) | PHP-Blog.com Says:

    [...] original post here: Notes on moving server from release 1 (11/24) to release 2 (12/01) Related ArticlesBookmarksTags Release history 1.0 1.0.0 1995-06-08 Officially called [...]

Leave a Reply