mysql is not enabled in phpinfo() of php 5.3.1

前端 未结 5 508
滥情空心
滥情空心 2021-01-14 13:01

I am having apache 2.2.14, php 5.3.1 and mysql 5.1.43 installed on vista. I am trying since 2 days to configure php to have mysql enable on phpinfo().

  1. I modif
5条回答
  •  悲哀的现实
    2021-01-14 13:35

    You have to edit php.ini and add/uncomment a line to import the php_mysql.dll extention. Search for ;extention=php_mysql.dll and remove the ;. If you find this line without the ; in front of it, you have another problem. If you don't find this line, add it without the ;.

    You can also try to put a \ after the extention path: extension_dir="c:\php\ext\"

提交回复
热议问题