{"id":4366,"date":"2020-11-17T17:53:17","date_gmt":"2020-11-17T08:53:17","guid":{"rendered":"\/media\/?p=4366"},"modified":"2024-05-23T11:06:53","modified_gmt":"2024-05-23T02:06:53","slug":"laravel-snappy","status":"publish","type":"post","link":"https:\/\/www.flying-h.co.jp\/media\/2020\/11\/17\/laravel-snappy\/","title":{"rendered":"\u30b7\u30b9\u30c6\u30e0\u958b\u767a &#8211; Laravel-Snappy\u3092\u5546\u7528\u30b5\u30fc\u30d0\u30fc\u3067\u4f7f\u7528\u3059\u308b"},"content":{"rendered":"\n<p>\u5546\u7528\u30b5\u30fc\u30d0\u30fc\u3067Laravel-Snappy\u3092\u5229\u7528\u3057\u3088\u3046\u3068\u3057\u3066\u304b\u306a\u308a\u306f\u307e\u3063\u305f\u306e\u3067\u3001\u5099\u5fd8\u9332\u3068\u3057\u3066\u6b8b\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u74b0\u5883<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Laravel 6<\/li>\n\n\n\n<li>laravel-snappy 0.4.8<\/li>\n\n\n\n<li>wkhmltopdf 0.12.6<\/li>\n\n\n\n<li>CPI\u30b5\u30fc\u30d0\u30fc&nbsp;\u30b7\u30a7\u30a2\u30fc\u30c9\u30d7\u30e9\u30f3 ACE01<\/li>\n<\/ul>\n\n\n\n<p>\u4eca\u56de\u306e\u76ee\u7684\u306f\u3001Chart\u3084Graph\u3092\u63b2\u8f09\u3057\u305fPDF\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u305d\u3053\u3067\u3001\u300cLaravel chart pdf\u300d\u306a\u3069\u3067\u691c\u7d22\u3057\u3066\u8272\u3005\u8abf\u3079\u3066\u307f\u305f\u306e\u3067\u3059\u304c\u3001\u5358\u306a\u308bPDF\u3092\u5410\u304d\u51fa\u3059\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u306f\u5bfe\u5fdc\u3067\u304d\u306a\u3044\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u7406\u7531\u306f\u3001PDF\u3092\u5410\u304d\u51fa\u3059\u30e9\u30a4\u30d6\u30e9\u30ea\u304cJS\u3092\u5c55\u958b\u3067\u304d\u306a\u3044\u3053\u3068\u3084\u4e00\u90e8CSS\u306b\u3057\u304b\u5bfe\u5fdc\u3057\u3066\u3044\u306a\u3044\u307f\u305f\u3044\u3067\u3001\u3053\u308c\u3067\u306f\u7406\u60f3\u3068\u3059\u308bPDF\u306f\u5b9f\u73fe\u3067\u304d\u306a\u3055\u305d\u3046\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u6700\u7d42\u7684\u306b\u306f\u4e0b\u8a18\u306e\u4e8c\u3064\u306e\u65b9\u6cd5\u3092\u691c\u8a0e\u3059\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Headless Chrome\u306e\u5229\u7528<\/li>\n\n\n\n<li>Laravel-Snappy\u306e\u5229\u7528<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">\u4eca\u56de\u306fLaravel-Snappy\u3092\u4f7f\u3063\u3066\u307f\u308b<\/h2>\n\n\n\n<p>Laravel-Snappy\u306e\u8a2d\u5b9a\u3067\u3059\u304c\u3001\u975e\u5e38\u306b\u9aa8\u304c\u304a\u308c\u307e\u3057\u305f\u3002\u3002\u3002<\/p>\n\n\n\n<p>\u3053\u306eLaravel-Snappy\u3067\u306f\u3001\u5143Google\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3060\u3063\u305f\u306e\u3067\u3057\u3087\u3046\u304b\uff1f&nbsp;wkhtmltopdf \u3068\u3044\u3046\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u5fc5\u8981\u3068\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p><a href=\"https:\/\/wkhtmltopdf.org\/\" target=\"_blank\" rel=\"noopener nofollow\" title=\"\">https:\/\/wkhtmltopdf.org\/<\/a><\/p>\n\n\n\n<p>\u3053\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u4e00\u7b4b\u7e04\u3067\u306f\u3044\u304d\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p>\u307e\u305a\u306f\u3001\u4e0b\u8a18\u306e\u30b5\u30a4\u30c8\u3092\u53c2\u8003\u306b\u3057\u3066\u3001Laravel-Snappy\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002\u3056\u3063\u304f\u308aLaravel\u304c\u3089\u307f\u306e\u8a2d\u5b9a\u306f\u884c\u3044\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p><a href=\"https:\/\/qiita.com\/ats05\/items\/cbb2956727cad2681d1d\" target=\"_blank\" rel=\"noopener nofollow\" title=\"\">Laravel-Snappy\u3067pdf\u3092\u51fa\u529b\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308b\u307e\u3067[1\/25\u66f4\u65b0] &#8211; Qiita<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u30ed\u30fc\u30ab\u30eb\u3068\u516c\u958b\u30b5\u30fc\u30d0\u30fc\u306e\u9055\u3044<\/h3>\n\n\n\n<p><a href=\"https:\/\/wkhtmltopdf.org\/\" target=\"_blank\" rel=\"noopener nofollow\" title=\"\">wkhtmltopdf<\/a><\/p>\n\n\n\n<p>\u4e00\u822c\u7684\u306b\u306f\u3001\u4e0a\u8a18\u30b5\u30a4\u30c8\u304b\u3089\u3001\u81ea\u5206\u306e\u74b0\u5883\u306b\u3042\u3063\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u304d\u3066\u3001\u305d\u3053\u306bLaravel-Snappy\u306e\u74b0\u5883\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306b\u305d\u306e\u30d1\u30b9\u3092\u8a18\u8ff0\u3059\u308b\u3060\u3051\u306e\u3088\u3046\u3067\u3059\u304c\u3001\u5b9f\u969b\u306f\u3001\u30ed\u30fc\u30ab\u30eb\u306e\u30b5\u30fc\u30d0\u30fc\u74b0\u5883\u3068\u516c\u958b\u3059\u308b\u30b5\u30fc\u30d0\u30fc\u74b0\u5883\u304c\u7570\u306a\u308b\u5834\u5408\u304c\u591a\u3044\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u306a\u306e\u3067\u3001\u30ed\u30fc\u30ab\u30eb\u306e\u8a2d\u5b9a\u3092\u305d\u306e\u307e\u307e\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u3066\u3082\u3046\u307e\u304f\u3044\u304d\u307e\u305b\u3093\u3002\u5b9f\u969b\u305d\u306e\u3088\u3046\u306a\u5831\u544a\u3084\u30b9\u30ec\u30c3\u30c9\u304c\u3042\u3063\u3061\u3053\u3063\u3061\u306b\u3042\u308a\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u3053\u306e\u6642\u3067\u308b\u30a8\u30e9\u30fc\u306b\u306f\u3001\u3088\u304f\u898b\u308b\u3068\u300cExec format error\u300d\u3068\u3044\u3046\u30a8\u30e9\u30fc\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u306a\u3093\u306e\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u304c\u9055\u3046\u306e\u304b\u3001\u304b\u306a\u308a\u3055\u8ff7\u3044\u307e\u3057\u305f\u304c\u3001\u7d50\u679c\u7684\u306b\u306f\u3001\u305d\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u30d0\u30a4\u30ca\u30ea\u30d5\u30a1\u30a4\u30eb\u304c\u305d\u3082\u305d\u3082\u7406\u89e3\u3067\u304d\u306a\u3044\u3001\u4f8b\u3048\u308b\u306a\u3089\u3001\u65e5\u672c\u8a9e\u306a\u3089\u8aad\u3081\u308b\u3051\u3069\u3001\u4e2d\u56fd\u8a9e\u3058\u3083\u8aad\u3081\u306a\u3044\u3088\uff01\u3068\u3044\u3046\u3001\u5168\u7136\u9055\u3046\u3088\uff01\u3063\u3066\u30a8\u30e9\u30fc\u3060\u3063\u305f\u3088\u3046\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u516c\u958b\u30b5\u30fc\u30d0\u30fc\u306eOS\u3092\u8abf\u3079\u308b<\/h3>\n\n\n\n<p>\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u5408\u308f\u305b\u308b\u305f\u3081\u306b\u306f\u3001\u516c\u958b\u30b5\u30fc\u30d0\u30fc\u306eOS\u3092\u8abf\u3079\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p>\u4eca\u56de\u306e\u30b5\u30fc\u30d0\u30fc\u306f\u3001CPI\u306eACE01\u3067\u3059\u3002\u30b0\u30b0\u3063\u3066\u307f\u307e\u3057\u305f\u304c\u3001OS\u3068\u306a\u308b\u3068\u305d\u308c\u3089\u3057\u3044\u8868\u73fe\u304c\u5168\u304f\u3067\u3066\u304d\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p>\u305d\u3053\u3067SSH\u3067\u30b5\u30fc\u30d0\u30fc\u306b\u63a5\u7d9a\u3057\u3001OS\u3092\u8abf\u3079\u3088\u3046\u3068\u8003\u3048\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p><a href=\"https:\/\/www.cpi.ad.jp\/shared\/ace01\/startup\/pdf\/setup_sshkey_pc_teraterm.pdf\" target=\"_blank\" rel=\"noopener nofollow\" title=\"\">https:\/\/www.cpi.ad.jp\/shared\/ace01\/startup\/pdf\/setup_sshkey_pc_teraterm.pdf<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">FreeBSD\u3068wkhtmltopdf\u00a0<\/h3>\n\n\n\n<p>SSH\u3067CPI\u306b\u63a5\u7d9a\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>Welcome to FreeBSD!<\/code><\/pre><\/div>\n\n\n\n<p>\u63a5\u7d9a\u304c\u7121\u4e8b\u5b8c\u4e86\u3057\u307e\u3057\u305f\u304c\u3001\u305d\u3082\u305d\u3082\u300cFreeBSD\u300d\u81ea\u4f53\u3092\u3042\u307e\u308a\u7406\u89e3\u3057\u3066\u3044\u307e\u305b\u3093\u3002\u3002\u3002<\/p>\n\n\n\n<p>\u305d\u3053\u3067\u3001\u4e00\u6b69\u3055\u304c\u308a\u3001FreeBSD\u3092\u8abf\u3079\u308b\u3068\u3001<code>uname -a<\/code>\u3068\u3044\u3046\u30b3\u30de\u30f3\u30c9\u306b\u3044\u304d\u3064\u304d\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u30b3\u30de\u30f3\u30c9\u3092\u305f\u305f\u304f\u3068\u3001<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>% uname -a\nFreeBSD xxxxxx.secure.ne.jp 11.3-RELEASE-p6 FreeBSD 11.3-RELEASE-p6 #0: Tue Jan 28 00:00:00 UTC 2020\nroot@amd64-builder.daemonology.net:\/usr\/obj\/usr\/src\/sys\/GENERIC amd64<\/code><\/pre><\/div>\n\n\n\n<p><a href=\"https:\/\/wkhtmltopdf.org\/downloads.html\" target=\"_blank\" rel=\"noreferrer noopener\"><br>wkhtmltopdf\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u30da\u30fc\u30b8<\/a>\u3067\u306f\u3001OS\u306e\u7a2e\u985e\u3068\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u5fc5\u8981\u3067\u3059\u3002\u305f\u3060<code>amd64<\/code>\u3068\u3044\u3046\u3068\u3053\u308d\u3060\u3051\u306f\u3001\u898b\u3064\u3051\u3089\u308c\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u3053\u306e\u30b5\u30fc\u30d0\u30fc\u306eOS\u306f\u4f55\u3060\uff1f\uff1f\u3068\u8abf\u3079\u307e\u304f\u3063\u3066\u3044\u308b\u3068\u3053\u308d\u3001\u5076\u7136\u8abf\u3079\u305f\u300cFreeBSD wkhtmltopsd\u300d\u3068\u3044\u3046\u30ad\u30fc\u30ef\u30fc\u30c9\u3067\u4e0b\u8a18\u306e\u30da\u30fc\u30b8\u306b\u305f\u3069\u308a\u7740\u304d\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p><a href=\"https:\/\/freebsd.pkgs.org\/11\/freebsd-amd64\/wkhtmltopdf-0.12.6.txz.html\" target=\"_blank\" rel=\"noreferrer noopener\">wkhtmltopdf-0.12.6.txz<\/a><\/p>\n\n\n\n<p>\u300cFreeBSD 11\u300d\u300camd64\u300d\u306e\u30ad\u30fc\u30ef\u30fc\u30c9\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u3060\uff01\u3068\u601d\u3044\u3001\u30b5\u30fc\u30d0\u30fc\u306b\u5c55\u958b\u3059\u308b\u65b9\u6cd5\u3092\u63a2\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u305d\u3057\u3066\u898b\u3064\u3051\u305f\u65b9\u6cd5\u304c\u4e0b\u8a18\u3067\u3059<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>$ wget https:\/\/pkg.freebsd.org\/FreeBSD:11:amd64\/quarterly\/All\/wkhtmltopdf-0.12.6.txz --no-check-certificate\n$ tar -xvf wkhtmltopdf-0.12.6.txz<\/code><\/pre><\/div>\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"powershell\"><\/pre>\n<p>\u4e0a\u8a18\u300c<code class=\"EnlighterJSRAW\" data-enlighter-language=\"raw\">--no-check-certificate<\/code>\u300d\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u7121\u3044\u3068\u53d6\u5f97\u3067\u304d\u306a\u3044\u306e\u3067\u6ce8\u610f\u3067\u3059\u3002<\/p>\n<p>\u305d\u3057\u3066\u300ctar -xvf wkhtmltopdf-0.12.6.txz\u300d\u3067\u89e3\u51cd\u3055\u308c\u3001\u5c55\u958b\u3057\u307e\u3059\u3002<\/p>\n<h3>usr\u30d5\u30a9\u30eb\u30c0\u3078\u306e\u5c55\u958b<\/h3>\n<p>\u5171\u6709\u30b5\u30fc\u30d0\u30fc\u306a\u306e\u3067\u3001\u4e0a\u4f4d\u306eusr\u30d5\u30a9\u30eb\u30c0\u306b\u306f\u5c55\u958b\u3055\u308c\u307e\u305b\u3093\u3002<\/p>\n<p>\u4eca\u56de\u306e\u516c\u958b\u30b5\u30fc\u30d0\u30fc\u306e\u30eb\u30fc\u30c8\u306e\u30d1\u30b9\u306f\u300cusr\/home\/xxxxxxxx\uff08\u30b5\u30fc\u30d0\u30fcID\uff09\u300d\u3067\u3059\u3002\u306a\u306e\u3067\u3001\u672c\u6765\u306a\u3089\u3070 usr\/ \u4ee5\u4e0b\u306b\u5c55\u958b\u3059\u3079\u304d\u3067\u3059\u304c\u3001\u305d\u308c\u306f\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n<p>\u306a\u306e\u3067\u3001\u4eca\u56de\u306f\u3001\u300cusr\/home\/xxxxxxxx\u300d\u4e0b\u306b\u3001\u6539\u3081\u3066\u300cusr\u300d\u30d5\u30a9\u30eb\u30c0\u3092\u4f5c\u6210\u3057\u3001\u5c55\u958b\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u203b\u3053\u3053\u3067\u4e0a\u8a18\u89e3\u51cd\u306e\u6642\u306b\u81ea\u52d5\u3067\u300cusr\u300d\u30d5\u30a9\u30eb\u30c0\u3067\u304d\u305f\u306e\u304b\u306f\u898b\u9003\u3057\u307e\u3057\u305f\u3002\u3002\u3002<\/p>\n<p>\u4eca\u56de\u306f\u3001\u4e0a\u8a18\u306e\u300c<a href=\"https:\/\/pkg.freebsd.org\/FreeBSD:11:amd64\/quarterly\/All\/wkhtmltopdf-0.12.6.txz --no-check-certificate\" target=\"_blank\" rel=\"noopener\">https:\/\/pkg.freebsd.org\/FreeBSD:11:amd64\/quarterly\/All\/wkhtmltopdf-0.12.6.txz &#8211;no-check-certificate<\/a>\u300d\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u30ed\u30fc\u30ab\u30eb\u306b\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3001\u89e3\u51cd\u30bd\u30d5\u30c8\u3067\u3001\u7121\u7406\u3084\u308a\u89e3\u51cd\u3057\u305f\u3068\u3053\u308d\u3001\u4e0b\u8a18\u306e\u30d5\u30a1\u30a4\u30eb\u3068usr\u30d5\u30a9\u30eb\u30c0\u304c\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">+COMPACT_MANIFEST\n+MANIFEST\nusr<\/pre>\n<p>\u3053\u306e\u300cusr\u300d\u30d5\u30a9\u30eb\u30c0\u306e\u4e2d\u8eab\u3092\u305d\u306e\u307e\u307e\u3001usr\/home\/xxxxxxxx\/usr \u306e\u4e2d\u306b\u5165\u308c\u307e\u3057\u305f\u3002<\/p>\n<p>\u3053\u3053\u3067\u3001\u52d5\u4f5c\u78ba\u8a8d\u3092\u3059\u308b\u305f\u3081\u306b\u3001SSH\u306b\u623b\u308a\u307e\u3059\u3002<\/p>\n<h3>\u52d5\u4f5c\u78ba\u8a8d<\/h3>\n<p>SSH\u3067\u3001wkhtmltopsd\u304c\u52d5\u4f5c\u3059\u308b\u304b\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a\u3001Laravel-Snappy\u306e\u8a2d\u5b9a\u3067\u3067\u304d\u305f\u300cconfig\/snappy.php\u300d\u30d5\u30a1\u30a4\u30eb\u306e\u300cwkhtmltopdf\u300d\u300cwkhtmltoimage\u300d\u306e\u30d1\u30b9\u306e\u8a2d\u5b9a\u3092\u5909\u66f4\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"php\">\uff65\uff65\uff65\n'binary' =&gt; base_path('usr\/local\/bin\/wkhtmltopdf'),\n\uff65\uff65\uff65\n'binary' =&gt; base_path('usr\/local\/bin\/wkhtmltoimage'),\n\uff65\uff65\uff65<\/pre>\n<p>SSH\u3067\u4e0a\u8a18\u30d5\u30a1\u30a4\u30eb\u306e\u3042\u308b\u30d5\u30a9\u30eb\u30c0\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">$ cd usr\/local\/bin<\/pre>\n<p>\u3053\u306e\u30d5\u30a9\u30eb\u30c0\u5185\u306b\u76ee\u7684\u306e\u300cwkhtmltopdf\u300d\u300cwkhtmltoimage\u300d\u304c\u5b58\u5728\u3057\u307e\u3059\u3002<\/p>\n<p>\u305d\u3057\u3066\u3001\u4e0b\u8a18\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059<\/p>\n<pre wp-pre-tag-6=\"\"><\/pre>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">nbsp;.\/wkhtmltopdf<\/pre>\n<p>\u5148\u982d\u306b\u5fc5\u305a\u300c.\/\u300d\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<p>\u3059\u308b\u3068\u3001\u30a8\u30e9\u30fc\u304c\u3067\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">.\/wkhtmltopdf: Permission denied.<\/pre>\n<p>\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\u30a8\u30e9\u30fc\u3067\u3059\u3002\u305d\u3053\u3067\u3001\u300cwkhtmltopdf\u300d\u300cwkhtmltoimage\u300d\u306e\u4e8c\u3064\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\u3092\u300c777\u300d\u306b\u8a2d\u5b9a\u3057\u307e\u3057\u3001\u518d\u5ea6\u3001\u4e0b\u8a18\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">Shared object \"libstdc++.so.6\" not found, required by \"wkhtmltopdf\"<\/pre>\n<p>\u307e\u305f\u3001\u30a8\u30e9\u30fc\u304c\u3067\u307e\u3057\u305f\u3002\u3002\u3002\u300clibstdc++.so.6\u300d\u304c\u898b\u3064\u304b\u3089\u306a\u3044\u3068\u3044\u3046\u30a8\u30e9\u30fc\u3067\u3059\u3002<\/p>\n<p>\u4eca\u307e\u3067\u3001PHP\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u30a8\u30e9\u30fc\u304c\u51fa\u305f\u3089\u3042\u304d\u3089\u3081\u3066\u3044\u307e\u3057\u305f\u3002<\/p>\n<p>\u3082\u3046\u6253\u3064\u624b\u306f\u306a\u3044\u306e\u304b\u3002\u3002\u3002\u3057\u304b\u3057\u3001\u4eca\u56de\u306f\u3055\u3089\u306b\u8abf\u3079\u3064\u3065\u3051\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<h3>PHP\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n<p>\u5171\u6709\u30b5\u30fc\u30d0\u30fc\u306e\u9650\u754c\u304b\u3068\u3001\u3042\u304d\u3089\u3081\u304b\u3051\u3064\u3064\u3001\u300clibstdc++.so.6\u300d\u306b\u3064\u3044\u3066\u8abf\u3079\u7d9a\u3051\u307e\u3057\u305f\u3002<\/p>\n<p>\u3059\u308b\u3068\u4e0b\u8a18\u306e\u30b5\u30a4\u30c8\u3092\u898b\u3064\u3051\u307e\u3057\u305f\u3002<\/p>\n<p><a href=\"http:\/\/rpm.pbone.net\/index.php3\/stat\/4\/idpl\/19740490\/dir\/fedora_17\/com\/libstdc++-4.7.0-5.fc17.i686.rpm.html\" target=\"_blank\" rel=\"noopener\">RPM Fedora 17 libstdc++ 4.7.0 i686 rpm<\/a><\/p>\n<p>\u4e0a\u8a18\u30b5\u30a4\u30c8\u304b\u3089\u300clibstdc++.so.6\u300d\u304c\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3067\u304d\u305d\u3046\u3067\u3059\u3002<\/p>\n<p>\u3068\u308a\u3042\u3048\u305a\u3001\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3002<\/p>\n<p>\u62e1\u5f35\u5b50\u300c.rpm\u300d\u3068\u3044\u3046\u30d5\u30a1\u30a4\u30eb\u304c\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3067\u304d\u307e\u3059\u3002rpm\u3068\u306f\u300cRed Hat Package Manager\u300d\u306e\u7565\uff1f\u306a\u306e\u304b\u3001\u5727\u7e2e\u30d5\u30a1\u30a4\u30eb\u306e\u3088\u3046\u3067\u3059\u3002<\/p>\n<p>\u305d\u3053\u3067\u3001\u89e3\u51cd\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<p>\u3059\u308b\u3068\u4eca\u5ea6\u306f\u3001\u300clibstdc++-4.7.0-5.fc17.i686.cpio\u300d\u3068\u306a\u308a\u3001\u62e1\u5f35\u5b50\u304c\u5909\u308f\u3063\u305f\u3060\u3051\u3067\u3059\u3002<\/p>\n<p>\u300c.cpio\u300d\u306e\u62e1\u5f35\u5b50\u3092\u8abf\u3079\u3066\u307f\u308b\u3068\u3001\u3053\u308c\u3082\u5727\u7e2e\u30d5\u30a1\u30a4\u30eb\u306e\u3088\u3046\u3067\u3059\u3002<\/p>\n<p>\u306a\u306e\u3067\u89e3\u51cd\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<p>\u3059\u308b\u3068\u3001\u300cusr\u300d\u30d5\u30a9\u30eb\u30c0\u304c\u5c55\u958b\u3055\u308c\u307e\u3057\u305f\uff01\uff01<\/p>\n<p>\u203b\u3061\u306a\u307f\u306b\u89e3\u51cd\u30bd\u30d5\u30c8\u306f\u3001\u300c<a href=\"https:\/\/www.7-zip.org\/\" target=\"_blank\" rel=\"noopener\">7-Zip<\/a>\u300d\u3068\u3044\u3046\u3082\u306e\u3092\u4f7f\u3063\u3066\u3044\u307e\u3059\u3002\u30d0\u30ea\u30d0\u30ea\u89e3\u51cd\u3067\u304d\u3066\u4fbf\u5229\u3067\u3059 \uff57<\/p>\n<h3>\u518d\u3073usr\u30d5\u30a9\u30eb\u30c0\u3078<\/h3>\n<p>\u89e3\u51cd\u5f8c\u306eusr\u30d5\u30a9\u30eb\u30c0\u3092\u898b\u308b\u3068\u3001\u300clib\u300d\u3084\u300cshare\u300d\u306a\u3069\u306e\u30d5\u30a9\u30eb\u30c0\u304c\u3067\u304d\u3066\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u306f\u3001\u4e0a\u8a18\u306e\u300cwkhtmltopdf\u300d\u306e\u30d5\u30a9\u30eb\u30c0\u69cb\u6210\u3068\u4f3c\u3064\u3064\u3001\u3076\u3064\u304b\u3089\u306a\u3044\u3053\u3068\u306b\u6c17\u3065\u304d\u3001usr\/home\/xxxxxxxx\/usr \u306b\u518d\u3073\u3076\u3063\u3053\u307f\u307e\u3057\u305f\u3002<\/p>\n<p>\u3055\u3066\u3001SSH\u3067\u4e0b\u8a18\u3092\u5b9f\u884c\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<pre wp-pre-tag-9=\"\"><\/pre>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">nbsp;.\/wkhtmltopdf Shared object \"libstdc++.so.6\" not found, required by \"wkhtmltopdf\"<\/pre>\n<p>\u7d50\u679c\u306f\u5909\u308f\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u3002\u3002<\/p>\n<h3>\u6700\u7d42\u8abf\u6574\u306fphp.ini<\/h3>\n<p>\u3057\u304b\u3057\u3001\u6c17\u4ed8\u304d\u307e\u3057\u305f\u3002\u4e0a\u8a18\u3067\u3076\u3063\u3053\u3093\u3060\u30d5\u30a1\u30a4\u30eb\u306f\u3001PHP\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3002<\/p>\n<p>\u3069\u3053\u304b\u3067\u30d1\u30b9\u3092\u901a\u3059\u3068\u304b\u3059\u308c\u3070\u3001\u3088\u3044\u3093\u3058\u3083\u306a\u3044\u304b\u3068\u3002<\/p>\n<p>\u305d\u3057\u3066\u3001CPI\u306e\u7ba1\u7406\u753b\u9762\u304b\u3089\u3001PHP\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u3042\u3063\u305fphp.ini\u306e\u30c6\u30ad\u30b9\u30c8\u3092\u30b3\u30d4\u30fc\u3057\u3001php.ini\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u4e0b\u8a18\u3092\u53c2\u8003\u306b\u3057\u3066\u3001\u305d\u306e\u30d5\u30a1\u30a4\u30eb\u306einclude_path\u306e\u8a2d\u5b9a\u3092\u884c\u3044\u307e\u3057\u305f\u3002<\/p>\n<p><a href=\"https:\/\/www.shinbo.org\/archives\/2918\" target=\"_blank\" rel=\"noopener\">PHP\u306einclude_path\u306e\u8a2d\u5b9a\uff08Apache\u3068pnp.ini\uff09 &amp;#8211; \u30dc\u30f3\u30b7\u306e\u30b5\u30a4\u30af\u30ea\u30f3\u30b0\uff06\u30b0\u30eb\u30e1\u9053<\/a><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"php\">include_path = \".:\/usr\/home\/xxxxxx\/usr\/\"<\/pre>\n<p>\u305d\u3057\u3066\u30b5\u30fc\u30d0\u30fc\u306b\u30a2\u30c3\u30d7\u3001\u6700\u521d\u306b\u8a2d\u5b9a\u3057\u305fLaravel\u306eURL\u3092\u305f\u305f\u304f\uff01<\/p>\n<p>\u898b\u4e8b\u8868\u793a\u3055\u308c\u307e\u3057\u305f\uff01\uff01\uff01<\/p>\n<p>\u203b\u30b0\u30e9\u30d5\u306b\u3064\u3044\u3066\u306f\u3001\u8abf\u6574\u304c\u5fc5\u8981\u306a\u3088\u3046\u3067\u3059\u3002\u300c<a href=\"https:\/\/qiita.com\/135yshr\/items\/4049127cb5da74fc02ff\" target=\"_blank\" rel=\"noopener\">Laravel-Snappy\u3067PDF\u3092\u51fa\u529b\u3059\u308b\u3068\u304d\u306b\u30c1\u30e3\u30fc\u30c8\u304c\u8868\u793a\u3055\u308c\u306a\u304f\u306a\u3063\u305f &#8211; Qiita<\/a>\u300d\u3092\u53c2\u8003\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n<div data-post-id=\"6328\" class=\"insert-page insert-page-6328 \">\n<h2 class=\"wp-block-heading\">\u30d5\u30e9\u30a4\u30f3\u30b0\u30fb\u30cf\u30a4\u30fb\u30ef\u30fc\u30af\u30b9\u306e\u7d39\u4ecb<\/h2>\n\n\n\n<p class=\"has-small-font-size\"><a href=\"https:\/\/www.flying-h.co.jp\/\" target=\"_blank\" rel=\"noopener\" title=\"\u30d5\u30e9\u30a4\u30f3\u30b0\u30fb\u30cf\u30a4\u30fb\u30ef\u30fc\u30af\u30b9\">\u30d5\u30e9\u30a4\u30f3\u30b0\u30fb\u30cf\u30a4\u30fb\u30ef\u30fc\u30af\u30b9<\/a>\u306f\u3001\u6771\u4eac\u306e\u30db\u30fc\u30e0\u30da\u30fc\u30b8\u5236\u4f5c\u30fbWeb\u5236\u4f5c\u4f1a\u793e\u30fbWeb\u30b7\u30b9\u30c6\u30e0\u5236\u4f5c\u4f1a\u793e\u3067\u3059\u3002\u6771\u4eac\u90fd\u53ca\u3073\u305d\u306e\u8fd1\u90ca\uff08\u9996\u90fd\u570f\uff09\u3092\u4e2d\u5fc3\u3068\u3057\u3066\u3001SEO\u5bfe\u7b56\u3092\u610f\u8b58\u3057\u305fPC\u53ca\u3073\u30b9\u30de\u30db\u306e\u30b5\u30a4\u30c8\u3092\u30ef\u30f3\u30bd\u30fc\u30b9\uff08\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u5bfe\u5fdc\uff09\u3067\u5236\u4f5c\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">\u5b9f\u7e3e<\/h4>\n\n\n\n<p class=\"has-small-font-size\">\u30c7\u30b6\u30a4\u30ca\u30fc\u30c1\u30fc\u30e0\u306f\u3001\u30b0\u30e9\u30d5\u30a3\u30c3\u30af\u30c7\u30b6\u30a4\u30f3\u3084\u30a4\u30e9\u30b9\u30c8\u306e\u5236\u4f5c\u3082\u5f97\u610f\u3068\u3057\u3066\u304a\u308a\u3001\u8457\u4f5c\u6a29\u3092\u610f\u8b58\u3057\u306a\u3044\u7d20\u6750\u306e\u63d0\u4f9b\u304c\u53ef\u80fd\u3067\u3059\u3002\u30b7\u30b9\u30c6\u30e0\u30fb\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u30c1\u30fc\u30e0\u3067\u306f\u3001Laravel\u306a\u3069\u3092\u4f7f\u7528\u3057\u305f\u30b9\u30af\u30e9\u30c3\u30c1\u304b\u3089\u306e\u30aa\u30ea\u30b8\u30ca\u30eb\u30b7\u30b9\u30c6\u30e0\u958b\u767a\u3092\u59cb\u3081\u3001WordPress\u306e\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3092\u5f97\u610f\u3068\u3057\u3066\u304a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"has-small-font-size\">\u307e\u305f\u3001SEO\u3084\u30e9\u30f3\u30c7\u30a3\u30f3\u30b0\u30da\u30fc\u30b8\uff08LP\uff09\u3001\u5e83\u544a\u5411\u3051\u30d0\u30ca\u30fc\u306a\u3069\u3092\u4ed6\u793e\u69d8\u3067\u3084\u3063\u3066\u3044\u305f\u4f5c\u696d\u306e\u5f15\u7d99\u304e\u3067\u3082\u554f\u984c\u3042\u308a\u307e\u305b\u3093\u3002\u5236\u4f5c\u5b9f\u7e3e\u306f\u591a\u6570\u3054\u3056\u3044\u307e\u3059\u306e\u3067\u3001\u304a\u5ba2\u69d8\u306b\u5408\u308f\u305b\u305f\u3054\u63d0\u6848\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"has-small-font-size\">500\u70b9\u4ee5\u4e0a\u306e<a href=\"https:\/\/www.flying-h.co.jp\/works\" target=\"_blank\" rel=\"noopener\" title=\"\u30d5\u30e9\u30a4\u30f3\u30b0\u30fb\u30cf\u30a4\u30fb\u30ef\u30fc\u30af\u30b9\u306e\u5236\u4f5c\u5b9f\u7e3e\">\u30d5\u30e9\u30a4\u30f3\u30b0\u30fb\u30cf\u30a4\u30fb\u30ef\u30fc\u30af\u30b9\u306e\u5236\u4f5c\u5b9f\u7e3e<\/a>\u30da\u30fc\u30b8\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>\u5546\u7528\u30b5\u30fc\u30d0\u30fc\u3067Laravel-Snappy\u3092\u5229\u7528\u3057\u3088\u3046\u3068\u3057\u3066\u304b\u306a\u308a\u306f\u307e\u3063\u305f\u306e\u3067\u3001\u5099\u5fd8\u9332\u3068\u3057\u3066\u6b8b\u3057\u3066\u304a\u304d\u307e\u3059\u3002 \u74b0\u5883 \u4eca\u56de\u306e\u76ee\u7684\u306f\u3001Chart\u3084Graph\u3092\u63b2\u8f09\u3057\u305fPDF\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u3067\u3059\u3002 \u305d\u3053\u3067\u3001\u300cLarave [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":4368,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-4366","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-website"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.flying-h.co.jp\/media\/wp-json\/wp\/v2\/posts\/4366","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.flying-h.co.jp\/media\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.flying-h.co.jp\/media\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.flying-h.co.jp\/media\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.flying-h.co.jp\/media\/wp-json\/wp\/v2\/comments?post=4366"}],"version-history":[{"count":0,"href":"https:\/\/www.flying-h.co.jp\/media\/wp-json\/wp\/v2\/posts\/4366\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.flying-h.co.jp\/media\/wp-json\/wp\/v2\/media\/4368"}],"wp:attachment":[{"href":"https:\/\/www.flying-h.co.jp\/media\/wp-json\/wp\/v2\/media?parent=4366"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.flying-h.co.jp\/media\/wp-json\/wp\/v2\/categories?post=4366"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.flying-h.co.jp\/media\/wp-json\/wp\/v2\/tags?post=4366"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}