php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #35782 Extensions won't work
Submitted: 2005-12-23 03:47 UTC Modified: 2005-12-23 12:24 UTC
From: junkmail at fjorton dot net Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 5.1.1 OS: Win XP SP2
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: junkmail at fjorton dot net
New email:
PHP Version: OS:

 

 [2005-12-23 03:47 UTC] junkmail at fjorton dot net
Description:
------------
I had previously installed PHP 5.0 as an Apache 2 module. After upgrading to PHP 5.1.1 I get either "Fatal error: Class 'mysqli' not found in..." or "Call to undefined function mysql_connect()..." when I visit any page that uses mysql or mysqli. Both mysql.dll and mysqli.dll are enabled in php.ini! After reverting back to PHP 5.0 everthing works as it used to. 


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-12-23 07:33 UTC] derick@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.

.
 [2005-12-23 12:24 UTC] junkmail at fjorton dot net
Sorry, my bad. (It was 4 am and I couldn't get the damned thing to work..!) 

Anyway, for some reason, PHP 5.0 would find my php.ini in the Apache install directory. PHP 5.1.1 would not. It would only find it in C:\WINDOWS. After moving php.ini to C:\WINDOWS and changing some settings (like the "use ASP-style tags", which is defaulted to OFF) it all works again....
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Jun 18 02:01:30 2024 UTC