随笔分类 -  thinkphp

为学习制作小程序搭建服务器端
摘要:1. 访问https://xdebug.org/wizard 2查看php.info的源代码复制黏贴 3.安装提示步骤操作放入php/etc文件夹下 4.配置php.ini 使用xampp的同学可以使用 5.在最后加入提示的那行 然后在加入配置 给出我的配置 [Xdebug] zend_extens 阅读全文
posted @ 2020-07-26 18:02 阢Lana 阅读(186) 评论(0) 推荐(0)
摘要:1.当我新建一个api的文件夹,并在controller下建立v1然后放入我的Test类 2.配置路由 这一步的路由配置不同于之前 v1.Test这是配置固定的三段式,模块名/控制器名/方法名 Route::get('hi/:id','api/v1.Test/hi'); 3.访问 阅读全文
posted @ 2020-07-26 16:12 阢Lana 阅读(1320) 评论(0) 推荐(0)
摘要:1.Test.php <?php namespace app\sample\controller; class Test { public function hello($id,$name){ echo $id; echo '|'; echo $name."<br>"; return 'hello, 阅读全文
posted @ 2020-07-18 16:54 阢Lana 阅读(206) 评论(0) 推荐(0)
摘要:1.打开apache的文件夹找到文件 C:\phptest\apache\conf\extra\httpd-vhosts.conf 2.在最后加入 <VirtualHost *:80> DocumentRoot "C:\phptest\htdocs\thinkse\public" ServerNam 阅读全文
posted @ 2020-07-18 11:00 阢Lana 阅读(243) 评论(0) 推荐(0)
摘要:1.在application下新建sample,再在其下建立controller 2.新建php class 文件名为Test.php <?php namespace app\sample\controller; class Test { public function hello(){ echo 阅读全文
posted @ 2020-07-15 22:16 阢Lana 阅读(248) 评论(0) 推荐(0)
摘要:1.xampp下载 https://www.apachefriends.org/index.html 选择php,apache,mysql,perl 视频地址https://www.bilibili.com/video/BV1QK411V74q?p=15 查看php配置要先配置php的path 计算 阅读全文
posted @ 2020-07-13 20:47 阢Lana 阅读(204) 评论(0) 推荐(0)

/*别去做新时代教化的奴隶,别轻易去向别人看齐——*/
正在加载今日诗词....
© options->title(); ?>. Typecho 强力驱动'); ?>.