In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
showdoc is an api documentation system developed by PHP, so the required environment is consistent with ordinary PHP projects.
Preparation environment:
php
nginx
composer //pay attention to replace the domestic image, otherwise the speed will be slow, or even fail
create a project
composer create-project showdoc/showdoc
Configure showdoc write permissions
chmod a+w showdoc/installchmod a+w showdoc/Sqlitechmod a+w showdoc/Sqlite/showdoc.db.phpchmod a+w showdoc/Public/Uploads/chmod a+w showdoc/Application/Runtimechmod a+w showdoc/server/Application/Runtimechmod a+w showdoc/Application/Common/Conf/config.phpchmod a+w showdoc/Application/Home/Conf/config.php
configuration server
The following configuration is for windows environment. If you want to use linux, note that you may need to modify some configuration items #== showdoc == server { listen 80; server_name showdoc.leesin.me; charset utf-8; #access_log logs/host.access.log main; root E:\showdoc; index index.php index.html; if (!- e $request_filename) { rewrite ^(.*)$ /index.php? s=/$1 last; break; } #error_page 404 /404.html; # redirect server error pages to the static page /50x.html # error_page 500 502 503 504 /50x.html; location = /50x.html { root html; } location ~ \.php$ { fastcgi_pass fastcgi_backend; # linux cannot use this method, but instead 127.0.0.1: 9000 fastcgi_index index.php; include fastcgi_params; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param SCRIPT_NAME $fastcgi_script_name; } } Configure hosts 127.0.0.1 showdoc.leesin.me Restart nginx service
Open sqlite related extension
php.iniextension=php_sqlite3.dllextension=php_pdo_sqlite.dll
installation
Browser input: showdoc.leesin.me/install Select language and confirm, installation is complete Click to enter the home page
accessing the usage
http://showdoc.leesin.me/web
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.