文件名称:Magento-PHP-Webserver-Router:从本地目录中的curl安装程序创建router.php文件
文件大小:2KB
文件格式:ZIP
更新时间:2024-06-07 23:12:26
PHP
从PHP 5.4的网络服务器轻松运行Magento 将router.php文件复制到您的Magento根目录中。 启动PHP的Web服务器时,请使用路由器文件作为最后一个参数: php -S 127.0.0.1:8080 router.php 要启用开发人员模式(例如,在下面的Magento 2中),请使用以下设置EnvVar: MAGE_MODE=developer php -d variables_order=EGPCS -S 127.0.0.1:8080 router.php 要从Shell安装程序进行安装(例如,在部署中编写脚本): curl -sS https://raw.githubusercontent.com/philwinkle/Magento-PHP-Webserver-Router/master/install.sh | bash 特别感谢对设置的帮助。
【文件预览】:
Magento-PHP-Webserver-Router-master
----router.php(420B)
----install.sh(132B)
----README.md(929B)