Personal tools

Software hints

From PhotoVoltaic Logger new generation

Jump to: navigation, search

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.