睡梦中被网站监测(点击进入这里有很多提供免费网站监测的网站,我使用的是国外的,每分钟监测一次,实时提醒,避免网站长时间挂掉。)短信给吵醒了,网站无法正常打开了,无奈起床。
所有网站提示Service Unavailable,看日志发现有加载7i24防盗链文件错误的日志,先不查原因,卸载了先说,卸载后静态页面正常,但是php页面不行,全是空白页面,重启iis、mysql都无果,写个php简单页面测试php发现正常,看来是无法连上mysql,上网搜索解决方法,搜到以下几种方法:
1. extension_dir = 和PHP实际的ext目录不一致。
2. 没有把PHP目录和ext目录添加到环境变量中。
3. extension=php_mysql.dll等前的;注释没去掉。
4. Zend安装目录和php.ini中Zend指定的目录不一致。
5、把libmySQL.dll复制一个到:c:windowssystem32下..然后重启IIS
看的眼花缭乱吧,我一一都试过了,还是不行。然后重启服务器,不行。重装php mysql还是不行,到此有点崩溃了。不过不能崩溃,还得继续查,查到一篇文章里提到 phpinfo() 里 Loaded Configuration File C:WINDOWSphp.ini ,那篇文章提到是php.ini的问题,但是我这不会是php.ini,因为我已经之前的恢复过了。不过我打开phpinfo()页面(),看到 Loaded Configuration File (none) ,显然根本就没有加载到php.ini,这时候我想到了权限,赶快给其添加了users读取权限(不行的话可以再加上guests),重启iis,ok了。
所以除了上面5条,可以再加个第6条:
6.检查php.ini权限,给其users(guests)读取、读取和运行权限。
环境:win2003 、iis
原创文章转载请注明来源:http://www.maxin.cn/archives/2010/282.html
波比源码 » PHP页面空白 无法加载mysql的解决办法
levofloxacin pills order levaquin 500mg for sale
aldactone uk valtrex 500mg over the counter cost diflucan 100mg
indocin us buy lamisil 250mg for sale order amoxicillin for sale
prednisone 10mg cheap discount cialis buy sildenafil 100mg for sale
order catapres 0.1 mg clonidine 0.1mg uk buy tiotropium bromide 9 mcg generic
order buspar 5mg pills order dilantin sale oxybutynin canada
zyban us quetiapine 100mg canada seroquel pill
zoloft brand lexapro uk sildenafil in usa
provera 5mg cost buy hydrochlorothiazide 25 mg without prescription cyproheptadine 4 mg cost
purchase azithromycin pills order generic gabapentin 600mg neurontin 800mg sale
levitra or cialis order generic tadalafil 5mg sildenafil without a doctor’s prescription
free shipping cialis order anafranil 25mg for sale anafranil 50mg us
tadalafil 10mg cost cialis 10mg clomipramine pills
buy chloroquine generic aralen over the counter order baricitinib 2mg without prescription
zyprexa ca bystolic online diovan 160mg over the counter
order generic levitra 10mg medrol cost methylprednisolone 8 mg otc
clomiphene online roulette online can you play poker online money
order cialis sale buy tadalafil 40mg pills sildenafil 200mg for sale
methotrexate over the counter buy methotrexate 5mg generic reglan 10mg sale
desyrel 100mg cost suhagra us order generic sildenafil 100mg
best essay writing websites custom dissertation ivermectin 12 mg for people
generic deltasone 10mg buy prednisone brand amoxicillin 500mg
purchase zithromax generic cheap gabapentin 100mg neurontin uk
furosemide tablet buy lasix sale order hydroxychloroquine generic
order spiriva online terazosin 5mg without prescription buy terazosin 1mg pill
cialis 5mg usa best ed drugs cialis 5mg over the counter
buy coreg 6.25mg pill coreg 6.25mg generic elavil 50mg sale
oral alendronate 70mg nitrofurantoin 100 mg price brand ibuprofen 600mg
order dapoxetine 30mg pills order priligy 90mg online cheap order domperidone 10mg without prescription
doxycycline online buy doxycycline price medrol 4 mg tablet
requip 1mg sale labetalol 100mg brand buy labetalol 100mg generic
tadalafil over the counter generic amoxicillin 250mg oral amoxicillin 250mg
usa cialis sales Buy cialis usa sildenafil 150mg price
Hi, just required you to know I he added your site to my Google bookmarks due to your layout. But seriously, I believe your internet site has 1 in the freshest theme I??ve came across. Onwin , Onwin Giriş , Onwin Güncel Giriş , Onwin Yeni Adres , onwin
serophene usa buy clomid sale prednisolone order
isotretinoin 20mg without prescription isotretinoin 20mg over the counter order zithromax pill
ventolin inhalator order albuterol order augmentin pill
order doxycycline 100mg online cheap levitra 10mg without prescription acyclovir 400mg over the counter
order azathioprine 25mg buy imuran online cheap naproxen 500mg us
order generic ditropan oxybutynin 2.5mg usa trileptal brand
order dapsone 100 mg generic order avlosulfon 100mg online tenormin online
I really love to read such an excellent article. Helpful article. Hello Administ . Cepbahis
buy alfuzosin pills diltiazem 180mg cost buy diltiazem 180mg pills
ezetimibe uk methotrexate medication order methotrexate 2.5mg without prescription