smoldersonline Posted March 30, 2016 Share Posted March 30, 2016 I am uncertain as to how I can manually install a PHP extension, that is not included in the Base distro (neither 6.1.9 nor 6.2-beta20). It seems that I need the MySQL extension to properly run Spotweb. When I run php -m, mysql is not listed. I would be very grateful for pointers on how I could best achieve this.. Quote Link to comment
BRiT Posted March 30, 2016 Share Posted March 30, 2016 Add a second docker container for mysql / mariadb and have spotweb use that for the database. Quote Link to comment
smoldersonline Posted March 30, 2016 Author Share Posted March 30, 2016 Thanks BRiT. I think my MySQL docker is running fine, I can access the Spotweb database and it will update using the retrieve button from the web interface. However, from the CLI I get the following: root@Tower-unRAID:/mnt/cache# /usr/bin/php /mnt/cache/_Usenet/Apache/www/spotweb/retrieve.php Fatal error: Undefined class constant 'MYSQL_ATTR_FOUND_ROWS' in /mnt/cache/_Usenet/Apache/www/spotweb/lib/dbeng/dbeng_pdo_mysql.php on line 28 In another thread, I got pointed towards the MySQL extension. I'm exploring this because I would like to set up a cron job for the retrieve. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.