# Php server / mysql module error

**URL:** <https://forum.kirupa.com/t/php-server-mysql-module-error/271791>\
**Category:** Uncategorized\
**Created:** [September 28, 2008, 5:50pm UTC](https://forum.kirupa.com/t/php-server-mysql-module-error/271791 "2008-09-28T17:50:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Utech22](https://avatars.discourse-cdn.com/v4/letter/u/f17d59/32.png) [@Utech22](https://forum.kirupa.com/u/Utech22)\
**Post date:** [September 28, 2008, 5:50pm UTC](https://forum.kirupa.com/t/php-server-mysql-module-error/271791/1 "2008-09-28T17:50:56Z")

</div>

I am using php 5.2, mysql and apache 2.2 on windows vista

When I try to add a database connection I get this error:

> 

‘Your PHP server doesn’t have the MySQL module loaded or you can’t use the mysql\_(p)connect functions.’

I added these to php.ini:  
extension = php\_mysql.dll  
extension = php\_mysqli.dll

![](http://forum.kirupa.com/uploads/kirupa/4945/9d22139fac23aeaf.jpg)
