php updated to 5.6.10
Sqlite updated to 3.10.8
nmap added
Go added (experimental)
OpenSSL updated to 1.0.2c
BenS a dit:In order to get the MySQL-Server working, I need to change the MYSQL_SOCKET path on my QNAP TS-269L from /tmp/mysql/mysql.sock to /tmp/mysql.sock. I therefore edited the php.ini file and restarted the Apache web server. But the changes won´t take any effect. PHP-Info still says that the Socket-Path is under /tmp/mysql/mysql.sock. I then tried to set a symlink to the file. This worked but the /tmp-folder is not persistent on QNAP which means that after every restart of the NAS, the database won´t work anymore.
Do you have any idea how to fix this? It seems like that the MYSQL_SOCKET path isn´t read from php.ini but was hard-compiled with a flag?
Thank you very much for your answers and best regards
Ben
uschti a dit:FIXXED!
The problem was that by settings the 127.0.0.1 for the connection the mysql server was not listening on. I changed the settings of mysql server under the qnap web interface, I enabled the checkbox "Enable TCP/IP networking". Now works fine!
Thanks to all
Andrea
./configure --with-mysql-sock=/tmp/mysql/mysql.sock
export MYSQL_SOCKET=your-location
BenS a dit:Thanks for this hint. Setting the symlink worked fine. I noticed that Zend Opcache is disabled. How can I activate it?
BenS a dit:The interesting question is why Opcache is disabled even though you compiled PHP with --enable-opcache. In addition, you can enable Opcache by setting opcache.enable=1. But for some reason, entries in php.ini are ignored in your QPKG...
Opcache is very important for bigger web applications such as ownCloud and others. Do you have another idea how I could enable Opcache in your QPKG?
Thanks for your answers and best rgards
Ben
zend_extension=/share/CACHEDEV1_DATA/.qpkg/Qapache/lib/extensions/no-debug-zts-20131226/opcache.so
This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2015, by Zend Technologies