ID:               24433
 Comment by:       kuraman10 at yahoo dot com
 Reported By:      sandro dot mathys at blappy dot com
 Status:           Bogus
 Bug Type:         *General Issues
 Operating System: linux 2.4.20
 PHP Version:      5.0.0b1 (beta1)
 New Comment:

I am not sure this bug belongs in here, But I couldn't find a better
place to get info..

I was originally not able to connect to mysql database from PHP, I kept
getting the error "Call to undefined function mysql_connect()" after
trying to fix the problem for several hours, I really got frustrated
and completely reinstalled everything.

I installed php 5.x (did all the reguler things like ./configure, make
and make install) on Apache 2.x. Everything installed properly and I
thought PHP will be able to connect to mysql DB. but I was wrong, I am
still getting the same error like before..."Call to undefined function
mysql_connect()"....

So I did a phpinfo(), it is reporting the wrong version of PHP 4.2.2. I
have tried several things, played around with httpd.conf and bunch of
other files, I am not able to nail down the problem. 

Is it phpinfo() reporting a wrong version? (I don't think so) or Did
the install not work properly? or I just didn't configure 5.0
correctly?

If any of you can help me with this, I would greatly greatly appreciate
it...

Thanks
Kumar.


Previous Comments:
------------------------------------------------------------------------

[2003-07-04 04:28:11] [EMAIL PROTECTED]

This is not a bug, but an installation issue. 
I got 6 different installations and all of them works 
fine and no other developer have confirmed this issue 
either. Please leave the status alone. 

------------------------------------------------------------------------

[2003-07-04 02:01:48] sandro dot mathys at blappy dot com

sorry, i'm meant not an installer like this...i spoke about make
install. my fault...

------------------------------------------------------------------------

[2003-07-04 01:58:07] [EMAIL PROTECTED]

This is really, REALLY bogus since there IS NO installer for PHP 5.


------------------------------------------------------------------------

[2003-07-03 16:08:55] sandro dot mathys at blappy dot com

could anyone check this? i think it's no longer a bogus...

------------------------------------------------------------------------

[2003-07-02 06:59:36] sandro dot mathys at blappy dot com

i've found the problem...took the snapshot from today (7:30-snapshot).

during installation, the php-installer writes a loadmodule for the
php5module into httpd.conf

but if there exists a loadmodule-command for the old php4module, this
won't be deleted and so the new module won't work.

sorry for my bad english... :( ...i hope, ou understood!

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/24433

-- 
Edit this bug report at http://bugs.php.net/?id=24433&edit=1

Reply via email to