-
-
PHPカンファレンス2018の実行委員長をやった話し
2018/12/17 PHP, イベント運営 PHPCON2018, PHPカンファレンス
12/15土曜日に大田区産業プラザPiOで開催したPHPカンファレンスの実行委員 ...
-
-
bundle install がうまくいかない
2018/01/22 ruby&rails vagrant, 開発環境
vagrantで仮想化した環境で bundle install がうまくいかない ...
-
-
rake:task をcontrolloerから叩く場合の引数の渡し方
2017/05/12 ruby&rails rails
WEB画面で何か操作をした時にバッチを実行したい場合など、controllerか ...
-
-
cakephp3とnginxで開発環境と本番環境サーバのを環境変数で切り替える設定
2016/09/29 cakephp
cakephp3は前からそうだったが3になっても、開発環境と本番環境の切り替え機 ...
-
-
php-gdでアンリエイリアスをかけようとしてCall to undefined function imageantialias()が出る
2016/04/01 PHP
phpのgdで線を斜めに描いていると結構ガクガクして見栄えが悪い そこでimag ...
-
-
PHP5.3からPHP5.5にアップデート
今更だけどメモ
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859rpm -ivh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm# yum info php --enablerepo=remi-php55,remiLoaded plugins: downloadonly, fastestmirror, priorities, securityLoading mirror speeds from cached hostfile* base: www.ftp.ne.jp* epel: ftp.kddilabs.jp* extras: www.ftp.ne.jp* remi: remi.kazukioishi.net* remi-php55: remi.kazukioishi.net* updates: www.ftp.ne.jpbase | 3.7 kB 00:00extras | 3.4 kB 00:00remi | 2.9 kB 00:00remi/primary_db | 696 kB 00:00remi-php55 | 2.9 kB 00:00remi-php55/primary_db | 150 kB 00:00updates | 3.4 kB 00:00531 packages excluded due to repository priority protectionsInstalled PackagesName : phpArch : x86_64Version : 5.3.3Release : 27.el6_5Size : 3.5 MRepo : installedFrom repo : updatesSummary : PHP scripting language for creating dynamic web sitesURL : http://www.php.net/License : PHPDescription : PHP is an HTML-embedded scripting language. PHP attempts to make it: easy for developers to write dynamically generated webpages. PHP also: offers built-in database integration for several commercial and: non-commercial database management systems, so writing a: database-enabled webpage with PHP is fairly simple. The most common: use of PHP coding is probably as a replacement for CGI scripts.:: The php package contains the module which adds support for the PHP: language to Apache HTTP Server.Available PackagesName : phpArch : x86_64Version : 5.5.13Release : 1.el6.remiSize : 2.6 MRepo : remi-php55Summary : PHP scripting language for creating dynamic web sitesURL : http://www.php.net/License : PHP and Zend and BSDDescription : PHP is an HTML-embedded scripting language. PHP attempts to make it: easy for developers to write dynamically generated web pages. PHP also: offers built-in database integration for several commercial and: non-commercial database management systems, so writing a: database-enabled webpage with PHP is fairly simple. The most common: use of PHP coding is probably as a replacement for CGI scripts.:: The php package contains the module (often referred to as mod_php): which adds support for the PHP language to Apache HTTP Server....
-
-
PHPでどのphp.iniを参照しているか確認したい
2014/10/10 PHP
人の構築したサーバを触っているとどのphp.iniが使われているのかわからない時 ...
-
-
smarty の date_format で先頭の0を表示しない
2014/04/04 Smarty
変数で「%m」とかなっているところにマイナスを付けて、「%-m」にする。 201 ...
-
-
smarty で config_load した変数の文字列結合のやり方
2014/03/26 Smarty
smarty のコンフィグに [crayon-603e4e7f791882815 ...
-
-
cakephp2でviewファイル不要のアクションを作成する
2014/01/15 cakephp
ログイン処理のようにhtmlの表示をぜずにリダイレクトしてしまう処理の場合はvi ...
-
-
unknown variable 'default-character-set=utf8'
2013/12/09 MySQL
12345678910111213141516171819131204 13:38:30 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql131204 13:38:30 [Note] Plugin 'FEDERATED' is disabled.131204 13:38:30 InnoDB: The InnoDB memory heap is disabled131204 13:38:30 InnoDB: Mutexes and rw_locks use GCC atomic builtins131204 13:38:30 InnoDB: Compressed tables use zlib 1.2.3131204 13:38:30 InnoDB: Using Linux native AIO131204 13:38:30 InnoDB: Initializing buffer pool, size = 128.0M131204 13:38:30 InnoDB: Completed initialization of buffer pool131204 13:38:30 InnoDB: highest supported file format is Barracuda.131204 13:38:30 InnoDB: Waiting for the background threads to start131204 13:38:31 InnoDB: 5.5.34 started; log sequence number 20584055131204 13:38:31 [ERROR] /usr/libexec/mysqld: unknown variable 'default-character-set=utf8'131204 13:38:31 [ERROR] Aborting131204 13:38:31 InnoDB: Starting shutdown...131204 13:38:32 InnoDB: Shutdown completed; log sequence number 20584055131204 13:38:32 [Note] /usr/libexec/mysqld: Shutdown complete131204 13:38:32 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pida endedここのところ ...
-
-
MySQLのrootパスワードなんだっけ!?
2013/12/04 MySQL
開発用サーバとか構築中で忘れてた適当なサーバで稀に起こる事件 -- ...
-
-
MySQLのマルチマスター構成でレプリケーションがぶっ壊れたのでなかったことにする
2013/11/30 MySQL
リブート繰り返してたらぶっ壊れたけど、データは別に必要なものではないので とりあ ...
-
-
simplexml_load_fileで属性を取得する
2013/07/22 PHP
simplexml_load_fileを使っていて [crayon-603e4e ...
-
-
MySQL5.5をソースから入れつつmroonga3を入れる
2013/07/13 groonga
各URLを参照しながらやったけど、バージョンが違ったり微妙にうまくいかなかったり ...