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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
24 + 22 = ?
Subscribe to this entry?

 
 [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: Sun Jun 02 01:01:29 2024 UTC