wamp2.2cIntegration Environment搭建網站問題總結

來源:互聯網
上載者:User

標籤:wamp2.2cIntegration Environment搭建網站問題總結

                           wamp2.2cIntegration Environment搭建網站問題總結

通過PHPmyadmin上傳大於2M的.sql檔案無法上傳錯誤資訊No data was received to import.

Either no filename was submitted、or the file size exceeded the maximum size permitted by your PHP configuration. See

開啟php.ini設定檔找到

file_uploads = on //是否允許通過HTTP上傳檔案的開關

upload_max_filesize = 8M  //上傳檔案大小

post_max_size =8M  //通過表單post給php的所能接收的最大值

memory_limit = 8M //每個PHP頁面所吃掉的最大記憶體

以上幾個檔案修改完後一定要記住重啟php環境,切記php環境一定是重新啟動而不是啟動!


網站配置好以後訪問網站提示wamp  You don‘t have permission to access /index.php on           this server

找到httpd.conf檔案修改

<Directory />

Options FollowSymlinks

Allow0verride None

Order deny,allow

deny from all 改為allow from all

</Directory>

onlineoffline tag - dont remove

Order Deny,Allow

Deny from all  改為 allow from all

Allow from 127.0.0.1

修改完後重新啟動Apache服務


修改完以上內容網站可以訪問了但是訪問phpmyadmin時提示Forbidden  You don‘t have               permission to access /phpmyadmin on this server

找到wamp的安裝目錄alias下面的phpmyadmin.conf檔案開啟

<Directory "c:/wamp/apps/phpmyadmin3.4.5/">

Options Indexes FollowSymLinks MultiViews

AllowOverride all

Order Deny,Allow

Allow from all  //原來的是Deny from all

Allow from all 127.0.0.1 //刪除這一行否則只有被本機可以訪問

</Directory>修改完需要重新啟動Apache服務生效!


開啟網站提示DedeCMS  Error WarningTechnical support http://bbs.dedecms.com  

Error page /Error infos DedeCMS錯誤警告 串連資料庫失敗,可能資料庫密碼不對或資料庫服         務器出錯!

首先此網站使用DedeCMS做的,在DedeCMS中的data目錄下有一個common.inc.php檔案這個檔案中       需要填寫你在mysql資料庫中建立的資料庫名字,以及對應該網站的資料庫使用者名稱密碼等資訊。       以下是處理的結果

<?php

//資料庫連接資訊

$cfg_dbhost = ‘localhost‘;

$cfg_dbname = ‘MysqlDB‘;

$cfg_dbuser = ‘root‘;

$cfg_dbpwd = ‘Chinese‘;

$cfg_dbprefix = ‘foodo_‘;

$cfg_db_language = ‘gbk‘;


本文出自 “卓越軍” 部落格,請務必保留此出處http://wxj121.blog.51cto.com/7136845/1583413

wamp2.2cIntegration Environment搭建網站問題總結

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.