Php/fuelphp/バージョンアップのソースを表示
←
Php/fuelphp/バージョンアップ
ナビゲーションに移動
検索に移動
あなたには「このページの編集」を行う権限がありません。理由は以下の通りです:
この操作は、次のグループに属する利用者のみが実行できます:
登録利用者
。
このページのソースの閲覧やコピーができます。
==fuelphp1.9へバージョンアップ== composer.json更新 <pre> { "name": "fuel/fuel", "type": "project", "description" : "FuelPHP is a simple, flexible, community driven PHP 8.1+ framework, based on the best ideas of other frameworks, with a fresh start!", "keywords": ["application", "website", "development", "framework", "PHP"], "license": "MIT", "repositories": [ { "type": "vcs", "url": "https://github.com/fuel/docs" }, { "type": "vcs", "url": "https://github.com/fuel/core" }, { "type": "vcs", "url": "https://github.com/fuel/auth" }, { "type": "vcs", "url": "https://github.com/fuel/email" }, { "type": "vcs", "url": "https://github.com/fuel/oil" }, { "type": "vcs", "url": "https://github.com/fuel/orm" }, { "type": "vcs", "url": "https://github.com/fuel/parser" } ], "require": { "php": ">=8.1", "composer/installers": "^2.3", "fuel/docs": "dev-1.9/develop", "fuel/core": "dev-1.9/develop", "fuel/auth": "dev-1.9/develop", "fuel/email": "dev-1.9/develop", "fuel/oil": "dev-1.9/develop", "fuel/orm": "dev-1.9/develop", "fuel/parser": "dev-1.9/develop", "fuelphp/upload": "2.0.2", "monolog/monolog": "^3.0", "phpseclib/phpseclib": "~3.0", "michelf/php-markdown": "~1.9" }, "suggest": { "dwoo/dwoo" : "Allow Dwoo templating with the Parser package", "mustache/mustache": "Allow Mustache templating with the Parser package", "smarty/smarty": "Allow Smarty templating with the Parser package", "twig/twig": "Allow Twig templating with the Parser package", "pyrocms/lex": "Allow Lex templating with the Parser package", "mthaml/mthaml": "Allow Haml templating with Twig supports with the Parser package" }, "config": { "vendor-dir": "fuel/vendor", "allow-plugins": { "composer/installers": true } }, "extra": { "installer-paths": { "fuel/{$name}": ["fuel/core"], "{$name}": ["fuel/docs"] } }, "scripts": { "post-install-cmd": [ "php oil r install" ] }, "minimum-stability": "dev", "prefer-stable": true } </pre> ===ja_JP.UTF-8なエラーが起こる場合=== エラー詳細 Fuel\Core\PhpErrorException [ Fatal Error ]: The configured locale(s) "ja_JP.UTF-8" can not be found on your system. 以下インストール対応 sudo dnf install -y glibc-langpack-ja ===ja_JP.UTF-8なエラーが起こる場合(ページ更新で出たり出なかったり)=== 調査 <pre> $ locale -a | grep ja ja_JP.eucjp ja_JP.utf8 </pre> fuel/app/config/config.php <pre> - 'locale' => 'ja_JP.UTF-8', + 'locale' => 'ja_JP.utf8', </pre> ==array_key_existsエラーが起こる場合== エラー詳細 Fuel\Core\PhpErrorException [ Runtime Deprecated code usage ]: Using null as the key parameter for array_key_exists() is deprecated, use an empty string instead DOCROOT/index.php @ line 66 対応方法 修正前 array_key_exists($route, Router::$routes) 修正後 <pre> $route = $route ?? ''; $route = array_key_exists($route, Router::$routes) ? Router::$routes[$route]->translation : Config::get('routes.'.$route); </pre> ==fuelphp1.8.2へバージョンアップ== composer.json <pre> "require": { "php": ">=5.3.3", "composer/installers": "~1.0", "fuel/docs": "1.7.*", "fuel/core": "1.7.*", "fuel/auth": "1.7.*", "fuel/email": "1.7.*", "fuel/oil": "1.7.*", "fuel/orm": "1.7.*", "fuel/parser": "1.7.*", "fuelphp/upload": "2.0.2", "monolog/monolog": "1.5.*", "phpseclib/phpseclib": "2.0.0", "michelf/php-markdown": "1.4.0" }, </pre> composer.json <pre> "require": { "php": ">=5.3.3", "composer/installers": "~1.0", "fuel/docs": "1.8.*", "fuel/core": "1.8.*", "fuel/auth": "1.8.*", "fuel/email": "1.8.*", "fuel/oil": "1.8.*", "fuel/orm": "1.8.*", "fuel/parser": "1.8.*", "fuelphp/upload": "2.0.2", "monolog/monolog": "1.5.*", "phpseclib/phpseclib": "2.0.0", "michelf/php-markdown": "1.4.0" }, </pre> バージョンアップ composer update
Php/fuelphp/バージョンアップ
に戻る。
ナビゲーション メニュー
個人用ツール
ログイン
名前空間
ページ
議論
日本語
表示
閲覧
ソースを閲覧
履歴表示
その他
検索
案内
プログラムメモ
php
flutter
java
android
kotlin
ios
unity
unrealengine
javascript
mysql
sqlite
postgresql
oracle
mroonga
mongodb
flash
electron
cocos2dx
titanium
cpp
ruby
perl
python
accessメモ
rss
html
monaca
cordova
golang
blender
セキュリティ
テストツール
サーバメモ
linux
dotnet
apacheメモ
htaccessメモ
subversion
git
仮想サーバ
ansible
sendgrid
xampp
cacti
mecab
faces
flashpolicyd
fcs
jenkins
運用
デザインメモ
css
ユーザビリティ
ux
サービスメモ
twitter
facebook
instagram
mixi
セカンドライフ
通信ログ横取り
google
ustream
aws
gcp
plesk
azure
vps
AI
その他サービス
便利系メモ
SEO
モバイル
抽象変数名
DDD
クライアント
firefox
chrome
pgp
windows
mac
jmetar
Thunderbird
excel
libreoffice
vpnclient
doxygen
VisualStudioCode
fastlane
metaquest
cmsメモ
mediawiki
pukiwiki
wordpress
その他
資格
IT用語
pvを稼ぐ方法
将棋プログラム
その他
ログイン
ページ内
メインページ
最近の更新
人気のページ
問い合わせ
ツール
リンク元
関連ページの更新状況
ページ情報