View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0006690 | mantisbt | bugtracker | public | 2006-02-09 12:27 | 2008-08-12 09:35 |
| Reporter | lmorton | Assigned To | grangeway | ||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | no change required | ||
| Product Version | 1.0.0 | ||||
| Summary | 0006690: Mantis install page will not setup my MYSQL 5.0 database properly | ||||
| Description | I have installed the Mantis install in my IIS5.0 web server running on WIN2k. I am able to reach the http://localhost//mantis/admin/install.php web page in my browser but when I try to create the database I get a "BAD" error in the "Checking PHP support for database type " check. The error message says I am running MYSQL 5.0. DO I have to compile the PHP to run with MYSQL? Is there an easy way to fix this? Thanks, Les Morton Jr. | ||||
| Tags | No tags attached. | ||||
|
Yes. The mysql interface is a loadable module. It needs to be compiled in, or linked. If you run phpinfo() and see MySQL loaded, please add a note to this issue, as something is wrong with the code. |
|
|
How was this resolved? |
|
|
On windows, I believe that the loadable modules are added through the php.ini file. If I recall correctly, there is a prototype "extension" directory that needs to be uncommented. On Unix, the modules are loaded automagically from a specific directory. |
|
|
That seams to be my problem. When I run phpinfo() the Configuration File (php.ini) Path says C:\WINDOWS when I moved it to the D:\PHP folder like suggested. Also, noticed in the PHP Core section of the config, that the include_path is set to .;C:\php5\pear when in my php.ini file I have it set to D:PHP\EXT It appears this php.ini file is not being read. FYI, there is not a php.ini in my C:\WINDOWS folder. How can I tell PHP and or Mantis where I moved the php.ini file? I already have the path set in Windows 2003 Server system variables. |
|
|
As far as I know, the location of the php.ini file is compiled in to the php binary. Its location is shown in the phpinfo() output. |
|
|
Are you saying that the PHP.INI file must stay in the C:\WINDOWS folder? |
|
|
Yes, as far as I know, without recompiling PHP. |
|
|
I had this same problem and and solved by setting the extension_dir=D:PHP\EXT instead of include_path. Hope it helps. Bruno |
|
|
In my case, I had to enable "extension=php_mysql.dll" in php.ini. Also, I noticed that while phpinfo() does list the configuration path to be C:\windows, it does use whatever location you use, as long as you enter it into the PATH environment variable in windows. |
|
|
Thank you for taking the time to report a problem with mantis. Since this problem report was originally made, a number of releases have occurred. Unfortunately you are not using the latest version and the problem might already be fixed. Please download the latest release from http://www.mantisbt.org/download.php If you are able to reproduce this bug in the current release, or have some more information on how this feature could be improved in the current release. Please either change the mantis version on this bug report Again, thank you for your bug report and your continued support. |
|