Discuz 2.5 Issues that are released to IIS

Source: Internet
Author: User
Tags phpinfo
I use the thing Win2003 system, IIS version is 5.2.1, MySQL is mysql-5.1.62, tangled for a long time, online methods have been used, is not the effect, to explain


Reply to discussion (solution)

Your PHP environment does not support MySQL AH direct phpinfo see if PHP loaded MySQL

Your PHP environment does not support MySQL AH direct phpinfo see if PHP loaded MySQL

Phpinfo is not loading MySQL oh, what then??

Use Phpinfo to see where the loaded php.ini is
In the corresponding php.ini.
Extension=php_mysql.dll

Does DZ not say anything in the installation instructions? Or you didn't even look at it?

Use Phpinfo to see where the loaded php.ini is
In the corresponding php.ini.
Extension=php_mysql.dll

Does DZ not say anything in the installation instructions? Or you didn't even look at it?
I changed that Extension=php_mysql.dll Ah, is no use, phpinfo is no MySQL information, the server has the MySQL service


Use Phpinfo to see where the loaded php.ini is
In the corresponding php.ini.
Extension=php_mysql.dll

Does DZ not say anything in the installation instructions? Or you didn't even look at it?
I changed that Extension=php_mysql.dll Ah, is no use, phpinfo is no MySQL information, the server has the MySQL service
You add the MySQL installation path to the system environment variable in the open a DOS window input mysql-u root-p Enter the password to see if you can log in normally



Use Phpinfo to see where the loaded php.ini is
In the corresponding php.ini.
Extension=php_mysql.dll

Does DZ not say anything in the installation instructions? Or you didn't even look at it?
I changed that Extension=php_mysql.dll Ah, is no use, phpinfo is no MySQL information, the server has the MySQL service
You add the MySQL installation path to the system environment variable in the open a DOS window input mysql-u root-p Enter the password to see if you can log in normally

When I enter, it shows that MySQL is not an internal or external command, or a program or batch file that can be run

View with Phpinfo
Configuration File (php.ini) Path
Loaded Configuration File
Two items
If the second item has no value, then the php.ini must be placed in the first position




Use Phpinfo to see where the loaded php.ini is
In the corresponding php.ini.
Extension=php_mysql.dll

Does DZ not say anything in the installation instructions? Or you didn't even look at it?
I changed that Extension=php_mysql.dll Ah, is no use, phpinfo is no MySQL information, the server has the MySQL service
You add the MySQL installation path to the system environment variable in the open a DOS window input mysql-u root-p Enter the password to see if you can log in normally

When I enter, it shows that MySQL is not an internal or external command, or a program or batch file that can be run

Could have landed properly, but Phpinfo still didn't have MySQL information.





Use Phpinfo to see where the loaded php.ini is
In the corresponding php.ini.
Extension=php_mysql.dll

Does DZ not say anything in the installation instructions? Or you didn't even look at it?
I changed that Extension=php_mysql.dll Ah, is no use, phpinfo is no MySQL information, the server has the MySQL service
You add the MySQL installation path to the system environment variable in the open a DOS window input mysql-u root-p Enter the password to see if you can log in normally

When I enter, it shows that MySQL is not an internal or external command, or a program or batch file that can be run

Could have landed properly, but Phpinfo still didn't have MySQL information.
The PHP exp folder inside the file and all get System32 to see the problem you want to see the Windows log information to solve the problem faster






Use Phpinfo to see where the loaded php.ini is
In the corresponding php.ini.
Extension=php_mysql.dll

Does DZ not say anything in the installation instructions? Or you didn't even look at it?
I changed that Extension=php_mysql.dll Ah, is no use, phpinfo is no MySQL information, the server has the MySQL service
You add the MySQL installation path to the system environment variable in the open a DOS window input mysql-u root-p Enter the password to see if you can log in normally

When I enter, it shows that MySQL is not an internal or external command, or a program or batch file that can be run

Could have landed properly, but Phpinfo still didn't have MySQL information.
The PHP exp folder inside the file and all get System32 to see the problem you want to see the Windows log information to solve the problem faster

I know what the problem is, which MySQL database problem, when installed without a password

  • Related Article

    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.