About the server environment. net and php I have a server, window2003, IIS, which contains a. net website. now I want to add a php website.
Now, the php website code is uploaded, the site is added in IIS, mysql is installed, and the database is imported.
Run phpinfo () to display relevant information, which should indicate that php can run. The problem is that other pages such as the homepage are blank.
I don't know why, is it because of mysql database problems? Is there anything else to install?
Give 80. please advise!
Reply to discussion (solution)
Enable the php error prompt function to check the error message.
The error prompt function is on ..
Display_errors = On
Error_reporting = E_ALL &~ E_NOTICE
I just read phpinfo () again. Why does it not show mysql information. Is there anything I have installed missing?
But I checked php. ini,
Extension = php_mysql.dll; No. is removed.
Does anyone understand this ????
How to install mysql and access the server to connect to mysql.
.. Yes .. The data is imported.
What information about mysql is not displayed in phpinfo?
Is the php. ini you modified correct?
Configuration File (php. ini) Path is the default php loading location
Loaded Configuration File is the actually Loaded php. ini. if this column is empty, you need to check whether the environment variable settings are correct. Or copy the modified php. ini to the default location.
Note that IIS must be restarted after any changes
Correct. Take the correct environment directly.
Since the access to the home page is blank, it should be irrelevant to the database. check your portal file and debug it step by step.
I checked it step by step .. Use echo to step by step .. The mysql Query statement cannot be used here ..
Paste the following values in the phpinfo result:
Configuration File (php. ini) Path
Loaded Configuration File
Display_errors
Extension_dir
O .. Thank you very much. I copied the modified php. ini to c: \ windows again, set the environment variable PHPRC, copy libmysql. dll and php_mysql.dll to system32, and restart IIS .. OK.