Personal tools

Difference between revisions of "Software hints"

From PhotoVoltaic Logger new generation

Jump to: navigation, search
m
m (Apache)
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:
 +
 
 +
# 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:

Revision as of 20:38, 30 August 2014

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:

# 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