PHP

  • PHPの歴史

    誕生 現在 PHP として知られているものは、かつて PHP/FI と呼ばれていたソフトウェアの後継 1994 年に Rasmus Lerdorf C 言語で作成 Personal Home Page Tools – PHP Tools 1995年 6月 最初公開 1996 年の 4 月PHP / FIを公開 ー プログラミング言語として確率(今まではツール群) AndiとZeevが加わりPHP: Hypertext Preprocessorとして公開 1998 年 6 月世界中から新たな開発者が多く参入した PHP Development Team は、PHP/FI 2.0 の正式な後継として PHP 3.0 をアナウンス 1999年なかごろZend Engine を紹介(ZEed + aNDi) PHP 4.0は 前のバージョンのおよそ2年後となる2000年5月にリリース 2004年7月 PHP5公開 - コアである…

    続きを読む

  • ,

    Cakephp Containの代わりにbind trick

    続きを読む

  • ,

    PHP 5.5.9 Configure

    #/bin/sh ./configure –prefix=/usr –enable-maintainer-zts –with-pear \ –with-config-file-path=/etc –with-readline –with-mcrypt \ –with-zlib –enable-mbstring –with-curl –with-bz2 \ –enable-zip –enable-sockets –enable-sysvsem –enable-sysvshm \ –with-mhash –with-pcre-regex –with-gettext –enable-bcmath \ –enable-libxml –enable-json –with-openssl –enable-pcntl \ –with-mysql=mysqlnd \ –with-mysqli=mysqlnd \ –with-pdo-mysql=mysqlnd \ –with-apxs2=/usr/local/apache2/bin/apxs \ –enable-pdo

    続きを読む

  • , ,

    phpstorm subversion branch merge random directory.

    mac phpstormで任意のフォルダをsubversionを利用しbranchする方法 1.branch作成 directory 右クリック->Subversion-> Branch or tag branch 作成対称directoryが Working Copy にあるかを確認 作成されるbranchようのdirectoryをCopy ToセッションのName欄に入力  OK でbranchは作成完了

    続きを読む

  • cakephp1.3 PHP Fatal error: Allowed memory size of …

    cakephpサイトを実行したときサイトが表示されないエラー apache error ログでは下記エラーが発生 PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 40961 bytes) in /cake/libs/view/view.php on line 733 php.ini でメモリのサイズを変更してもなおらない場合はcakephpで無限ループの可能性あり。 今回の原因 app_controllerのcomponentsで存在しないcomponentsの定義が原因 存在しないcomponentを削除で復旧

    続きを読む