Autor Zpráva
xXx
Profil *
Zdravím, postupoval jsem podle tohoto návodu. Vše se zdá, že proběhlo v pořádku (phpinfo() vypisuje info o php). Jenže když chci vstoupit do phpMyAdmin, končí to touto Fatal error: Call to undefined function mb_detect_encoding() in L:\phpMyAdmin\libraries\php-gettext\gettext.inc on line 177 chybou. Zkoušel jsem i návody na internetu, jenže se mi to nedaří rozchodit. Pomůže mi někdo, prosím?
Alphard
Profil
Odkomentoval jste extension=php_mbstring.dll a následně restartoval server? (Jak se píše v návodu.)
xXx
Profil *
Ano (zkoušel jsem i restart Windows)
Alphard
Profil
Co je v logu?
xXx
Profil *
Nevím jestli to je ten správný (Apache/logs/error)
Starting the Apache2.4 service
The Apache2.4 service is running.
ably determine the server's fully qualified domain name, using fe80::14b7:12b4:9e44:963d. Set the 'ServerName' directive globally to suppress this message
[Wed May 14 20:24:21.250948 2014] [mpm_winnt:notice] [pid 3752:tid 688] AH00455: Apache/2.4.4 (Win64) configured -- resuming normal operations
[Wed May 14 20:24:21.251950 2014] [mpm_winnt:notice] [pid 3752:tid 688] AH00456: Server built: Mar  1 2013 05:14:29
[Wed May 14 20:24:21.251950 2014] [core:notice] [pid 3752:tid 688] AH00094: Command line: 'S:\\Apache\\bin\\httpd.exe -d S:/Apache -f S:\\Apache\\conf\\httpd.conf -d S:\\Apache\\.'
[Wed May 14 20:24:21.252972 2014] [mpm_winnt:notice] [pid 3752:tid 688] AH00418: Parent: Created child process 3524
AH00558: httpd.exe: Could not reliably determine the server's fully qualified domain name, using fe80::14b7:12b4:9e44:963d. Set the 'ServerName' directive globally to suppress this message
AH00558: httpd.exe: Could not reliably determine the server's fully qualified domain name, using fe80::14b7:12b4:9e44:963d. Set the 'ServerName' directive globally to suppress this message
[Wed May 14 20:24:21.516570 2014] [mpm_winnt:notice] [pid 3524:tid 636] AH00354: Child: Starting 64 worker threads.
[Wed May 14 20:41:50.916283 2014] [mpm_winnt:notice] [pid 3752:tid 688] AH00424: Parent: Received restart signal -- Restarting the server.
AH00558: httpd.exe: Could not reliably determine the server's fully qualified domain name, using fe80::14b7:12b4:9e44:963d. Set the 'ServerName' directive globally to suppress this message
[Wed May 14 20:41:51.076609 2014] [mpm_winnt:notice] [pid 3752:tid 688] AH00455: Apache/2.4.4 (Win64) configured -- resuming normal operations
[Wed May 14 20:41:51.076609 2014] [mpm_winnt:notice] [pid 3752:tid 688] AH00456: Server built: Mar  1 2013 05:14:29
[Wed May 14 20:41:51.076609 2014] [core:notice] [pid 3752:tid 688] AH00094: Command line: 'S:\\Apache\\bin\\httpd.exe -d S:/Apache -f S:\\Apache\\conf\\httpd.conf -d S:\\Apache\\.'
[Wed May 14 20:41:51.077611 2014] [mpm_winnt:notice] [pid 3752:tid 688] AH00418: Parent: Created child process 4488
AH00558: httpd.exe: Could not reliably determine the server's fully qualified domain name, using fe80::14b7:12b4:9e44:963d. Set the 'ServerName' directive globally to suppress this message
AH00558: httpd.exe: Could not reliably determine the server's fully qualified domain name, using fe80::14b7:12b4:9e44:963d. Set the 'ServerName' directive globally to suppress this message
[Wed May 14 20:41:51.918123 2014] [mpm_winnt:notice] [pid 4488:tid 648] AH00354: Child: Starting 64 worker threads.
[Wed May 14 20:41:52.919104 2014] [mpm_winnt:notice] [pid 3524:tid 636] AH00364: Child: All worker threads have exited.
[Wed May 14 21:14:20.622223 2014] [mpm_winnt:notice] [pid 3752:tid 688] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Wed May 14 21:14:22.653494 2014] [mpm_winnt:notice] [pid 4488:tid 648] AH00364: Child: All worker threads have exited.
[Wed May 14 21:14:22.700321 2014] [mpm_winnt:notice] [pid 3752:tid 688] AH00430: Parent: Child process 4488 exited successfully.
AH00558: httpd.exe: Could not reliably determine the server's fully qualified domain name, using fe80::14b7:12b4:9e44:963d. Set the 'ServerName' directive globally to suppress this message
PHP Warning:  PHP Startup:  in Unknown on line 0
PHP Warning:  PHP Startup:  in Unknown on line 0
PHP Warning:  PHP Startup:  in Unknown on line 0
PHP Warning:  PHP Startup:  in Unknown on line 0
[Wed May 14 21:15:08.041481 2014] [mpm_winnt:notice] [pid 1264:tid 732] AH00455: Apache/2.4.4 (Win64) PHP/5.5.12 configured -- resuming normal operations
[Wed May 14 21:15:08.041481 2014] [mpm_winnt:notice] [pid 1264:tid 732] AH00456: Server built: Mar  1 2013 05:14:29
[Wed May 14 21:15:08.041481 2014] [core:notice] [pid 1264:tid 732] AH00094: Command line: 'S:\\Apache\\bin\\httpd.exe -d S:/Apache -f S:\\Apache\\conf\\httpd.conf -d S:\\Apache\\.'
[Wed May 14 21:15:08.057107 2014] [mpm_winnt:notice] [pid 1264:tid 732] AH00418: Parent: Created child process 2128
AH00558: httpd.exe: Could not reliably determine the server's fully qualified domain name, using fe80::14b7:12b4:9e44:963d. Set the 'ServerName' directive globally to suppress this message
AH00558: httpd.exe: Could not reliably determine the server's fully qualified domain name, using fe80::14b7:12b4:9e44:963d. Set the 'ServerName' directive globally to suppress this message
PHP Warning:  PHP Startup:  in Unknown on line 0
PHP Warning:  PHP Startup:  in Unknown on line 0
PHP Warning:  PHP Startup:  in Unknown on line 0
PHP Warning:  PHP Startup:  in Unknown on line 0
[Wed May 14 21:15:08.416482 2014] [mpm_winnt:notice] [pid 2128:tid 652] AH00354: Child: Starting 64 worker threads.
[Wed May 14 21:16:04.782528 2014] [:error] [pid 2128:tid 1176] [client ::1:49172] PHP Fatal error:  Call to undefined function mb_detect_encoding() in L:\\phpMyAdmin\\libraries\\php-gettext\\gettext.inc on line 177
[Wed May 14 21:19:20.463239 2014] [:error] [pid 2128:tid 1176] [client ::1:49269] PHP Fatal error:  Call to undefined function mb_detect_encoding() in L:\\phpMyAdmin\\libraries\\php-gettext\\gettext.inc on line 177
[Wed May 14 21:19:21.220202 2014] [:error] [pid 2128:tid 1176] [client ::1:49269] PHP Fatal error:  Call to undefined function mb_detect_encoding() in L:\\phpMyAdmin\\libraries\\php-gettext\\gettext.inc on line 177
[Wed May 14 21:53:56.984489 2014] [:error] [pid 2128:tid 1176] [client ::1:49786] PHP Fatal error:  Call to undefined function mb_detect_encoding() in L:\\phpMyAdmin\\libraries\\php-gettext\\gettext.inc on line 177
Krakatoa
Profil
V návodě v php.ini je cesta k extension nastavena na:
extension_dir = "C:\server\php\ext"
Ty máš server s php pravděpodobně na S:\
Máš hodnotu upravenou dle tvé cesty?
Opravdu je mbstring v phpinfo načtený?
xXx
Profil *
mbstring je zapnutý
;extension=php_interbase.dll
;extension=php_ldap.dll
extension=php_mbstring.dll
;extension=php_exif.dll      ; Must be after mbstring as it depends on it
extension=php_mysql.dll
extension=php_mysqli.dll
;extension=php_oci8.dll      ; Use with Oracle 10gR2 Instant Client
ale v phpinfo() vidět není, měl by tam být? A cesta by také měla být správně
; Directory in which the loadable extensions (modules) reside.
; http://php.net/extension-dir
; extension_dir = "./"
; On windows:
; extension_dir = "S:\PHP\ext"



