安装mantis遇到Fatal error的进来看
不知道有没有朋友遇到这样的问题,我个人倒腾了半天,写上来希望对有需要的朋友有用,我使用的是apache、php、mysql、mantis,版本不写了,各家最新的,我安装好之后进入mantis页面就提示fatal error: Call to undefined function: mysql_connect()。。。。,我看网上各人出现的位置都不同,我搜到一个国外的朋友说的,按照这个方法试了就ok了。摘抄如下:
windows users might want to try
checking your php.ini files in your WINDOWS directory or wherever it is.
the part where it has the list of dll files needed (it should be about 30 consecutive lines)
make sure to uncomment libmysql.dll or whatver it is (by removing the semi-colon from the front)
and also, check your php installation directory for an extensions directory, there should be a libmysql.dll file there or something
copy that to the same directory as where the php.ini file is
you can do that for any other extensions that you want
save the php.ini and restart your server
另:本人新学习mantis,狂汗,竟然没有来过论坛看已经有很多人研究了很久了,如果发现此问题已经有了,请版主删贴。
页:
[1]