Вопрос

This tells me the location of some log files in windows\temp:

<?php
phpinfo();
?> 

enter image description here

However when I open that file, I get:

[06-Feb-2013 11:01:34] PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\Program Files (x86)\PHP\ext\php_mssql.dll' - The specified module could not be found.
 in Unknown on line 0
[06-Feb-2013 11:04:37] PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\Program Files (x86)\PHP\ext\php_mssql.dll' - The specified module could not be found.
 in Unknown on line 0
[06-Feb-2013 11:04:37] PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\Program Files (x86)\PHP\ext\php_mssql.dll' - The specified module could not be found.
 in Unknown on line 0

THat is the entire contents of the file,. Please note that we've been using this site for several months with several dozen users.

I am unable to find the log files,.

We are running IIS 8, and I've also been trying to use that to find http errors, and cannot.

Where are the error logs for php and iis?

Это было полезно?

Решение

If in php.ini contains error_log=On then it will be store a log file.

You need add a module for loading, this errors show because in php.ini is active module but you should disable or comment if you not in use.

Windows store in system default log file, so find php.ini file and search for error_log.

Or find how is stored on system environment maybe is there, find by date:

enter image description here

Or search on C:\inetpub\temp\php-errors.log or type php*.log in search.

There can be stored by default in Log file directory: C:\Windows\System32\LogFiles too.

Can you check for this and set to development?

enter image description here

As you can see, view error.log file.

And please see OFFICIAL PHP.NET documentation for setting IIS7 and later: http://php.net/manual/en/install.windows.iis7.php Make sure that all parameters are done.

Другие советы

Check your php.ini file and make sure log_errors = On, also make sure error_log = syslog (syslog is Event Viewer on Windows), open Event Viewer and look for errors.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top