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.

    评论

报告相同问题?

悬赏问题

  • ¥60 版本过低apk如何修改可以兼容新的安卓系统
  • ¥25 由IPR导致的DRIVER_POWER_STATE_FAILURE蓝屏
  • ¥50 有数据,怎么建立模型求影响全要素生产率的因素
  • ¥50 有数据,怎么用matlab求全要素生产率
  • ¥15 TI的insta-spin例程
  • ¥15 完成下列问题完成下列问题
  • ¥15 C#算法问题, 不知道怎么处理这个数据的转换
  • ¥15 YoloV5 第三方库的版本对照问题
  • ¥15 请完成下列相关问题!
  • ¥15 drone 推送镜像时候 purge: true 推送完毕后没有删除对应的镜像,手动拷贝到服务器执行结果正确在样才能让指令自动执行成功删除对应镜像,如何解决?