php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #28848 PHP 5 RC3 probs with mysql
Submitted: 2004-06-20 00:22 UTC Modified: 2004-06-22 14:58 UTC
Votes:2
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: PatrickLehmann at freenet dot de Assigned:
Status: Not a bug Package: MySQL related
PHP Version: 5.0.0RC3 OS: Microsoft Windows Server 2003
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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: PatrickLehmann at freenet dot de
New email:
PHP Version: OS:

 

 [2004-06-20 00:22 UTC] PatrickLehmann at freenet dot de
Description:
------------
Hi,

my system:
Microsoft Windows Server 2003, Enterprise Edition
Apache 2.0.49
PHP 5.0 RC 3
MySQL 4.0.18

apache with php is running successfully if mysql extension ist disabled.

when i enable the extension
php_mysql.dll
apache coundn't be started
- no error message
- port 80 is used for apache (a 2. start stops with an error that port 80 is used yet)
- apache is loaded into the RAM

libmysql.dll was copyed to C:\Windows

php runs perfectliy if mysql is disabled, but with this extension ames no reaction....


ok, than the 2. problem
IIS 6.0 doesn't work with the ISAPI extension of php 5
setting:
ISAPI Filter is set to
C:\Programme\PHP5\php5isapi.dll
Filter name: PHP 5 RC 3

the error message is an 404 error in the browser
(index.php with phpinfo command)




Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-06-20 12:17 UTC] uncledave at xmail dot net
I've experienced the same problem. I'm running XP with Apache 2.04.3 & PHP 5.0 RC3.

I cannot run Apache/PHP with the mysql.dll extension. I get "PHP Startup: Unable to load dyanmic library 'c:\PHP\ext\php_mysql.dll - The specified module could not be found.'

I have reset to run 4.x and it runs perfectly.. back to 5.0 and the same error.
 [2004-06-20 23:42 UTC] PatrickLehmann at freenet dot de
include_path is set to this:
include_path = ".;C:\Programme\PHP5\ext"

PHP was unpacked to C:\Programme\PHP5

and under extensions this:
extension=php_mysql.dll

I think this is done like the description in the install manual
 [2004-06-21 00:03 UTC] PatrickLehmann at freenet dot de
?uncledave

where have you installed PHP?
PHP 4.3.7 doesn't run with Apache2, too.

my load commands:
LoadModule php4_module C:/Programme/PHP4/sapi/php4apache2.dll
AddModule mod_php4.c
AddType application/x-httpd-php .php

Apache error: module couldn't be loaded, because file doesn't exist *lol* it's still there!!!

I remembered that PHP 4.0.4 has a bug with it's install-dir, PHP had to be installed to C:\php\ otherwise it doesn't run

is this bug still present?
 [2004-06-21 16:28 UTC] edink@php.net
Mysql extension works fine. You probably forgot to copy libmysql.dll to a directory in your path (such as c:\windows\system32). Another option is to add your php folder to the path.
 [2004-06-22 14:58 UTC] PatrickLehmann at freenet dot de
hi,

thx I had copyed it, but to "C:\Windows" ^^


=> this thread could be closed
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Sep 11 04:01:28 2024 UTC