Undefined PHP functions that should be included [closed] - php

Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 3 years ago.
Improve this question
I'm working on a school project, and I have two identical databases on two different PCs. I'm running the same website, identical files, on each one.
On my laptop, the mysqli_stmt_get_result($stmt) function works perfectly, whereas on my desktop it returns an call to unidentified function error. Likewise, mysqli_stmt_close() works fine on my desktop, but not on my laptop.
I'm using php 7.2.1 on my desktop, and 7.2.14 on my laptop, so these should be included...

If you don't have mysqlnd installed/loaded whatever, you will get an undefined reference when trying to call mysqli_stmt_get_result() as according to the comment here. To get more info about how to install mysqlnd driver you can see this discussion

Related

PHP is installed and running but not loading on page [closed]

Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 12 months ago.
Improve this question
I have recently installed Apache, MySQL and PHP, but the page is not loading the PHP code, it's interpreted as HTML comment. All services are enabled but haven't got a clue what's going on. Obviously is not possible to reproduce my localhost environment.
I am on Linux Mint 20 and latest Apache/MySQL/PHP.
Does anyone know how to make PHP work?
Your PHP tags are the short ones. In order to enable them, you need to change short_open_tag=On in php.ini, or just write <?php instead of <?.
///BONUS : the short tag '<?=' can be used without editing the php.ini. It's shorter than:
<?php echo $var; ?>
<?= $var; ?>

No option for built in server php 5.6 [closed]

Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 6 years ago.
Improve this question
I have php version 5.6, I am trying to get the built in web server running, BUT I have noticed that there is no option for me to even run it. I apologize, I am a intermediate php guy. I was previously using XAMPP to serve it, but I am trying to incorporate my php development into my gulp workflow with browsersync and gulp-connect-php. Any suggestions are much appreciated and thank you. I have attached my CMD screenshot.
I am stupid. I was looking for the version in the XAMPP admin, which was version 5.6, BUT I only have 5.3 on my machine with the php output -v

The mysqli extension is missing. Please check your PHP configuration, Windows 7 [closed]

Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 7 years ago.
Improve this question
I'm using apache24 with PHP 7.0.3. When requesting http://localhost/phpmyadmin/ I get this error:
The mysqli extension is missing. Please check your PHP configuration. See our documentation for more information.
My PHP config has nothing about slqi to uncomment.
I've looked at the thousand other solutions, and most are for linux and I don't know how to do it for windows.
Please make sure the extension=mysqli.dll isn't commented out into php.ini.
Also make sure that you have the mysqli.dll files exist inside the extensions folder of your php installation.

Algolia cannot resolve host [closed]

Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 7 years ago.
Improve this question
i have just created a user for Algolia. But when i try to connect trough the API, i receive an error message with "Cannot resolve host" and it try's all the different Algolia hosts. i have used the guide on their site and tried to connect both trough vanilla PHP and trough Laravel.
I saw another guy with this problem(Algolia Rails), he said to wait a couple of hours, and i have waited 5+ hours at this time.. still no solution like he got.
What could it be, and should i just keep waiting? Or is there a problem on Algolia's end?
There is normally no delay to begin using your new account.
However Algolia has had an issue concerning the DNS records creation for new accounts... hence the unusual long delay!
The issue is now resolved :)

PHP Fatal error: Call to undefined function utf8_decode() [closed]

Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 8 years ago.
Improve this question
I've searched on the Internet about this error. Somebody told me that my computer is missing lib xml for php. But I don't know how to install it on Ubuntu 12.04 TLS.
PHP Fatal error: Call to undefined function uft8_decode()
The function name is utf8_decode(), not uFT8_decode().
var_dump(function_exists('utf8_decode')); should tell you if it's available. If this returns bool(false), then php-xml package is probably missing in your PHP installation. Make sure it is installed. If it isn't, ask your hosting provider to update / install it.

Categories