且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在本地wamp服务器上安装cakephp?

更新时间:2022-04-02 22:38:12

1。从 CakePHP官方网站下载更新的Cake PHP [ ^ ]并解压缩文件。

2.将文件夹复制到Wamp服务器文件夹:C:\ www \ wamp \(cakefolder)

3.这里你需要在app文件夹中做的一切。如果你没有太多的知识,不要改变任何其他文件夹内容。

4.转到(cakefolder) - > app - >配置 - > database.php.defult并将其重命名为database.php

5.打开(cakefoler) - > app - >配置 - > core.php并更改Security.salt值和Security.cipherSeed。

6.确保(cakefolder) - > tmp是可写的,并且启用了apache mod_rewrite。

7.使用数据库详细信息设置database.php配置。

8.打开浏览器并输入:http:// localhost /(cakefolder)/那就是了。



source 这里 [ ^ ]
1. Download updated Cake PHP from CakePHP Official Website[^] and unzip the file.
2. Copy the folder to Wamp server folder : C:\www\wamp\(cakefolder)
3. Here everything you will have to do in app folder. Don''t alter any other folder content, if you don''t have much knowledge.
4. Go to (cakefolder) -> app -> Config -> database.php.defult and rename it as database.php
5. Open (cakefoler) -> app -> Config -> core.php and change the Security.salt value and Security.cipherSeed.
6. Make sure the (cakefolder) -> tmp is writable and apache mod_rewrite is enabled.
7. Set the database.php configuration with the database details.
8. Open the browser and type : http://localhost/(cakefolder)/ and that''s up.

source here[^]