Mysql_connect is not supported During website installation !!!!!!!!! Urgent Solution !!!!!! Online, etc ~~

Source: Internet
Author: User
Mysql_connect is not supported During website installation !!!!!!!!! Urgent Solution !!!!!! Online, etc ~~ Why does mysql_connect display an unsupported error on the website? what is the cause? what should I do .... I processed the materials I searched online ..... Finalize .... Apache + php + Mysql


Reply to discussion (solution)

The error code is stuck.

No matter what you say on the Internet, I only want to see how you do it.

This is an error: No matter what you say on the Internet, it depends on how you do it. when I use phpinfo for testing, Mysql and Mysqli are not displayed at the same time. I have done all the steps for Mysql extension on php, but I still cannot. The content of php. ini is as follows:

extension_dir-"D:/PHP/php5/ext";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.dllextension=php_mysql.dllextension=php_mysqli.dll;extension=php_oci8.dll;extension=php_openssl.dllextension=php_pdo.dll;extension=php_pdo_firebird.dll;extension=php_pdo_mssql.dllextension=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
Libmysql. dll is also stored in C: \ Windows. I am a beginner and want to learn how to configure Apache + php + Mysql by myself. now, I stick to it .. However, such errors always occur. You don't want to install it in a silly way .... Sincerely ask for advice... I thought that the current error should be that php cannot connect to Mysql at all times... Find the correct method...

The error code is stuck. This error occurs when the website is installed...

In phpinfo, is the php. ini File Loaded by Loaded Configuration File the same as the php. ini File you modified?

Value of the following items during the phpinfo test
Configuration File (php. ini) Path
Loaded Configuration File
And Apache Environment section PATH

Value of the following items during the phpinfo test
Configuration File (php. ini) Path
Loaded Configuration File
And Apache Environment section PATH

In phpinfo, is the php. ini File Loaded by Loaded Configuration File the same as the php. ini File you modified?

Delete all items in the PATH containing the MySQL words
If you don't, ask your colleagues or ask a computer company for help.

Delete all items in the PATH containing the MySQL words
If not, ask your colleagues or ask a computer company for help .. Delete all Mysql files in all paths in path, right ??? This is the company's new php website that allows me to help install it. In fact, I am also a newbie, but in the company, all of them are engaged in sales, that's it ..

I reinstalled PHP and installed it as shown in the following figure. The difference between this installation and the previous installation is that (I think the reason for the previous installation failure may be that this is also the reason, the environment variable does not contain php. ini path .) I copied the php. ini file to C: windows, and the problem was solved... I hope that I can post my mistake and provide some ideas for beginners...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.