Jump to content
php.lv forumi

Cannot load mysql extension. Please check your PHP configuration. - Do


Blink

Recommended Posts

Čau, visiem.

 

Man ir viena problēma.

 

Vakar kad uzinstelēju appserv-win32-2.5.10 , viss gāja, phpmyadmin utt viss bija ideāli.

 

šodien ierubiju kompi un uzmet erroru - Cannot load mysql extension. Please check your PHP configuration. - Documentation

Laigan iekš php.ini viņš ir atslēgts no ;

 

Pašlaik izskatās šādi mani Extension'i

 

;extension=php_bz2.dll

extension=php_curl.dll

;extension=php_dba.dll

;extension=php_dbase.dll

extension=php_exif.dll

;extension=php_fdf.dll

extension=php_gd2.dll

;extension=php_gettext.dll

;extension=php_gmp.dll

;extension=php_ifx.dll

;extension=php_imap.dll

;extension=php_interbase.dll

;extension=php_ldap.dll

extension=php_mbstring.dll

;extension=php_mcrypt.dll

;extension=php_mhash.dll

;extension=php_mime_magic.dll

;extension=php_ming.dll

extension=php_msql.dll

;extension=php_mssql.dll

extension=php_mysql.dll

extension=php_mysqli.dll

;extension=php_oci8.dll

;extension=php_openssl.dll

extension=php_pdo.dll

;extension=php_pdo_firebird.dll

;extension=php_pdo_mssql.dll

;extension=php_pdo_mysql.dll

;extension=php_pdo_oci.dll

;extension=php_pdo_oci8.dll

;extension=php_pdo_odbc.dll

;extension=php_pdo_pgsql.dll

extension=php_pdo_sqlite.dll

;extension=php_pgsql.dll

;extension=php_pspell.dll

;extension=php_shmop.dll

;extension=php_snmp.dll

;extension=php_soap.dll

extension=php_sockets.dll

extension=php_sqlite.dll

;extension=php_sybase_ct.dll

;extension=php_tidy.dll

;extension=php_xmlrpc.dll

;extension=php_xsl.dll

;extension=php_zip.dll

 

 

DIR arī norādīts pareizi extension_dir = "C:/AppServ/php5/ext"

 

httpd.php arī paŗbaudīts un viss pareizi Ja domājat šo -

LoadModule php5_module C:/AppServ/php5/php5apache2_2.dll

 

 

Ir kādam kādas idejas? Kā novērt šo trako eroru?

Link to comment
Share on other sites

Bet loģiski, kā var nebūt, ja vakar gāja?

 

Aizmirsu piebilst, ka apache nevar nemaz palaist. palaižu servicefix, parāda , ka apache normāli palaists.

bet win processā neredzu apache processu.

 

Dokomentācija šis ir iedots -

 

 

To connect to a MySQL server, PHP needs a set of MySQL functions called "MySQL extension". This extension may be part of the PHP distribution (compiled-in), otherwise it needs to be loaded dynamically. Its name is probably mysql.so or php_mysql.dll. phpMyAdmin tried to load the extension but failed.

 

Usually, the problem is solved by installing a software package called "PHP-MySQL" or something similar.

Edited by Blink
Link to comment
Share on other sites

Iekš phpinfo() arī ir?

 

Kā viņu tur ielikt?

 

 

Apache 2.2 daemon is Starting ...

 

##########################################

## Stop Apache Please Close This Window ##

##########################################

(OS 10048)Only one usage of each socket address (protocol/network address/port

is normally permitted. : make_sock: could not bind to address 0.0.0.0:80

no listening sockets available, shutting down

Unable to open logs

Press any key to continue . . .

Kas tas par erroru, kā viņu labot un vai viņš ir pie vainas?

Edited by Blink
Link to comment
Share on other sites

Tikko nomainiju portu apachei uz 6600 mēģināju palaist nekā.

 

paskatijos, kas izmanto 80 portu izrubiju nod32 , radmin , palaidu uzmet to pašu erroru tik ( pirms tam nomainiju portu apachei uz 6600 bet tas pats ) bet šoreiz izmet :

 

####### Apache Service Fixed #######

 

The Apache2.2 service is not started.

Removing the Apache2.2 service

The Apache2.2 service has been removed successfully.

Installing the Apache2.2 service

The Apache2.2 service is successfully installed.

Testing httpd.conf....

Errors reported here must be corrected before the service can be started.

(OS 10048)Only one usage of each socket address (protocol/network address/port)

is normally permitted. : make_sock: could not bind to address 0.0.0.0:80

no listening sockets available, shutting down

Unable to open logs

 

####### Now Starting Apache... #######

 

The Apache2.2 service is starting.

The Apache2.2 service could not be started.

 

A service specific error occurred: 1.

 

More help is available by typing NET HELPMSG 3547.

Link to comment
Share on other sites

extension=php_mysql.dll apskaties augstāk.

Jā, ir :)

 

Nē! Ne par to ir runa. Tu esi norādījis, ka tu gribi izmantot attiecīgo ekstenziju. Norādījis. Jautājums ir: Vai attiecīgajā path atrodas attiecīgais DLL fails?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...