{"id":657,"date":"2017-03-23T15:52:36","date_gmt":"2017-03-23T13:52:36","guid":{"rendered":"https:\/\/burakcaliskan.org\/blog\/?p=657"},"modified":"2017-03-25T09:26:47","modified_gmt":"2017-03-25T07:26:47","slug":"freebsd-12-apache-mysql-php-5-6-30-kurulumu","status":"publish","type":"post","link":"https:\/\/burakcaliskan.org\/blog\/freebsd-12-apache-mysql-php-5-6-30-kurulumu\/","title":{"rendered":"FreeBSD 12 Apache + MySQL + PHP 5.6.30 Kurulumu"},"content":{"rendered":"<p>pkg install rsync<br \/>\npkg install fusefs-sshfs<\/p>\n<p>\u00d6rnek;<br \/>\n1)% sshfs -o idmap=user username@example.org: \/path\/to\/mount\/point<br \/>\nveya<br \/>\n2) % mount_fusefs auto \/path\/to\/mount\/point sshfs -o idmap=user \\<br \/>\nusername@example.org:<br \/>\nveya<br \/>\n3) % env FUSE_DEV_NAME=\/dev\/fuse0 sshfs -o idmap=user \\<br \/>\nusername@example.org:<br \/>\n% mount_fusefs \/dev\/fuse0 \/path\/to\/mount\/point<\/p>\n<p>pkg install nano<\/p>\n<p>freebsd-update fetch<br \/>\nfreebsd-update install<\/p>\n<p>pkg install apache24<\/p>\n<p>sysrc apache24_enable=yes<br \/>\nservice apache24 start<\/p>\n<p>pkg install mysql55-server<\/p>\n<p>sysrc mysql_enable=yes<br \/>\nservice mysql-server start<\/p>\n<p>mysql_secure_installation<\/p>\n<p>pkg install mod_php56 php56-mysql php56-mysqli<\/p>\n<p>cp \/usr\/local\/etc\/php.ini-production \/usr\/local\/etc\/php.ini<\/p>\n<p>rehash<\/p>\n<p>nano \/usr\/local\/etc\/apache24\/httpd.conf<\/p>\n<p><strong>DirectoryIndex arat\u0131p bulunur.<\/strong><\/p>\n<p>DirectoryIndex index.php index.html<\/p>\n<p>Alt sat\u0131r\u0131na kod eklenir.<\/p>\n<p>&nbsp;<\/p>\n<pre class=\"lang:default decode:true \">&lt;FilesMatch \"\\.php$\"&gt;\r\n    SetHandler application\/x-httpd-php\r\n&lt;\/FilesMatch&gt;\r\n&lt;FilesMatch \"\\.phps$\"&gt;\r\n    SetHandler application\/x-httpd-php-source\r\n&lt;\/FilesMatch&gt;<\/pre>\n<p>&nbsp;<\/p>\n<p>service apache24 restart<\/p>\n<p>service php-fpm onerestart<\/p>\n","protected":false},"excerpt":{"rendered":"<p>pkg install rsync pkg install fusefs-sshfs \u00d6rnek; 1)% sshfs -o idmap=user username@example.org: \/path\/to\/mount\/point veya 2) % mount_fusefs auto \/path\/to\/mount\/point sshfs -o idmap=user \\ username@example.org: veya 3) % env FUSE_DEV_NAME=\/dev\/fuse0 sshfs -o idmap=user \\ username@example.org: % mount_fusefs \/dev\/fuse0 \/path\/to\/mount\/point pkg install nano freebsd-update fetch freebsd-update install pkg install apache24 sysrc apache24_enable=yes service apache24 start pkg install [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":667,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[170],"tags":[415,417,159,416,164,163],"_links":{"self":[{"href":"https:\/\/burakcaliskan.org\/blog\/wp-json\/wp\/v2\/posts\/657"}],"collection":[{"href":"https:\/\/burakcaliskan.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/burakcaliskan.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/burakcaliskan.org\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/burakcaliskan.org\/blog\/wp-json\/wp\/v2\/comments?post=657"}],"version-history":[{"count":3,"href":"https:\/\/burakcaliskan.org\/blog\/wp-json\/wp\/v2\/posts\/657\/revisions"}],"predecessor-version":[{"id":660,"href":"https:\/\/burakcaliskan.org\/blog\/wp-json\/wp\/v2\/posts\/657\/revisions\/660"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/burakcaliskan.org\/blog\/wp-json\/wp\/v2\/media\/667"}],"wp:attachment":[{"href":"https:\/\/burakcaliskan.org\/blog\/wp-json\/wp\/v2\/media?parent=657"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/burakcaliskan.org\/blog\/wp-json\/wp\/v2\/categories?post=657"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/burakcaliskan.org\/blog\/wp-json\/wp\/v2\/tags?post=657"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}