Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,150,538 members, 7,808,973 topics. Date: Thursday, 25 April 2024 at 08:19 PM

Php Expert Come In Here - Programming (2) - Nairaland

Nairaland Forum / Science/Technology / Programming / Php Expert Come In Here (1655 Views)

STATA Expert Come In For This Project / Help On Whatsapp API. API Expert Come In / G I S Expert Come In (2) (3) (4)

(1) (2) (Reply) (Go Down)

Re: Php Expert Come In Here by Nobody: 2:30pm On Nov 19, 2020
stanliwise:
I can MySQLi directive meaning it is supported. Anyway you know use PDO for now. else something could be wrong with MySQLi drivers. More so is your MySQL server on?
Yes, it is on
Re: Php Expert Come In Here by stanliwise(m): 2:37pm On Nov 19, 2020
Akiliogidi:

Yes, it is on
Try PDO and if it works it means your PHP MySQLi driver is faulty of something is wrong
Re: Php Expert Come In Here by Brukx(m): 9:50pm On Nov 19, 2020
squash47:
Hello guys, so I was wondering if there is any way I can build a full functional website with front and backend programming languages, and host it on my laptop without launching it online.


Like, I mean the website will just be functional only on my laptop.


If I register a user, it will store in my laptop and I will be entirely in control of the website without going online.

Cc stanliwise and co

XAMPP can do this. It has a server and database
Re: Php Expert Come In Here by zyber(m): 6:31am On Nov 20, 2020
Akiliogidi:


Abeg I need your help alongside other pHp gurus here. I recently installed the latest php version, but each time I try running a db connection I do encounter Fatal error: Uncaught Error: Class 'mysqli' not found in C:\xampp\hotdocs. I use vs code and I have followed all the suggestions I came across online(stackoverflow inclusive) all to no avail. Abeg can you tell me how to go about fixing this problem.
Prodev986
Websoltech
Zyber
Code web
Tensazangetsu20
Below are the screenshots

I'm not a php developer, but my guesses are,
*Your MySQL server isn't running
*Your trying to connect to a MySQL hosted on another system (webhosts that provide MySQL), there is usually a firewall preventing external access for free users.
*A bracket isn't closed, or a semicolon is missing.

Cheers, Adriel.
Re: Php Expert Come In Here by Semtu(m): 7:52am On Nov 20, 2020
Akiliogidi:


Abeg I need your help alongside other pHp gurus here. I recently installed the latest php version, but each time I try running a db connection I do encounter Fatal error: Uncaught Error: Class 'mysqli' not found in C:\xampp\hotdocs. I use vs code and I have followed all the suggestions I came across online(stackoverflow inclusive) all to no avail. Abeg can you tell me how to go about fixing this problem.
Prodev986
Websoltech
Zyber
Code web
Tensazangetsu20
Below are the screenshots

The first warning means you've set up a password for root access, you have to input your password.
Re: Php Expert Come In Here by Karleb(m): 4:38pm On Nov 20, 2020
@squash47 how far with the problem?
Re: Php Expert Come In Here by Nobody: 11:08am On Nov 21, 2020
Semtu:


The first warning means you've set up a password for root access, you have to input your password.
I have been able to rectify that and it runs successfully in browser , but in my visual basic code editor, it keep showing class 'mysqli' not found in C each time I run it from vs code.
I have edited all editable in the php.ini file by removing all the semicolons before the extensions and adding the absolute path like this : extension_dir =C:\php\ext[/b]and [b]extension=C:\xampp\php\ext\php_mysqli.dll, yet i keep seeing the error as shown below

Re: Php Expert Come In Here by Semtu(m): 1:33pm On Nov 21, 2020
Akiliogidi:

I have been able to rectify that and it runs successfully in browser , but in my visual basic code editor, it keep showing class 'mysqli' not found in C each time I run it from vs code.
I have edited all editable in the php.ini file by removing all the semicolons before the extensions and adding the absolute path like this : extension_dir =C:\php\ext[/b]and [b]extension=C:\xampp\php\ext\php_mysqli.dll, yet i keep seeing the error as shown below

