On 27/01/2015, at 11:09 PM, Paul Royik <[email protected]> wrote:
> They use Apache 2.2 and mod_wsgi 3.4
> How can I upgrade them from command line.
>
> Please guide me, as I'm very new to this.
It has been a very long time since I have logged onto a WebFaction system so my
memory of it is very slim.
There are also two approaches one can take to getting you running on a newer
mod_wsgi version.
I therefore need you to do a title bit of home work for me so I know how
WebFaction is currently setting up the system and can advise the best path
forward.
The first thing we need to work out is whether the WebFaction Apache
installation is a complete installation, or whether it is missing the header
files and build tools required to even allow you to build mod_wsgi from source
code. If they are missing, then there may not be a lot you can do.
So, can you see if you get anything when you run:
which apxs
If this doesn't find where apxs is installed, we need to work out where the
Apache being used may even be installed.
I have a vague recollection they have their own installation under /usr/local
somewhere.
According to:
http://docs.webfaction.com/software/django/config.html#django-restarting
which although Django specific is I believe not too much different even if
using another framework, you should have a few admin scripts they generate to
allow you to start and stop Apache.
Find therefore the equivalent for your system for:
$HOME/webapps/django_app/apache2/bin/
What is in that directory:
ls -las $HOME/webapps/django_app/apache2/bin/
There should be start, stop and restart scripts at least.
What is in the 'start' script itself.
Also what else is under the 'apache2' directory:
ls -las $HOME/webapps/django_app/apache2
With that information, can then work out where to look next for what else I
need to know.
Graham
--
You received this message because you are subscribed to the Google Groups
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.