php-windows Digest 16 Sep 2004 21:19:04 -0000 Issue 2398

Topics (messages 24581 through 24584):

Call to undefined function mysql_connect()
        24581 by: Melanie Ployhar
        24582 by: Andrew
        24583 by: Nadim Attari

INCLUDE ASP does Not Work! for PHP - 4.3.4
        24584 by: Raj Gopal

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message --- I'm working with PHP 5, MySQL 4.0.2, ApacheJServ/1.1.2 on Windows 2000 box. I'm having problems getting the MySQL API setup. I have followed the steps outlined on the php.net sight but still receive an error "Call to undefined function mysql_connect()".

Here is the php.net link for this� http://us2.php.net/manual/en/ref.mysql.php

I did this:
Added "C:\php;C:\php\ext" to my PATH environment variable, (php_mysql.dll is under c:\php\ext)
In php.ini have�
extension=msql.dll
extension=php_mysql.dll
extension=php_mysqli.dll (for extended mysql functions)


I restarted my Apache server and still get the following error�
"Call to undefined function mysql_connect()".

Do you have a suggestion what I need to do? Thank you for your time!

[EMAIL PROTECTED]

_________________________________________________________________
Check out Election 2004 for up-to-date election news, plus voter tools and more! http://special.msn.com/msn/election2004.armx

--- End Message ---
--- Begin Message ---
I had a similar problem with PHP5 and IIS. I had to copy the php_mysql.dll 
to my c:\winnt folder (and/or c:\php\ -- it didn't like the ext folder). I 
assume you have enabled it in your php.ini?

"Melanie Ployhar" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> I'm working with PHP 5, MySQL 4.0.2, ApacheJServ/1.1.2 on Windows 2000 
> box. I'm having problems getting the MySQL API setup. I have followed the 
> steps outlined on the php.net sight but still receive an error "Call to 
> undefined function mysql_connect()".
>
> Here is the php.net link for this. 
> http://us2.php.net/manual/en/ref.mysql.php
>
> I did this:
> Added "C:\php;C:\php\ext" to my PATH environment variable, (php_mysql.dll 
> is under c:\php\ext)
> In php.ini have.
> extension=msql.dll
> extension=php_mysql.dll
> extension=php_mysqli.dll (for extended mysql functions)
>
> I restarted my Apache server and still get the following error.
> "Call to undefined function mysql_connect()".
>
> Do you have a suggestion what I need to do? Thank you for your time!
>
> [EMAIL PROTECTED]
>
> _________________________________________________________________
> Check out Election 2004 for up-to-date election news, plus voter tools and 
> more! http://special.msn.com/msn/election2004.armx 

--- End Message ---
--- Begin Message ---
> Do you have a suggestion what I need to do? Thank you for your time!

try to put a copy of "libmysql.dll" in windows/system32 folder...

--- End Message ---
--- Begin Message ---
Hi All,

 I have included a ASP file in a PHP script as follows

 <? include 'poll.asp' ?>

and it does not work! 

whereas <? include 'AA.htm' ?> works fine

Appreciate your help for any workarounds or Syntax issues

--- End Message ---

Reply via email to