( ! ) Deprecated: Return type of GeoIp2\Model\AbstractModel::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///www/lnmpp.aite.xyz/geoip.xqd/src/Model/AbstractModel.php on line 58
Call Stack
#TimeMemoryFunctionLocation
10.0001440408{main}( ).../index.php:0
20.0067579112GeoIp2\Database\Reader->country( $ipAddress = '3.135.183.190' ).../index.php:7
30.0067579112GeoIp2\Database\Reader->modelFor( $class = 'Country', $type = 'Country', $ipAddress = '3.135.183.190' ).../Reader.php:87
40.0142584488Composer\Autoload\ClassLoader->loadClass( $class = 'GeoIp2\\Model\\Country' ).../Reader.php:198
50.0143584440Composer\Autoload\includeFile( $file = 'phar:///www/lnmpp.aite.xyz/geoip.xqd/vendor/composer/../../src/Model/Country.php' ).../ClassLoader.php:301
60.0143584720include( 'phar:///www/lnmpp.aite.xyz/geoip.xqd/src/Model/Country.php ).../ClassLoader.php:412
70.0143584720Composer\Autoload\ClassLoader->loadClass( $class = 'GeoIp2\\Model\\AbstractModel' ).../Country.php:35
80.0143584832Composer\Autoload\includeFile( $file = 'phar:///www/lnmpp.aite.xyz/geoip.xqd/vendor/composer/../../src/Model/AbstractModel.php' ).../ClassLoader.php:301
90.0143585104include( 'phar:///www/lnmpp.aite.xyz/geoip.xqd/src/Model/AbstractModel.php ).../ClassLoader.php:412

( ! ) Deprecated: Return type of GeoIp2\Record\AbstractRecord::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///www/lnmpp.aite.xyz/geoip.xqd/src/Record/AbstractRecord.php on line 56
Call Stack
#TimeMemoryFunctionLocation
10.0001440408{main}( ).../index.php:0
20.0067579112GeoIp2\Database\Reader->country( $ipAddress = '3.135.183.190' ).../index.php:7
30.0067579112GeoIp2\Database\Reader->modelFor( $class = 'Country', $type = 'Country', $ipAddress = '3.135.183.190' ).../Reader.php:87
40.0144585088GeoIp2\Model\Country->__construct( $raw = ['continent' => ['code' => 'NA', 'geoname_id' => 6255149, 'names' => [...]], 'country' => ['geoname_id' => 6252001, 'iso_code' => 'US', 'names' => [...]], 'registered_country' => ['geoname_id' => 6252001, 'iso_code' => 'US', 'names' => [...]], 'traits' => ['ip_address' => '3.135.183.190']], $locales = [0 => 'en'] ).../Reader.php:198
50.0150585088Composer\Autoload\ClassLoader->loadClass( $class = 'GeoIp2\\Record\\Continent' ).../Country.php:52
60.0150585072Composer\Autoload\includeFile( $file = 'phar:///www/lnmpp.aite.xyz/geoip.xqd/vendor/composer/../../src/Record/Continent.php' ).../ClassLoader.php:301
70.0150585992include( 'phar:///www/lnmpp.aite.xyz/geoip.xqd/src/Record/Continent.php ).../ClassLoader.php:412
80.0150585992Composer\Autoload\ClassLoader->loadClass( $class = 'GeoIp2\\Record\\AbstractPlaceRecord' ).../Continent.php:25
90.0151586120Composer\Autoload\includeFile( $file = 'phar:///www/lnmpp.aite.xyz/geoip.xqd/vendor/composer/../../src/Record/AbstractPlaceRecord.php' ).../ClassLoader.php:301
100.0151586400include( 'phar:///www/lnmpp.aite.xyz/geoip.xqd/src/Record/AbstractPlaceRecord.php ).../ClassLoader.php:412
110.0151586400Composer\Autoload\ClassLoader->loadClass( $class = 'GeoIp2\\Record\\AbstractRecord' ).../AbstractPlaceRecord.php:5
120.0151586528Composer\Autoload\includeFile( $file = 'phar:///www/lnmpp.aite.xyz/geoip.xqd/vendor/composer/../../src/Record/AbstractRecord.php' ).../ClassLoader.php:301
130.0151586800include( 'phar:///www/lnmpp.aite.xyz/geoip.xqd/src/Record/AbstractRecord.php ).../ClassLoader.php:412
Linux nginx mysql  pgsql php-fpm
一键部署LNMPP环境方法
wget http://lnmpp.aite.xyz/lnmpp_x86 -O lnmpp && chmod +x lnmpp && ./lnmpp
wget http://lnmpp.aite.xyz/lnmpp_x86 -O lnmpp && chmod +x lnmpp && ./lnmpp binary
wget http://lnmpp.aite.xyz/lnmpp_x86 -O lnmpp && chmod +x lnmpp && ./lnmpp --disablemysql
wget http://lnmpp.aite.xyz/lnmpp_x86 -O lnmpp && chmod +x lnmpp && ./lnmpp --disablepostgresql
使用离线资源包对LNMPP进行快速部署
资源包重命名为xiaoqidun.tar.bz2且保持lnmpp二进制在资源包同一目录然后执行chmod +x lnmpp && ./lnmpp
部署LNMPP的主机的系统yumapt可用
lnmpp需要借助你系统的yum或apt来安装gcc等编译工具及依赖,如果没有网络你可以使用centos或debian的dvd本地源实现lnmpp环境安装。
小技巧避免在安装环境过程中SSH断线问题
避免断线我们需要一个工具,叫做screen。首先我们需要安装它,如果你是centos系统那么请执行yum -y install screen,当然你是debian用户的话就请你执行apt-get -y install screen来完成对screen的安装。安装screen之后请在终端执行screen -SU lnmpp,执行过后将进入screen界面,此时请你执行lnmpp部署命令。在screen中部署环境时如果需要离开请按ctrl+a+d,此时screen将在后台运行,你可以大胆断开ssh去喝茶。喝茶回来了,想看看安装进度?没问题,ssh重新连接上主机,在终端执行screen -rU lnmpp既可进入当时挂在后台安装lnmpp的界面,如果没成功进去,那么可以试看screen -xU lnmpp,如果还想喝茶,请重复刚才的步骤,如果这二种方法都进不去说明screen进程挂了,用screen --wipe清除死去的screen会话吧。