Ehm, už to funguje. Nějak jsem se nevšiml, že je extension_dir zakomentováno (a v návodu se o tom také nic nepsalo). Děkuji za pomoc!
juriad
Profil
Ano, v phpinfo mbstring musí být zmíněný!
Mě to vypisuje:
mbstring

Multibyte Support => enabled
Multibyte string engine => libmbfl
HTTP input encoding translation => disabled
libmbfl version => 1.3.2

mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1.

Multibyte (japanese) regex support => enabled
Multibyte regex (oniguruma) backtrack check => On
Multibyte regex (oniguruma) version => 5.9.2

Directive => Local Value => Master Value
mbstring.detect_order => no value => no value
mbstring.encoding_translation => Off => Off
mbstring.func_overload => 0 => 0
mbstring.http_input => pass => pass
mbstring.http_output => pass => pass
mbstring.http_output_conv_mimetypes => ^(text/|application/xhtml\+xml) => ^(text/|application/xhtml\+xml)
mbstring.internal_encoding => no value => no value
mbstring.language => neutral => neutral
mbstring.strict_detection => Off => Off
mbstring.substitute_character => no value => no value

Upravuješ ten php.ini, který je vypsaný v phpinfo?
Hledej řádky:
Configuration File (php.ini) Path => /etc/php
Loaded Configuration File => /etc/php/php.ini
Scan this dir for additional .ini files => /etc/php/conf.d
Additional .ini files parsed => (none)
xXx
Profil *
V tomto případě neplatí Windows = Linux. Takže toto se v php.ini nenachází.

Vaše odpověď


Prosím používejte diakritiku a interpunkci.

Ochrana proti spamu. Napište prosím číslo dvě-sta čtyřicet-sedm:

0