HP-ProBook-430-G4:~$ apachectl -t
Syntax OK
HP-ProBook-430-G4:~$ cat /var/log/apache2/error.log
[Tue Jan 16 09:04:49.095714 2018] [mpm_prefork:notice] [pid 12778] AH00163: Apache/2.4.18 (Ubuntu) configured -- resuming normal operations
[Tue Jan 16 09:04:49.095773 2018] [core:notice] [pid 12778] AH00094: Command line: '/usr/sbin/apache2'
[Tue Jan 16 09:05:12.627083 2018] [mpm_prefork:notice] [pid 12778] AH00169: caught SIGTERM, shutting down
[Tue Jan 16 09:05:28.664616 2018] [mpm_prefork:notice] [pid 12902] AH00163: Apache/2.4.18 (Ubuntu) configured -- resuming normal operations
[Tue Jan 16 09:05:28.664680 2018] [core:notice] [pid 12902] AH00094: Command line: '/usr/sbin/apache2'
[Tue Jan 16 09:18:27.314385 2018] [mpm_prefork:notice] [pid 12902] AH00169: caught SIGTERM, shutting down
[Tue Jan 16 09:18:28.412964 2018] [mpm_prefork:notice] [pid 14466] AH00163: Apache/2.4.18 (Ubuntu) configured -- resuming normal operations
[Tue Jan 16 09:18:28.413019 2018] [core:notice] [pid 14466] AH00094: Command line: '/usr/sbin/apache2'
[Tue Jan 16 09:18:50.464740 2018] [mpm_prefork:notice] [pid 14466] AH00169: caught SIGTERM, shutting down
[Tue Jan 16 09:18:51.544949 2018] [mpm_prefork:notice] [pid 14538] AH00163: Apache/2.4.18 (Ubuntu) configured -- resuming normal operations
[Tue Jan 16 09:18:51.545007 2018] [core:notice] [pid 14538] AH00094: Command line: '/usr/sbin/apache2'
[Tue Jan 16 09:18:59.255548 2018] [mpm_prefork:notice] [pid 14538] AH00169: caught SIGTERM, shutting down
[Tue Jan 16 09:19:07.096117 2018] [mpm_prefork:notice] [pid 14642] AH00163: Apache/2.4.18 (Ubuntu) configured -- resuming normal operations
[Tue Jan 16 09:19:07.096182 2018] [core:notice] [pid 14642] AH00094: Command line: '/usr/sbin/apache2'
[Tue Jan 16 09:19:13.044420 2018] [mpm_prefork:notice] [pid 14642] AH00169: caught SIGTERM, shutting down
[Tue Jan 16 09:20:15.950582 2018] [mpm_prefork:notice] [pid 14805] AH00163: Apache/2.4.18 (Ubuntu) configured -- resuming normal operations
[Tue Jan 16 09:20:15.950641 2018] [core:notice] [pid 14805] AH00094: Command line: '/usr/sbin/apache2'
[Tue Jan 16 09:22:23.692158 2018] [mpm_prefork:notice] [pid 14805] AH00169: caught SIGTERM, shutting down
[Tue Jan 16 09:22:26.787585 2018] [mpm_prefork:notice] [pid 15007] AH00163: Apache/2.4.18 (Ubuntu) configured -- resuming normal operations
[Tue Jan 16 09:22:26.787640 2018] [core:notice] [pid 15007] AH00094: Command line: '/usr/sbin/apache2'
[Tue Jan 16 09:27:09.094731 2018] [mpm_prefork:notice] [pid 15007] AH00169: caught SIGTERM, shutting down
[Tue Jan 16 09:27:10.177130 2018] [mpm_prefork:notice] [pid 15201] AH00163: Apache/2.4.18 (Ubuntu) configured -- resuming normal operations
[Tue Jan 16 09:27:10.177187 2018] [core:notice] [pid 15201] AH00094: Command line: '/usr/sbin/apache2'
[Tue Jan 16 09:28:16.522128 2018] [mpm_prefork:notice] [pid 15201] AH00169: caught SIGTERM, shutting down
[Tue Jan 16 09:28:17.604841 2018] [mpm_prefork:notice] [pid 15325] AH00163: Apache/2.4.18 (Ubuntu) configured -- resuming normal operations
[Tue Jan 16 09:28:17.604897 2018] [core:notice] [pid 15325] AH00094: Command line: '/usr/sbin/apache2'
[Tue Jan 16 09:30:09.443825 2018] [mpm_prefork:notice] [pid 15325] AH00169: caught SIGTERM, shutting down
[Tue Jan 16 09:30:10.548955 2018] [mpm_prefork:notice] [pid 15636] AH00163: Apache/2.4.18 (Ubuntu) configured -- resuming normal operations
[Tue Jan 16 09:30:10.549018 2018] [core:notice] [pid 15636] AH00094: Command line: '/usr/sbin/apache2'
[Tue Jan 16 09:30:35.651509 2018] [mpm_prefork:notice] [pid 15636] AH00169: caught SIGTERM, shutting down
[Tue Jan 16 09:30:36.737224 2018] [mpm_prefork:notice] [pid 15705] AH00163: Apache/2.4.18 (Ubuntu) configured -- resuming normal operations
[Tue Jan 16 09:30:36.737278 2018] [core:notice] [pid 15705] AH00094: Command line: '/usr/sbin/apache2'
[Tue Jan 16 09:30:57.936708 2018] [mpm_prefork:notice] [pid 15705] AH00169: caught SIGTERM, shutting down
[Tue Jan 16 09:30:59.019499 2018] [mpm_prefork:notice] [pid 15828] AH00163: Apache/2.4.18 (Ubuntu) configured -- resuming normal operations
[Tue Jan 16 09:30:59.019557 2018] [core:notice] [pid 15828] AH00094: Command line: '/usr/sbin/apache2'
[Tue Jan 16 09:31:18.721403 2018] [mpm_prefork:notice] [pid 15828] AH00169: caught SIGTERM, shutting down
[Tue Jan 16 09:31:19.809826 2018] [mpm_prefork:notice] [pid 15912] AH00163: Apache/2.4.18 (Ubuntu) configured -- resuming normal operations
[Tue Jan 16 09:31:19.809876 2018] [core:notice] [pid 15912] AH00094: Command line: '/usr/sbin/apache2'
[Tue Jan 16 09:40:49.605650 2018] [mpm_prefork:notice] [pid 15912] AH00169: caught SIGTERM, shutting down
[Tue Jan 16 14:18:53.009919 2018] [mpm_prefork:notice] [pid 1428] AH00163: Apache/2.4.18 (Ubuntu) configured -- resuming normal operations
[Tue Jan 16 14:18:53.010097 2018] [core:notice] [pid 1428] AH00094: Command line: '/usr/sbin/apache2'
CREATE TABLE IF NOT EXISTS `products` (
`id` int(11) unsigned NOT NULL,
`sku` varchar(32) NOT NULL,
`name` tinytext NOT NULL,
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=409 ;
INSERT INTO `products` (`id`, `sku`, `name`, `created_at`, `updated_at`) VALUES
(1, '111', 'Item 1', '', '0000-00-00 00:00:00'),
(2, '222', 'Item 2', '', '0000-00-00 00:00:00'),
(3, '333', 'Item 3', '', '0000-00-00 00:00:00');
CREATE TABLE IF NOT EXISTS `product_attributes` (
`id` int(10) unsigned NOT NULL,
`attribute_id` int(10) unsigned NOT NULL,
`value_id` int(10) unsigned NOT NULL,
`product_id` int(10) unsigned NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=4820 ;
INSERT INTO `product_attributes` (`id`, `attribute_id`, `value_id`, `product_id`) VALUES
(1, 11, 1, 1),
(2, 12, 2, 1),
(3, 13, 3, 1),
(4, 11, 1, 2),
(5, 12, 5, 2),
(6, 13, 6, 2),
(7, 11, 1, 3),
(8, 12, 8, 3),
(9, 13, 3, 3);