php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #34960 PHP.INI says no DLL needed, when in fact it did need it.
Submitted: 2005-10-22 22:13 UTC Modified: 2005-10-22 22:27 UTC
From: admin at sellchain dot com Assigned:
Status: Not a bug Package: MySQL related
PHP Version: 5.0.5 OS: Windows Server 2003
Private report: No CVE-ID: None
 [2005-10-22 22:13 UTC] admin at sellchain dot com
Description:
------------
;Windows Extensions
;Note that MySQL and ODBC support is now built in, so no dll is needed for it.
;

Running Apache2, MySQL 5.0, PHP 5.0.5

This is now included in the PHP.ini file, however when I upgraded from PHP 4.4.0 to PHP 5.0.5, the first thing that failed to work is MySQL. Your note says not to include the DLL, it's built in. However, to get MySQL working, I added the extension=php_mysql.dll. Now it works.

I am reporting this because your note says it is built in, but in my download, it wasn't. It may be a windows issue, i'm not complaining. I love you guys for all your hard work, PHP is a tool that makes us all Gods of programming.

Just keeping you up to date on issues. You may have already received a bug report on this, however I am making sure you do. Other than that, my issue has been resolved, but I think this is a bug, and you should look into it, and let others know about it so they can get their PHP / MySQL working. I am sure mostly everyone did what I did and added the extension.

Nathan

Reproduce code:
---------------
Install MySQL, Latest Version 5.0, and install PHP 4.4.0. Get your MySQL working with Apache and PHP. Shut down Apache, Upgrade to PHP 5.0.5 using the PHP Installer. Take out any MySQL extensions from the PHP.ini file if they weren't removed by PHP 5.0.5 Installer. You should receive the same error. I couldn't go around it, I even restarted and reinstalled. My last resort was to put in the extension.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-10-22 22:27 UTC] tony2001@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

>Note that MySQL and ODBC support is now built in, so no dll 
>is needed for it.
This file is from PHP4 distro, the one from PHP5 doesn't have this line.
And if you read the docs, you would know why.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Jul 21 17:00:03 2025 UTC