Jump to content

eljaydee

New Members
  • Content Count

    9
  • Joined

  • Last visited

Community Reputation

0 Neutral

About eljaydee

  • Rank
    Newbie
  • Birthday 02/01/1958

Profile Information

  • Gender
    Male
  • Location
    Kingston, Ontario
  • Age
    61
  1. eljaydee

    PHP7, MySQL8, Apache2.4

    shrugs... thanks for your efforts...
  2. eljaydee

    PHP7, MySQL8, Apache2.4

    i just restarted before replying to you, still get: Fatal error: Uncaught Error: Call to undefined function mysqli_connect() in C:\Apache24\htdocs\mysqli_connect.php:2 Stack trace: #0 {main} thrown in C:\Apache24\htdocs\mysqli_connect.php on line 2 this is supposed to be really easy and so far i have found nothing that will resolve this matter...starting to get pretty frustrated...
  3. eljaydee

    PHP7, MySQL8, Apache2.4

    yes, and i copied php_mysqli.dll from C:/PHP7/ext to C:/PHP7 ... no change, still doesn't show mysqli in phpinfo, only mysqlnd...
  4. eljaydee

    PHP7, MySQL8, Apache2.4

    This is copied right outta my php.ini file: ;extension=bz2 ;extension=curl ;extension=fileinfo ;extension=gd2 ;extension=gettext ;extension=gmp ;extension=intl ;extension=imap ;extension=interbase ;extension=ldap ;extension=mbstring ;extension=exif ; Must be after mbstring as it depends on it extension=mysqli ;extension=oci8_12c ; Use with Oracle Database 12c Instant Client ;extension=odbc ;extension=openssl ;extension=pdo_firebird ;extension=pdo_mysql ;extension=pdo_oci ;extension=pdo_odbc ;extension=pdo_pgsql ;extension=pdo_sqlite ;extension=pgsql ;extension=shmop I added the suggested line: extension=php_mysqli.dll After restarting my computer I am now back to: Fatal error: Uncaught Error: Call to undefined function mysqli_connect() in C:\Apache24\htdocs\mysqli_connect.php:2 Stack trace: #0 {main} thrown in C:\Apache24\htdocs\mysqli_connect.php on line 2 ======================================================================================== It shows what is in the mysql_connect.php file: <?php $conn = mysqli_connect("localhost"," root", "123456" ,"myDB"); ?> Now I get this: This page isn’t working localhost is currently unable to handle this request. HTTP ERROR 500
  5. eljaydee

    PHP7, MySQL8, Apache2.4

    It shows what is in the mysql_connect.php file: <?php $conn = mysqli_connect("localhost"," root", "123456" ,"myDB"); ?> Now I get this: This page isn’t working localhost is currently unable to handle this request. HTTP ERROR 500
  6. eljaydee

    PHP7, MySQL8, Apache2.4

    phpinfo shows mysqlnd and NOT mysqli, but i am certain i have mysqli enabled in the .ini file ;extension=mbstring ;extension=exif ; Must be after mbstring as it depends on it extension=mysqli ;extension=oci8_12c ; Use with Oracle Database 12c Instant Client ;extension=odbc
  7. eljaydee

    PHP7, MySQL8, Apache2.4

    yes, i enabled extension mysqli and have error notifications on... still can't get anything to work: i cannot understand why it is saying $conn=mysqli_connect() is undefined... Fatal error: Uncaught Error: Call to undefined function mysqli_connect() in C:\Apache24\htdocs\mysql_connect.php:2 Stack trace: #0 {main} thrown in C:\Apache24\htdocs\mysql_connect.php on line 2
  8. eljaydee

    PHP7, MySQL8, Apache2.4

    t
  9. eljaydee

    PHP7, MySQL8, Apache2.4

    I have been at this for several hours.. <?php $conn = mysqli_connect(localhost, root, mypw, mydb) or die(mysqli_error($conn)); ?> I keep getting: Parse error: syntax error, unexpected '?>', expecting ',' or ')' in C:\Apache24\htdocs\mysql_connect.php on line 4 I have tried copy and paste of mysqli_connect from several different web pages, nothing works. PHP is installed correctly, I have a db in MySQL, and Apache is installed with no errors. what the...
×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.