Hey,
>Since your initial email you have not included any config files, i.e.
>httpd.conf, etc. Would you, perhaps, care to share them with us? My
>shew stone is being serviced.
Of course. Here they are:
# cat /etc/httpd.conf
server "default" {
listen on wpi0 port 80
directory { no index, index index.php }
location "*.php" {
fastcgi socket "/run/php-fpm.sock"
}
}
types {
include "/usr/share/misc/mime.types"
}
/etc/php-5.5.ini: everything default except the values mentioned in the
pkg-readme of owncloud:
allow_url_fopen = On
memory_limit = 512M
upload_max_filesize = 1024M # to accept large files upload
post_max_size = 1030M # sync with above value
all other php module config files unchanged, and active according to
phpinfo().
# cat /var/www/owncloud/config/config.php
<?php
$CONFIG = array (
'instanceid' => 'MY_ID',
'passwordsalt' => 'MY_PW-SALT',
'secret' => 'MY_SECRECT',
'trusted_domains' =>
array (
0 => '192.168.178.49',
),
'datadirectory' => '/owncloud-data',
'overwrite.cli.url' => 'http://192.168.178.49/owncloud',
'dbtype' => 'sqlite3',
'version' => '7.0.4.2',
'dbname' => 'owncloud_db',
'dbhost' => '127.0.0.1',
'dbtableprefix' => 'oc_',
'dbuser' => 'oc_clemens',
'dbpassword' => 'MY_DB-PASSWORD',
'installed' => true,
);
change in /etc/my.conf as described in the mariadb pkg-readme (I did not
manage to use MariaDB with owncloud or wordpress yet):
chrooted daemons and MariaDB socket
===================================
For external program running under a chroot(8) to be able to access the
MariaDB server without using a network connection, the socket must be
placed inside the chroot.
e.g. httpd(8) or nginx(8): connecting to MariaDB from PHP
---------------------------------------------------------
Create a directory for the MariaDB socket:
# install -d -m 0711 -o _mysql -g _mysql /var/www/var/run/mysql
Adjust /etc/my.cnf to put and connect to the MariaDB socket
within the chroot:
[client]
socket = /var/www/var/run/mysql/mysql.sock
[mysqld]
socket = /var/www/var/run/mysql/mysql.sock
If I missed a config file, let me know!
Clemens