It seems mysqli libraries are not present, are you sure you've enabled the mysqli extension in the php.ini file? If you've done any code alteration on your php.ini file, you'll need to restart VS code before it detects it or better still, restart your machine.

Try "mysqli_connect()"

Also, how did you install php on your device?
Re: Php Expert Come In Here by cixak95211: 3:17pm On Nov 21, 2020
It amazes me how people snap their screen with a mobile phone,
when windows itself has a prebuilt snipping tool that allows you to take
screenshots in full HD. Sad angry angry angry
Re: Php Expert Come In Here by Karleb(m): 4:20pm On Nov 21, 2020
cixak95211:
It amazes me how people snap their screen with a mobile phone,
when windows itself has a prebuilt snipping tool that allows you to take
screenshots in full HD. Sad angry angry angry

Bros, be calming down. grin
Re: Php Expert Come In Here by dragnet: 8:39pm On Nov 21, 2020
cixak95211:
It amazes me how people snap their screen with a mobile phone,
when windows itself has a prebuilt snipping tool that allows you to take
screenshots in full HD. Sad angry angry angry

Have you considered that he may have been posting with his phone on nairaland and only made more sense snapping with same phone?
Re: Php Expert Come In Here by cixak95211: 9:13pm On Nov 21, 2020
dragnet:


Have you considered that he may have been posting with his phone on nairaland and only made more sense snapping with same phone?

While that maybe considered, for the sake of clarity, would you go to e.g. stackoverflow in search of an answer and post such an image like he did?
You know what's gonna happen, right?
Re: Php Expert Come In Here by dragnet: 7:07am On Nov 22, 2020
cixak95211:


While that maybe considered, for the sake of clarity, would you go to e.g. stackoverflow in search of an answer and post such an image like he did?
You know what's gonna happen, right?
but this isn't stack overflow.
irrespective of how fast an airplane is, it doesn't make sense boarding it to a town without airports.
Re: Php Expert Come In Here by cixak95212: 3:04pm On Nov 22, 2020
Caramba !!!

Re: Php Expert Come In Here by squash47(m): 6:22pm On Dec 16, 2020
Karleb:
@squash47 how far with the problem?
omo, I entered a new level. This time it's d Apache saying that runtime is missing.
Re: Php Expert Come In Here by Karleb(m): 6:38pm On Dec 16, 2020
squash47:
omo, I entered a new level. This time it's d Apache saying that runtime is missing.

Oh boy! Are you running it via xampp?
Re: Php Expert Come In Here by squash47(m): 6:41pm On Dec 16, 2020
Karleb:


Oh boy! Are you running it via xampp?
yes na. I'm getting this message

"The program can’t start because api-ms-win-crt-runtime-l1-1-0.dll is missing from your computer. Try reinstalling the program to fix this problem"
Re: Php Expert Come In Here by squash47(m): 6:41pm On Dec 16, 2020
Karleb:


Oh boy! Are you running it via xampp?
yes na. I'm getting this message

The program can’t start because api-ms-win-crt-runtime-l1-1-0.dll is missing from your computer. Try reinstalling the program to fix this problem
Re: Php Expert Come In Here by Karlebolu(m): 7:16pm On Dec 16, 2020
squash47:
yes na. I'm getting this message

The program can’t start because api-ms-win-crt-runtime-l1-1-0.dll is missing from your computer. Try reinstalling the program to fix this problem

I chop ban the other time but let me repeat that XAMPP, wamp and co made life hard until I switched to Laragon.


This problem is beyond me but I'm sure Laragon will solve it.

(1) (2) (Reply)

Can Apache And Iis Run Of The Same Machine? / Dde Server In Vb.net / Microsoft Access

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 26
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.