{"id":38,"date":"2010-04-13T04:55:43","date_gmt":"2010-04-13T04:55:43","guid":{"rendered":"http:\/\/blog.amigas.ru\/?p=38"},"modified":"2014-03-17T15:51:55","modified_gmt":"2014-03-17T09:51:55","slug":"php-5-3-2","status":"publish","type":"post","link":"http:\/\/blog.amigas.ru\/?p=38","title":{"rendered":"PHP 5.3.2"},"content":{"rendered":"<p>\u041d\u0443 \u0432\u043e\u0442 \u0438 \u043f\u0440\u0438\u0448\u043b\u043e \u0432\u0440\u0435\u043c\u044f \u043a\u043e\u0433\u0434\u0430 \u043f\u043e\u044f\u0432\u0438\u043b\u0441\u044f PHP5.3.x \u0432 \u043f\u043e\u0440\u0442\u0430\u0445 FREEBSD. \u041d\u0443 \u0438 \u0440\u0430\u0437 \u043f\u043e\u044f\u0432\u0438\u043b\u043e\u0441\u044c \u0442\u043e \u0438 \u043f\u043e\u044f\u0432\u0438\u043b\u043e\u0441\u044c \u0436\u0435\u043b\u0430\u043d\u0438\u0435 \u043e\u0431\u043d\u043e\u0432\u0438\u0442\u044c\u0441\u044f \u0438 \u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c. \u0414\u043e \u044d\u0442\u043e\u0433\u043e \u043f\u0440\u043e\u0431\u043e\u0432\u0430\u043b \u043d\u0430 \u0432\u0438\u043d\u0434\u0435 \u0432\u0435\u0440\u0441\u0438\u044e 5.3 \u0438 \u043a\u0430\u043a \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u043c\u043d\u043e\u0433\u0438\u0435 \u0441\u043a\u0440\u0438\u043f\u0442\u044b \u043f\u0440\u043e\u0441\u0442\u043e \u0441\u0442\u0430\u043b\u0438 \u043d\u0435\u0440\u0430\u0431\u043e\u0442\u043e\u0441\u043f\u043e\u0441\u043e\u0431\u043d\u044b\u043c\u0438, \u0447\u0442\u043e \u0438 \u043f\u0443\u0433\u0430\u0435\u0442. \u041d\u043e \u043c\u044b \u0442\u043e \u044d\u0442\u0438 \u0441\u0430\u043c\u044b\u0435 \u043c\u0430\u0442\u0451\u0440\u044b\u0435 , \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0438\u0445\u0435\u0440\u0430 \u043d\u0435 \u0431\u043e\u044f\u0442\u0441\u044f \u0442\u0440\u0443\u0434\u043d\u043e\u0441\u0442\u0435\u0439. \u0414\u0430 \u0438 \u0441 \u043f\u0440\u043e\u0433\u0440\u0435\u0441\u0441\u043e\u043c \u0441\u0442\u0430\u0440\u0430\u044e\u0441\u044c \u0438\u0434\u0442\u0438 \u0432 \u043d\u043e\u0433\u0443 <em><strong>)\u043d\u0430\u0441\u0442\u0443\u043f\u0430\u044f \u043d\u0430 \u0433\u0440\u0430\u0431\u043b\u0438 \u0438 \u043e\u043a\u0430\u0437\u044b\u0432\u0430\u044f\u0441\u044c \u0432 \u043f\u043e\u043b\u043d\u043e\u0439 \u0436\u043e\u043f\u0435(<\/strong><\/em><br \/>\n\u0418\u0442\u0430\u043a \u043d\u0430\u0447\u043d\u0451\u043c:<br \/>\n<code><br \/>\n1. \u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u043e\u0431\u043d\u043e\u0432\u0438\u043c \u043f\u043e\u0440\u0442\u044b:<br \/>\n<strong>&gt;portsnap fetch update<\/strong><br \/>\n2. \u0418\u0434\u0451\u043c \u0432 \/usr\/ports\/UPDATING \u0438 \u0432\u0438\u0434\u0438\u043c \u0447\u0442\u043e \u0442\u0430\u043c \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u044e\u0442 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0441 \u043f\u044b\u0445\u043e\u0439. \u0423\u0434\u0430\u043b\u0438\u0442\u044c<br \/>\n- php5-dbase<br \/>\n- php5-ncurses<br \/>\n- php5-pcre<br \/>\n- php5-spl<br \/>\n- php5-ming<br \/>\n- php5-mhash<br \/>\n\u0438 \u043f\u0435\u0440\u0435\u0441\u043e\u0431\u0440\u0430\u0442\u044c php5.<br \/>\n\u0427\u0442\u043e \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0438 \u0434\u0435\u043b\u0430\u0435\u043c:<br \/>\n<strong>&gt;pkg_delete -f  php5-dbase php5-ncurses php5-pcre php5-spl php5-ming php5-mhash<br \/>\n&gt;portupgrade -u php5<br \/>\n&gt;apachectl restart  - \u0447\u0442\u043e\u0431\u044b \u0430\u043f\u0430\u0447 \u043f\u043e\u0434\u0446\u0435\u043f\u0438\u043b \u043f\u044b\u0445\u04435.3.2<\/strong><br \/>\n\u0412\u043e\u0442 \u0438 \u0432\u0441\u0451 \u043f\u043e \u043f\u0435\u0440\u0432\u043e\u043c\u0443 \u043f\u0443\u043d\u043a\u0442\u0443.<br \/>\n3. \u041d\u0443 \u0432\u043e\u0442 \u0438 \u043d\u0430\u0447\u0430\u043b\u0438\u0441\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b. \u041f\u0435\u0440\u0432\u043e\u0435 \u0447\u0442\u043e \u0431\u0440\u043e\u0441\u0438\u043b\u043e\u0441\u044c \u0432 \u0433\u043b\u0430\u0437\u0430 \u0442\u0430\u043a \u044d\u0442\u043e \u0440\u0443\u0433\u0430\u043d\u044c \u043d\u0430 \u0434\u0430\u0442\u0443. \u041f\u043e\u0441\u043b\u0435 \u043f\u043e\u0438\u0441\u043a\u0430 \u0438 \u043f\u0440\u043e\u0447\u0442\u0435\u043d\u0438\u044f \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 - \u043d\u0430\u0441\u0442\u0443\u043f\u0430\u0435\u0442 \u043f\u0440\u043e\u0441\u0432\u0435\u0442\u043b\u0435\u043d\u0438\u0435.<br \/>\n\u0418\u0434\u0451\u043c \u0432<br \/>\n<strong>&gt;ee \/usr\/local\/etc\/php.ini<\/strong><br \/>\n\u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0441\u0442\u0440\u043e\u0447\u043a\u0443 - <strong>date.timezone = \"Asia\/Yekaterinburg\"<\/strong>.<br \/>\n\u0421\u0432\u043e\u044e \u0442\u0430\u0439\u043c\u0437\u043e\u043d\u0443 \u043d\u0430\u0439\u0442\u0438 \u043c\u043e\u0436\u043d\u043e \u043d\u0430 \u0441\u0430\u0439\u0442\u0435 <a href=\"http:\/\/www.php.net\/manual\/en\/timezones.php\">PHP<\/a>.<br \/>\n<\/code><br \/>\n\u0418 \u043e \u0447\u0443\u0434\u043e. 70% \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432 \u043e\u0436\u0438\u043b\u043e. \u0410 30% \u0432\u0441\u0451 \u0435\u0449\u0451 \u0432\u044b\u0451\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f.  \u0414\u043b\u044f \u043c\u0435\u043d\u044f \u0431\u044b\u043b\u0438 \u0432\u0430\u0436\u043d\u044b \u0444\u043e\u0442\u043e\u0433\u0430\u043b\u0435\u0440\u0435\u044f \u043d\u0430 coppermine, \u0431\u043b\u043e\u0433 \u043d\u0430 wordpress, \u0438 wr-scripts(\u0444\u043e\u0440\u0443\u043c,\u0434\u043e\u0441\u043a\u0430 \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u0439,\u0438\u0442\u0434). \u0418 \u043e\u043d\u0438 \u043a\u0430\u043a \u043d\u0438 \u0441\u0442\u0440\u0430\u043d\u043d\u043e \u0437\u0430\u0440\u0430\u0431\u043e\u0442\u0430\u043b\u0438. \u041d\u0443 \u0430 \u0441 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u0431\u0443\u0434\u0435\u043c \u0440\u0430\u0437\u0431\u0438\u0440\u0430\u0442\u044c\u0441\u044f \u043f\u043e\u0442\u0438\u0445\u043e\u043d\u044c\u043a\u0443.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041d\u0443 \u0432\u043e\u0442 \u0438 \u043f\u0440\u0438\u0448\u043b\u043e \u0432\u0440\u0435\u043c\u044f \u043a\u043e\u0433\u0434\u0430 \u043f\u043e\u044f\u0432\u0438\u043b\u0441\u044f PHP5.3.x \u0432 \u043f\u043e\u0440\u0442\u0430\u0445 FREEBSD. \u041d\u0443 \u0438 \u0440\u0430\u0437 \u043f\u043e\u044f\u0432\u0438\u043b\u043e\u0441\u044c \u0442\u043e \u0438 \u043f\u043e\u044f\u0432\u0438\u043b\u043e\u0441\u044c \u0436\u0435\u043b\u0430\u043d\u0438\u0435 \u043e\u0431\u043d\u043e\u0432\u0438\u0442\u044c\u0441\u044f \u0438 \u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c. \u0414\u043e \u044d\u0442\u043e\u0433\u043e \u043f\u0440\u043e\u0431\u043e\u0432\u0430\u043b \u043d\u0430 \u0432\u0438\u043d\u0434\u0435 \u0432\u0435\u0440\u0441\u0438\u044e 5.3 \u0438 \u043a\u0430\u043a \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u043c\u043d\u043e\u0433\u0438\u0435 \u0441\u043a\u0440\u0438\u043f\u0442\u044b \u043f\u0440\u043e\u0441\u0442\u043e \u0441\u0442\u0430\u043b\u0438 \u043d\u0435\u0440\u0430\u0431\u043e\u0442\u043e\u0441\u043f\u043e\u0441\u043e\u0431\u043d\u044b\u043c\u0438, \u0447\u0442\u043e \u0438 \u043f\u0443\u0433\u0430\u0435\u0442. \u041d\u043e \u043c\u044b \u0442\u043e \u044d\u0442\u0438 \u0441\u0430\u043c\u044b\u0435 \u043c\u0430\u0442\u0451\u0440\u044b\u0435 , \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0438\u0445\u0435\u0440\u0430 \u043d\u0435 \u0431\u043e\u044f\u0442\u0441\u044f \u0442\u0440\u0443\u0434\u043d\u043e\u0441\u0442\u0435\u0439. \u0414\u0430 \u0438 \u0441 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[4],"tags":[149,150,5],"class_list":["post-38","post","type-post","status-publish","format-standard","hentry","category-php","tag-freebsd","tag-php","tag-nastrojka"],"views":1137,"_links":{"self":[{"href":"http:\/\/blog.amigas.ru\/index.php?rest_route=\/wp\/v2\/posts\/38","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/blog.amigas.ru\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.amigas.ru\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.amigas.ru\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.amigas.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=38"}],"version-history":[{"count":18,"href":"http:\/\/blog.amigas.ru\/index.php?rest_route=\/wp\/v2\/posts\/38\/revisions"}],"predecessor-version":[{"id":2068,"href":"http:\/\/blog.amigas.ru\/index.php?rest_route=\/wp\/v2\/posts\/38\/revisions\/2068"}],"wp:attachment":[{"href":"http:\/\/blog.amigas.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=38"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.amigas.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=38"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.amigas.ru\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=38"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}