XAMPP "module 'mysqli' already loaded" error? - xampp

Had XAMPP configured and running properly, was able to access phpmyadmin and execute php code on the local server. This morning after starting XAMPP and starting Apache, I get a message saying: "module 'mysqli' already loaded."
I can't log into phpmyadmin- I see the login page, but when I click "go" I simply get a blank page. I was practicing submitting forms into a DB, everything was working fine, now after submitting the form a message comes back: "connect failed with: (2002) A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. "
The XAMPP status page shows everything as being activated. I don't remember making any config changes or doing anything else that could have caused this.
Appreciate any input.

I fixed this by editing my php.ini and commenting these lines back out:
;extension=php_mysqli_mysqlnd.dll
;extension=php_mysqli_libmysql.dll
and typing in this line in their place:
extension=php_mysqli.dll
Worked perfectly.

disable or comment duplicate extension=mysqli in your php.ini

Open your php.ini file and comment out the duplicate line below
extension=mysqli
;extension=mysqli

Related

error 60 SSL certificate problem: unable to get local issuer certificate-paypal-laravel

my problem is when i clicked to a shopping cart button and after fulling information for checkout process. i got this error before display paypal page.
error 60 SSL certificate problem: unable to get local issuer certificate-paypal-laravel
after some research i figure out that maybe is related to cURL so i download file and add path in php.ini file like below:
curl.cainfo = "C:\wamp\cacert.pem"
openssl.cafile= "C:\wamp\cacert.pem"
i verified php_curl is activated.
but it is not working. i restart apache serve and re-run php command serve but nothing changed.
Any help !!
PS: i'm working on localhost
Thank you

WAMP, Windows 10 : #2002 - No connection could be made because the target machine actively refused it. —

I tried to login to phpMyAdmin in WAMP + Windows 10. But I got the following errors when I tried to login as root ( no password )
#2002 - No connection could be made because the target machine
actively refused it. — The server is not responding (or the
local server's socket is not correctly configured).
mysqli_real_connect(): (HY000/2002): No connection could be made
because the target machine actively refused it.
It will be great if someone can help me out. Thanks.
PS : The WAMP icon is Orange in colour
PS 2 : I closed Skype from Task manager using End Task
Open my.ini file by left clicking wampp and opening MySQL menu. Search socket and write
socket = /tmp/mysql.sock
And save it.

PhpStorm: SSH-Connection failed. Error: 399

I have encountered a strange error in PhpStorm that never happened before. Whenever I try to connect to a server via SSH, PhpStorm gives out an error that says only:
Connection to 'IP-Address' failed.
399
Nothing more. Only '399'. View also on this screenshot:
The normal SSH-Protocol via the Mac-Terminal works fine and other programs like FileZilla do not have any trouble connecting via SSH.
I'm using:
Mac-OS (Version 10.11.3)
PhpStorm (Version 10.0.3)
What does that error mean? Anybody has an idea?

netbeans create .new file instead of overwrite it

I'm tring to work on php project using NetBeans v8.1 with remote server connection.
I've tried active mode but when saving the file it gives me this error:
I won't open a connection to 192.168.1.100 (only to 197.133.xxx.xx)
So I changed the connection mode to passive mode.
When I try to save the file to upload, a new file created on the server directory with .new extension (ex. index.php.new) and it's empty, and Netbeans gives me this error:
Upload files on save failed.
For the information: My FTP encryption: "Explicit FTP using TLS"
And when I Press on "Test Connection", it gives me "connection succeeded"
Screenshot of the connection
Any Help will be appreciated.
I just had the same issue and it appears to be a server communication issue using TLS in passive mode.
Try ticking the box "Encrypt Only Authentication Process" - did the trick for me :)

Object not found in xampp (running apache service)

Object not found!
The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.
If you think this is a server error, please contact the webmaster.
Error 404
localhost
Apache/2.4.17 (Win32) OpenSSL/1.0.2d PHP/5.6.14
i did run apache service and mysql and i have htdocs in xampp, also having index.php...
help?
also, while i'm trying to make sure i installed everything (i followed wikihow tutorial) i clicked on the mysql admin section and it leads me to http://localhost/phpmyadmin/ but when i click on the apache admin it just leads me to http://localhost/dashboard/...
i created new folder named try inside xampp and tried again my code was
<?php
echo "<h1>hey, buddy!</h1>";
?>
i called this hi.php
localhost/try/hi.php
then tried to access it but... nothing

Resources