doormen2014 2014-05-09 13:15
浏览 142

Windows上的PHP5.4,带有sqlite但没有Apache和MySQL

Prefer to install minimum software to reduce disk and memory footprint. Thus, I plan to install a minimalistic PHP+DB configuration. Here's my idea of minimalistic setup, as opposed to a full-scale WAMP stack:

  • PHP5.4.x binaries (use the inbuilt webserver, instead of Apache)
  • SQLite (instead of MySQL)

I would like to manually start-stop the PHP web-server (i.e. not run it as a auto-started service). There are many tutorials and instructions about setup of WAMP alternatives using NGINX, MariaDB, PostgreSQL etc., but I've not found anything with the above configuration. This is a development and learning setup. I plan to use a micro-framework (like Slim) at some point, to develop REST based application (rather learn to do so), which shall serve as the backend (again, in development mode) for Android applications.

Would like to understand:

  • If I'd be missing some key capabilities (compared to a WAMP/LAMP stack) with the above minimalistic approach ?
  • Any existing guide / tutorial that explains how to create such a minimalistic setup ?
  • 写回答

1条回答 默认 最新

  • dongpangfu6322 2014-05-09 14:01
    关注

    Look into using QuickPHP (http://www.zachsaw.com/?pg=quickphp_php_tester_debugger). It's a tiny php server for Windows which comes with just the php dll. Or you can download the php binaries for windows and place the QuickPHP executable there and then enable extensions like SQLite by changing the php ini configuration files. Note that it's meant for development and debugging purposes only.

    评论

报告相同问题?

悬赏问题

  • ¥50 永磁型步进电机PID算法
  • ¥15 sqlite 附加(attach database)加密数据库时,返回26是什么原因呢?
  • ¥88 找成都本地经验丰富懂小程序开发的技术大咖
  • ¥15 如何处理复杂数据表格的除法运算
  • ¥15 如何用stc8h1k08的片子做485数据透传的功能?(关键词-串口)
  • ¥15 有兄弟姐妹会用word插图功能制作类似citespace的图片吗?
  • ¥200 uniapp长期运行卡死问题解决
  • ¥15 latex怎么处理论文引理引用参考文献
  • ¥15 请教:如何用postman调用本地虚拟机区块链接上的合约?
  • ¥15 为什么使用javacv转封装rtsp为rtmp时出现如下问题:[h264 @ 000000004faf7500]no frame?