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.
Related
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
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
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.
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 trying to call
echo bintohex(random_bytes(30));
But my logs show
PHP Fatal error: Call to undefined function bintohex()
PHP 5.6.17
Apache 2.2.15
CentOS 6.7
Mcrypt 2.5.8 (installed and verified on phpinfo() page)
extension=mcrypt.so (present)
Any ideas why I can't find bintohex() or random_bytes() functions?
Because it bin2hex http://php.net/manual/en/function.bin2hex.php not "bintohex"
random_bytes basically exist only in Php 7 according to docs http://php.net/random_bytes but here is polyfill to 5.x version https://github.com/paragonie/random_compat
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 9 years ago.
Improve this question
I am getting this Fatal error: Cannot re-assign auto-global variable _POST error in kohana 3.2 in windows 7 environment but the same script runs with out any error in linux. I have no idea on this. Any solution will be greatly appreciated
If it runs on Linux, but in Win get fail - see PHP version. Since PHP 5.4, you cannot use a superglobal as the parameter to a function. See remark
EDIT
Parameter names that shadow super globals now cause a fatal error. This prohibits code like function foo($_GET, $_POST) {}.
See http://www.php.net/manual/en/migration54.incompatible.php