Personal tools

Difference between revisions of "Software hints"

From PhotoVoltaic Logger new generation

Jump to: navigation, search
m
m (Nginx)
 
(5 intermediate revisions by the same user not shown)
Line 76: Line 76:
 
  [Zend Modules]
 
  [Zend Modules]
  
== Apache ==
+
== Web server ==
 +
 
 +
Make sure, that your installed files are owned by the user '''which runs the web server''', especially if you '''installed as an other user'''!
 +
 
 +
Let's say, your document root is <tt>/var/www</tt> and the user is <tt>www-data</tt> (with group <tt>www-data</tt>) run the following command afterwards:
 +
 
 +
# chown -R www-data:www-data /var/www
 +
 
 +
=== Apache ===
  
 
For correct front end function, the following modules '''must''' be enabled:
 
For correct front end function, the following modules '''must''' be enabled:
Line 82: Line 90:
 
* <tt>mod_expires</tt>
 
* <tt>mod_expires</tt>
 
* <tt>mod_headers</tt>
 
* <tt>mod_headers</tt>
 +
 +
=== Nginx ===
 +
 +
There is a template config for Nginx in [https://github.com/KKoPV/PVLng/blob/master/config/pvlng.nginx.conf.dist <tt>config/pvlng.nginx.conf.dist</tt>]
 +
 +
See comments for needed adjustments.

Latest revision as of 09:49, 7 April 2017

PHP

I'm not really sure, which extensions really required, but with this configuration it works for me:

~ # php -v
PHP 5.4.4-14+deb7u14 (cli) (built: Aug 21 2014 09:43:31)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies

~ # php -m
[PHP Modules]
bcmath
bz2
calendar
Core
ctype
curl
date
dba
dom
ereg
exif
fileinfo
filter
ftp
gd
gettext
hash
iconv
imagick
imap
intl
json
libxml
mbstring
mcrypt
memcache
mhash
ming
mysql
mysqli
newrelic
openssl
pcntl
pcre
PDO
pdo_mysql
Phar
posix
ps
pspell
recode
Reflection
session
shmop
SimpleXML
snmp
soap
sockets
SPL
standard
sysvmsg
sysvsem
sysvshm
tidy
tokenizer
wddx
xml
xmlreader
xmlrpc
xmlwriter
xsl
zip
zlib

[Zend Modules]

Web server

Make sure, that your installed files are owned by the user which runs the web server, especially if you installed as an other user!

Let's say, your document root is /var/www and the user is www-data (with group www-data) run the following command afterwards:

# chown -R www-data:www-data /var/www

Apache

For correct front end function, the following modules must be enabled:

  • mod_rewrite
  • mod_expires
  • mod_headers

Nginx

There is a template config for Nginx in config/pvlng.nginx.conf.dist

See comments for needed adjustments.