AjaXplorer [written in PHP] is too slow on IIS -


I have installed AJAxplorer (very good web file explorer) in PHP on my IIS (Windows Server 2008 SP2x64)

). It works very slowly for me.

What could be the reason? What are some settings in php.ini? Or, perhaps, is there something wrong with the IIS?

I use 32-bit PHP, php-cgi.exe as interpreter.

Regards,

First of all, CGI will always slow down for each request Try the FastCGI (, or) to boot the entire PHP runtime ...

After that, try to see why it is slow. This is because PHP script takes a long time to execute (this is a code problem), or because it is due to server config, to modify it at the beginning of the entry of the PHP program (index.php) Do:

  define (START_TIME_CUSTOM, microtime (true)); Function at Endtime Compute ($) Time = Microtim (True) - START_TIME_CUSTOM; "Full in echo": ". Number_format ($ timeTaken, 4) "Seconds \ n"; } Register_shutdown_function ('onTimeCompute');  

Write Completed in n seconds at the end of the generated output (even if is called ). If Ajax calls are expected to return JSON, then there may be some problems, so do not do this as a rule, just to try to know what is happening.

Therefore, if the total request is 1 second, you still see 0.004 seconds full , you know that PHP code is not the only issue (this is setup by CGI interpreter Or elsewhere in the IIS) ...

This will tell you at least that the problem is where ...


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -