{"id":263,"date":"2007-08-05T14:37:05","date_gmt":"2007-08-05T14:37:05","guid":{"rendered":"http:\/\/superficial.name\/?p=263"},"modified":"2007-08-05T14:37:05","modified_gmt":"2007-08-05T14:37:05","slug":"post-263","status":"publish","type":"post","link":"https:\/\/superficial.3724649.net\/?p=263","title":{"rendered":"PHP\u3067\u60a9\u3080"},"content":{"rendered":"<p>\u6885\u96e8\u660e\u3051\u3057\u3066\u304b\u3089\u6691\u3044\u65e5\u304c\u3064\u3065\u304d<br \/>\n\u4ed5\u4e8b\u5834\u306b\u3044\u305f\u65b9\u304c\u5feb\u9069\u3060\u308d\u3046\u306a\u3068\u601d\u3063\u3066\u4f11\u65e5\u3092\u904e\u3054\u3057\u3066\u307e\u3059<\/p>\n<p>\u4ed5\u4e8b\u5834\u30b5\u30fc\u30d0\u30fc\u3092 <span class=\"text-blue-bold\">FreeBSD 6.2R<\/span> \u306eUpgrade\u3057\u305f\u4e8b\u306f\u65e2\u306b\u66f8\u304d\u307e\u3057\u305f\u304c\u30fb\u30fb\u30fb<\/p>\n<p>\u305d\u306e\u5f8c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3082\u306e\u306f<br \/>\n<span class=\"text-green-bold\">PHP4.4.7<br \/>\nApache1.3.37 mod_perl<br \/>\nSamba<br \/>\n<\/span><\/p>\n<p>\u5b9f\u9a13\u7528\u306e\u30b5\u30fc\u30d0\u30fc\u306a\u306e\u3067 apache \u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306f\u501f\u308a\u3066\u308b\u30b5\u30fc\u30d0\u30fc\u3068\u540c\u3058\u306b\u3057\u307e\u3057\u305f<\/p>\n<p>\u65e9\u901f\u81ea\u5206\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b public_html \u3092 mkdir \u3057\u3066<br \/>\n\/usr\/home\/misogoma\/public_html \u3068\u3057\u3066<\/p>\n<p>\/usr\/home\/misogoma\/public_html\/phpinfo.php \u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u66f8\u304f<\/p>\n<p><span class=\"text-blue\"><br \/>\n&lt;?php<br \/>\nphpinfo();<br \/>\n?&gt;<br \/>\n<\/span><\/p>\n<p>\u30d6\u30e9\u30a6\u30b6\u3067 http:\/\/192.168.0.12\/~misogoma\/phpinfo.php \u3092\u898b\u3066\u307f\u308b<\/p>\n<p><span class=\"text-blue\">192.168.0.12\u306f\u30aa\u30e4\u30b8\u30b5\u30fc\u30d0\u30fc\u306e\u30b0\u30ed\u30fc\u30d0\u30eb\u30a2\u30c9\u30ec\u30b9\u3067\u3059<br \/>\n\u30cd\u30c3\u30c8\u4e0a\u306b\u306f\u5b58\u5728\u3057\u307e\u305b\u3093\u304b\u3089\u304f\u308c\u3050\u308c\u3082\u8a66\u3055\u306a\u3044\u3088\u3046\u306b\u30fb\u30fb\u30fb<\/span> \ud83d\ude09<\/p>\n<p><span class=\"text-red-bold\">\uff76\uff9e\u2501\u2501(;\uff9f\u0414\uff9f)\u2501\u2501\uff9d!!<\/span><\/p>\n<p><span class=\"text-green\"><br \/>\n&lt;?php<br \/>\nphpinfo();<br \/>\n?&gt;<br \/>\n<\/span><\/p>\n<p>\u4e2d\u8eab\u304c\u3053\u306e\u307e\u307e\u8868\u793a\u3055\u308c\u3061\u3083\u3044\u307e\u3059<\/p>\n<p>\u30a6\u30fc\u30f3\u306a\u305c\u3060\uff1f<\/p>\n<p>\u30cd\u30c3\u30c8\u3067\u8abf\u3079\u305f\u3089 <span class=\"text-blue-bold\">\/usr\/local\/etc\/apache\/httpd.conf<\/span> \u306b<\/p>\n<p>LoadModule php4_module libexec\/apache\/libphp4.so<br \/>\nAddModule mod_php4.c<\/p>\n<p>\uff12\u884c\u304c\u66f8\u3044\u3066\u306a\u3044\u3068\u30c0\u30e1\u3089\u3057\u3044\u3053\u3068\u304c\u5224\u3063\u305f<br \/>\n\u306e\u3067\u4e00\u5fdc\u66f8\u3044\u3066\u307f\u305f\u30fb\u30fb\u30fb<\/p>\n<p>apachectl configtest \u3092\u5b9f\u884c \u30a8\u30e9\u30fc\u51fa\u307e\u3059\u3051\u3069\u30fb\u30fb\u30fb :?\uff08\u5f53\u305f\u308a\u524d\uff09<\/p>\n<p>libphp4.so \u81ea\u4f53\u304c\u7121\u3044\u3093\u3067\u3059\u3051\u3069\u30fb\u30fb\u30fb<\/p>\n<p>\u3053\u308c\u3082\u8abf\u3079\u3066\u884c\u3063\u305f\u3089 PHP \u3092 WITH_APACHE=true \u3067 make \u3057\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u3088\u3046\u3060<br \/>\n\u307e\u305a php4 \u3092\u524a\u9664 pkg_deinstall php4 \u3067\uff2f\uff2b\uff08\u5b9f\u306f\u3053\u308c\u3082\u8abf\u3079\u305f\uff57\uff09<\/p>\n<p>\u6b21\u306bPHP\u306emake\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u8a2d\u5b9a<br \/>\n\/var\/db\/ports\/php4\/options \u3092\u524a\u9664\u3057\u3066\u3084\u308c\u3070<br \/>\nportinstall \u306e\u6642\u306b\u30aa\u30d7\u30b7\u30e7\u30f3\u8a2d\u5b9a\u30c0\u30a4\u30a2\u30ed\u30b0\u304c\u8868\u793a\u3055\u308c\u308b\u306e\u3067<br \/>\n\u753b\u50cf\u306e\u3088\u3046\u306b<br \/>\n[X] APACHE Build Apache module \u306b\u30c1\u30a7\u30c3\u30af\u3057\u3066\u304a\u3051\u3070\uff2f\uff2b<\/p>\n<p><a href=\"http:\/\/superficial.3724649.net\/wp-content\/uploads\/2007\/08\/PHP-option.png\"><img decoding=\"async\" class=\"alignnone size-medium wp-image-5490\" src=\"http:\/\/superficial.3724649.net\/wp-content\/uploads\/2007\/08\/PHP-option-300x215.png\" alt=\"\" width=\"300\" height=\"215\" \/><\/a><\/p>\n<p>\u4eca\u5ea6\u306f\uff2f\uff2b\u3060\u308d\uff1f<\/p>\n<p>\u30d6\u30e9\u30a6\u30b6\u3067 http:\/\/192.168.0.12\/~misogoma\/ \u3092\u898b\u3066\u307f\u308b<\/p>\n<p><a href=\"http:\/\/superficial.3724649.net\/wp-content\/uploads\/2007\/08\/php-info.png\"><img decoding=\"async\" class=\"alignnone size-medium wp-image-5491\" src=\"http:\/\/superficial.3724649.net\/wp-content\/uploads\/2007\/08\/php-info-300x169.png\" alt=\"\" width=\"300\" height=\"169\" \/><\/a><\/p>\n<p>\u30cf\u30a4\uff01\u3067\u304d\u307e\u3057\u305f \\\\(^o^)\uff0f<\/p>\n<p>\u5099\u5fd8\u9332<br \/>\n<span class=\"text-blue-bold\">\/etc\/rc.conf<\/span> \u306b<br \/>\napache_enable=&#8221;YES&#8221; \u3068\u66f8\u3044\u3066\u304a\u304f\u3068\u8d77\u52d5\u6642\u306b\u81ea\u52d5\u3067\u52d5\u304d\u307e\u3059<\/p>\n<p>apache \u306e\u8d77\u52d5\u306f apachectl start \u505c\u6b62\u306f apachectl stop<br \/>\nhttpd.conf \u306e\u78ba\u8a8d\u306f apachectl configtest<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6885\u96e8\u660e\u3051\u3057\u3066\u304b\u3089\u6691\u3044\u65e5\u304c\u3064\u3065\u304d \u4ed5\u4e8b\u5834\u306b\u3044\u305f\u65b9\u304c\u5feb\u9069\u3060\u308d\u3046\u306a\u3068\u601d\u3063\u3066\u4f11\u65e5\u3092\u904e\u3054\u3057\u3066\u307e\u3059 \u4ed5\u4e8b\u5834\u30b5\u30fc\u30d0\u30fc\u3092 FreeBSD 6.2R \u306eUpgrade\u3057\u305f\u4e8b\u306f\u65e2\u306b\u66f8\u304d\u307e\u3057\u305f\u304c\u30fb\u30fb\u30fb \u305d\u306e\u5f8c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3082\u306e\u306f PHP4. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[13],"tags":[],"class_list":["post-263","post","type-post","status-publish","format-standard","hentry","category-computer"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/superficial.3724649.net\/index.php?rest_route=\/wp\/v2\/posts\/263","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/superficial.3724649.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/superficial.3724649.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/superficial.3724649.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/superficial.3724649.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=263"}],"version-history":[{"count":0,"href":"https:\/\/superficial.3724649.net\/index.php?rest_route=\/wp\/v2\/posts\/263\/revisions"}],"wp:attachment":[{"href":"https:\/\/superficial.3724649.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=263"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/superficial.3724649.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=263"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/superficial.3724649.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=263"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}