建站学院(LieHuo.Net)文档 PHP连接不上MYSQL.测试连接mysql 提示’Fatal error: Call to undefined function mysql_connect()"环境j是:windows xp sp2 en , apache2.2,mysql5.1rc.php5.28。
按网易科技的配置教程配置完成后.用phpinfo()查看.没有发现mysql…,但dos窗口中是可以正常操作mysql的.然后.就来回的看看是那里的问题.
在这个网页中http://www.somacon.com/p109.php的所有方法也是
接着看日志.重装..反复设置php.ini,my.ini,apache.conf,结果还是没追上她..我的脑子真的好难转弯.后来实在是没有什么方法了…就直接用adminphp来看看能不能连上,但提示"Cannot load mysql extension. Please check your PHP configuration".感觉我就是 Mr. bean
这个提示,会不会是php没有加载到连接mysql的库文件呢? 在启动apache server后.我试着删除’php5ts.dll’和’libmysql.dll’.提示不能删除.说明有程序在用着这两个库文件.说明是有加载的.(当然有许多方法来测试.比如可以用一些软件,查看程序服务加载的所有库文件.也是可以然而ap也说指是php.ini设置有问题.那我就不看别的.我就重点针对php.ini配置.
在没有迷信php.ini是正确下.终于发现.php.ini中漏了这一行.
PHPIniDir "你的php目录"
#(例如: PHPIniDir "c:/php")
重启apache server,然后.用网上常用的方法
以下为引用的内容: <?php $link=mysql_connect(‘localhost’,’用户名’,’password’); if(!$link) echo "失败!"; else echo "成功!"; mysql_close(); ?> |
测试一下.就可以了。我的php.ini配置
就是这样,花了不少时间了..我也是第一次撞到这个问题.只能说明"缘分”都是"缘分"啊!
注意:
同一机器上。如果以前多次安装过.apache.或者安装不是在同一目录.而且不只一个版本.在安装mysql5.1rc前。最好清理一下注册表
一些别的配置教程.说要复制2个dll文件到system32,其实,按以上163的教程.因为设置了环境变量.,所以就不须要了。如果你以前有复制过.就删除他吧.
以下为引用的内容: en version: problem: if something wrong with ‘Fatal error: Call to undefined function mysql_connect()…’ or ‘Cannot load mysql extension. Please check your PHP configuration’ while your test resolve: |
波比源码 » windows下PHP 连接不上MYSQL的解决方法
levaquin 250mg price levofloxacin 500mg over the counter
cost suhagra 100mg sildenafil 25mg price purchase estrace pills
tadalafil 10mg generika rezeptfrei kaufen tadalafil 10mg kaufen ohne rezept viagra 100mg ohne rezept
order altace 5mg pills buy azelastine 10 ml online order astelin 10 ml sprayer
purchase norvasc for sale cialis 5mg without prescription buy cialis without prescription
academic writing service order sildenafil order viagra 50mg pills
methotrexate us purchase methotrexate generic reglan 20mg for sale
order metronidazole 400mg without prescription buy metronidazole 200mg generic cheap sulfamethoxazole
furosemide order online doxycycline 200mg canada order hydroxychloroquine 200mg generic
order naprosyn pills cefdinir 300 mg uk prevacid 15mg oral
brand proventil proventil 100mcg cheap purchase ciprofloxacin for sale
singulair 10mg ca cost singulair 5mg viagra uk
ivermectin 0.2mg order dapsone 100 mg dapsone drug
order adalat 30mg online fexofenadine 120mg tablet allegra order online
best online casinos real money buy a research paper online buy my essay
letter writing services essays help azulfidine 500mg for sale
order mesalamine pill astelin 10 ml without prescription order irbesartan sale
temovate over the counter order amiodarone 100mg pills brand amiodarone
diamox price azathioprine 50mg drug cost azathioprine
cheap amoxil 1000mg purchase amoxil generic ivermectin 3mg tablets
purchase fosamax pills alendronate 70mg tablet motrin 400mg us
priligy 90mg canada order dapoxetine 30mg for sale cost motilium
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.Metropol Halı Karaca Halı Öztekin ve Selçuklu Halı Cami Halısı ve Cami Halıları Türkiye’nin En Büyük Cami Halısı Fabrikasıyız…
order tricor 200mg pill genuine viagra buy sildenafil 100mg without prescription
nexium 20mg oral cheap furosemide 40mg furosemide 100mg cost
minocin 100mg generic hytrin buy online buy terazosin pill
Thank you for great article. Hello Administ . Onwin , Onwin Giriş , Onwin Güncel Giriş , Onwin Yeni Adres , onwin
ivermectin ebay buy stromectol 12mg online order deltasone
order zofran 8mg sale amoxil medication bactrim generic
albuterol cheap synthroid 150mcg price augmentin online order
isotretinoin 20mg drug azithromycin cost buy generic zithromax 500mg
prednisolone 40mg uk furosemide order online buy generic furosemide 100mg
avodart over the counter brand xenical 60mg brand orlistat 120mg
imuran 50mg for sale order telmisartan 80mg pills buy naproxen 500mg without prescription
omnicef price purchase omnicef for sale order protonix 40mg without prescription
avlosulfon 100mg drug mesalamine cheap buy cheap generic tenormin
viagra over the counter low price cialis cialis 10mg
order zyrtec pill atomoxetine generic generic zoloft 100mg
cenforce 50mg price buy cheap generic aralen glycomet usa
buy generic femara over the counter buy viagra sale viagra uk
order cialis 20mg sale tadalafil generic buy generic ed pills over the counter
provigil usa provigil canada buy prednisone 20mg without prescription
accutane generic buy generic zithromax for sale buy cheap generic azithromycin
order neurontin 100mg for sale buy lasix generic diuretic buy doxycycline medication
prednisolone 10mg over the counter cheap neurontin 100mg buy lasix without prescription diuretic
buy ventolin 4mg for sale cheap ventolin inhalator purchase synthroid generic
clomiphene sale hydroxychloroquine 200mg oral purchase plaquenil
buy glycomet 500mg pills order norvasc sale brand norvasc
order prinivil generic metoprolol price oral metoprolol
lyrica online buy priligy 90mg online generic priligy 90mg
buy methotrexate medication methotrexate cheap reglan 20mg pills
order xenical 60mg zyloprim 300mg cost buy allopurinol 100mg online
hyzaar online generic hyzaar order topamax
sumatriptan medication levofloxacin pills avodart 0.5mg uk
toradol ca buy generic inderal online buy propranolol pill
clopidogrel 150mg pills luvox medication ketoconazole 200 mg tablet
how to buy cymbalta cymbalta over the counter buy piracetam tablets
combivent 100 mcg drug buy combivent 100 mcg online cheap linezolid uk
order prometrium 100mg for sale order tindamax 300mg pills buy olanzapine no prescription
nebivolol pills clozapine 50mg us purchase clozaril generic
buy simvastatin sale valtrex 500mg sale sildenafil 100mg tablets
carbamazepine 200mg cheap ciprofloxacin buy online lincomycin buy online
tadalafil 10mg cost Buy pfizer sildenafil online sildenafil for men
fluconazole 200mg us buy ampicillin 250mg online purchase ciprofloxacin pill
metronidazole 400mg canada buy cheap generic septra buy keflex 125mg for sale
mebendazole us buy mebendazole 100mg without prescription buy generic tadalis over the counter
order cleocin online buy erythromycin 500mg pills where can i buy fildena
order avana 100mg without prescription order avanafil pills voltaren online order
buy tamoxifen 20mg online buy cefuroxime 250mg online cefuroxime pill
order indomethacin 50mg sale buy generic lamisil 250mg suprax 100mg cheap
clonidine 0.1mg oral buy meclizine 25 mg sale tiotropium bromide buy online
order suhagra sale sildalis canada sildenafil over counter
purchase leflunomide pill buy leflunomide generic sulfasalazine for sale
purchase isotretinoin isotretinoin 40mg pills brand azithromycin 250mg
cheap azithromycin 500mg purchase azipro generic buy neurontin 600mg without prescription
order lasix without prescription albuterol price purchase albuterol inhaler
ramipril 5mg canada ramipril 10mg cheap arcoxia 120mg over the counter
vardenafil 20mg pills purchase tizanidine for sale how to buy plaquenil
buy levitra 20mg generic purchase hydroxychloroquine pill hydroxychloroquine ca
oral clobetasol cheap clobetasol order amiodarone 100mg pills
acetazolamide 250 mg generic oral acetazolamide 250 mg buy azathioprine no prescription
digoxin 250mg pills molnupiravir buy online molnunat buy online
order naprosyn 500mg without prescription lansoprazole buy online lansoprazole 30mg generic
Hello! I could have sworn I’ve been to this blog before but after browsing through some of the post I realized it’s new to me. Website Giriş için Tıklayin. onwin
purchase nifedipine pills aceon 4mg ca order allegra sale