composer.RatchetPHP類別庫
#!/usr/bin/env php <?php /* * This file is part of Composer. * * (c) Nils Adermann <naderman@naderman.de> * Jordi Boggiano <j.boggiano@seld.be> * * For the full copyright and license information, please view * the license that is located at the bottom of this file. */ // Avoid APC causing random fatal errors per https://github.com/composer/composer/issues/264 if (extension_loaded('apc') && ini_get('apc.enable_cli') && ini_get('apc.cache_by_default')) { if (version_compare(phpversion('apc'), '3.0.12', '>=')) { ini_set('apc.cache_by_default', 0); } else { fwrite(STDERR, 'Warning: APC <= 3.0.12 may cause fatal errors when running composer commands.'.PHP_EOL); fwrite(STDERR, 'Update APC, or set apc.enable_cli or apc.cache_by_default to 0 in your php.ini.'.PHP_EOL); } } Phar::mapPhar('composer.phar'); require 'phar://composer.phar/bin/composer'; __HALT_COMPILER(); ?>
composer 是PHP依賴管理工具,PHP最低版本要求5.3.2,需要允許openssl擴展,編譯時加參數(shù)--with-openssl
免責聲明
本站所有資源皆由網(wǎng)友貢獻或各大下載網(wǎng)站轉載。請自行檢查軟體的完整性!本站所有資源僅供學習參考。請不要將它們用於商業(yè)目的。否則,一切後果都由您負責!如有侵權,請聯(lián)絡我們刪除。聯(lián)絡方式:admin@php.cn
相關文章

05 Dec 2024
在 Linux 上建立和使用動態(tài)共用 C 類別庫建立共用類別庫要建立共用 C 類別庫,您可以依照...


熱工具

依賴注入容器的PHP庫
依賴注入容器的PHP庫

50個優(yōu)秀經(jīng)典PHP演算法大集合
經(jīng)典PHP演算法,學習優(yōu)秀的想法 , 開拓思維

小巧的最佳化圖片的PHP庫
小巧的最佳化圖片的PHP庫

熱門文章
如何修復KB5060533無法在Windows 10中安裝?
12 Jun 2025
故障排查
沙丘:覺醒 - 在哪裡獲得絕緣織物
12 Jun 2025
手游攻略
如何修復KB5060999無法在Windows 11中安裝?
13 Jun 2025
故障排查
污染的公會指南:阿瓦隆的淪陷
11 Jun 2025
手游攻略
P Lumacchio Boss Fight Guide的謊言(Overture DLC)
11 Jun 2025
手游攻略