聰明屋視角
關(guān)注互聯(lián)網(wǎng),關(guān)注技術(shù)開發(fā),透析與分享移動互聯(lián)網(wǎng)行業(yè)最新動態(tài)windows apache多端口虛擬主機配置方法
時間:2019-02-17 13:39:55 閱讀:54785次 分類:解決方案
1、安裝wampserver2.2d_x32_zol.zip,默認(rèn)目錄;
2、新建數(shù)據(jù)庫,修改數(shù)據(jù)庫默認(rèn)密碼;
3、php.ini修改警告級別,error_reporting=E_ALL & ~E_NOTICE
4、httpd.conf修改
Include conf/extra/httpd-vhosts.conf刪除前面的#
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
#Deny from all
Allow from all
</Directory>
# onlineoffline tag - don't remove
Order Allow,Deny
Allow from all
</Directory>
修改端口
Listen 8000
ServerName localhost:8000
5、C:\wamp\wamp\wampmanager.tpl,3個地方修改http://localhost:8000,設(shè)置端口;
6、打開C:\wamp\bin\apache\Apache2.2.21\conf\extra目錄httpd-vhosts.conf文件
NameVirtualHost *:8000
<VirtualHost *:8000>
ServerAdmin [email protected]
ServerName www1.youfish.net
DocumentRoot C:/wamp/www/YOUYU/m.youfish.net
DirectoryIndex index.php index.html index.htm
</VirtualHost>
<VirtualHost *:8000>
ServerAdmin [email protected]
ServerName img1.youfish.net
DocumentRoot C:/wamp/www/YOUYU/imana.youfish.net/imgs
DirectoryIndex index.php index.html index.htm
</VirtualHost>
<VirtualHost *:8000>
ServerAdmin [email protected]
ServerName imana1.youfish.net
DocumentRoot C:/wamp/www/YOUYU/imana.youfish.net/root
DirectoryIndex index.php index.html index.htm
</VirtualHost>
<VirtualHost *:8000>
ServerAdmin [email protected]
ServerName m1.youfish.net
DocumentRoot C:/wamp/www/YOUYU/m.youfish.net
DirectoryIndex index.php index.html index.htm
</VirtualHost>
<VirtualHost *:8000>
ServerAdmin [email protected]
ServerName s1.youfish.net
DocumentRoot C:/wamp/www/YOUYU/s.youfish.net/root
DirectoryIndex index.php index.html index.htm
</VirtualHost>
<VirtualHost *:8000>
ServerAdmin [email protected]
ServerName t1.youfish.net
DocumentRoot C:/wamp/www/YOUYU/t.youfish.net
DirectoryIndex index.php index.html index.htm
</VirtualHost>
7、打開C:\wamp\alias\phpmyadmin.conf,修改phpmyadmin訪問權(quán)限
<Directory "c:/wamp/apps/phpmyadmin3.4.10.1/">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Deny,Allow
Allow from all
Allow from 127.0.0.1
</Directory>
8、打開C:\Windows\System32\drivers\etc\hosts,修改綁定網(wǎng)址
127.0.0.1 www1.youfish.net
127.0.0.1 m1.youfish.net
127.0.0.1 s1.youfish.net
127.0.0.1 t1.youfish.net
127.0.0.1 img1.youfish.net
127.0.0.1 imana1.youfish.net
127.0.0.1 localhost
9、打開C:\wamp\apps\phpmyadmin3.4.10.1\config.inc.php,修改$cfg['Servers'][$i]['password'] = '123123a';數(shù)據(jù)庫密碼
10、wampserver,PHP->PHP extensions,選中php_curl選項;
11、重啟wampserver。
蕪湖市聰明屋智能科技有限公司(原中江網(wǎng)絡(luò)),成立于2005年,經(jīng)過10多年定制開發(fā)經(jīng)驗,積累了大量技術(shù)儲備和定制開發(fā)經(jīng)驗,率先創(chuàng)建安徽省內(nèi)自主研發(fā)的云計算平臺,具有大數(shù)據(jù)、高并發(fā)等高強度計算能力,為眾多政府、學(xué)校、公安部門、中小企業(yè)解決數(shù)據(jù)計算與管理難題。2013年公司內(nèi)部專門創(chuàng)建電商服務(wù)部,為企業(yè)提供全方位電商解決方案與配套服務(wù)。多次獲得國家、省市級領(lǐng)導(dǎo)接見,被國內(nèi)近20家電視臺、報紙媒體爭相報道。至今,聰明屋智能科技服務(wù)過上市公司、大型國企、各類私企超800家,為多家公司提供各類政務(wù)系統(tǒng)、app開發(fā)定制、微信小程序開發(fā)定制、智能家居、電商系統(tǒng)、連鎖收銀等技術(shù)解決方案服務(wù)。同時,聰明屋智能科技在智能硬件方面、區(qū)塊鏈應(yīng)用方面持續(xù)投入關(guān)注及創(chuàng)新。
基于圖像處理的道路病害檢測方法已經(jīng)成為了路面病害檢測技術(shù)的主要方法,它基本可以實...