Tuesday, 15 July 2014

php - The weirdest issue with lamp+mediawiki ever experienced -



php - The weirdest issue with lamp+mediawiki ever experienced -

ok, have set installation of lamp , mediawiki on machine path http://localhost/mw/. proceeded install windows on virtual machine test mediawiki installation net explorer. set appropriate $wgserver setting host ip addr reachable virtualbox client.

first accessed http://x.x.x.x/ , got directory listing, yay works. right?.... no..

i proceeded access http://x.x.x.x/mw/ (mediawiki path), , suprise, ie loading on recieve. several hours went by, , still ie loading page... no connection timeout, no recieve timeout. loading.. forever , ever...

when trying investigate going on here, downloaded cli utility curl. , proceeded command: curl -v http://x.x.x.x/mw/index.php/main_page. able retrieve page, result mind blowing!

first off, mediawiki reports page rendered quite fast (as read recieved html source)

served in 0.356 secs.

curl on other hand;

* 14542 bytes transfered in 764.580 seconds (19 bytes/sec).

this suggests me reason path /mw/... has slow transfer rate. other sites works fine, not /mw/

and since never got connection timeout or receive timeout in ie im guessing i'm recieving byte byte @ slow rate, , resources on page im trying get.

and create things more interesting, host machine can access /mw/ without problems @ all. tried connecting computer on network (not virtual machine), , suffered same issue endless loading.

any ideas on going on here?

the issue seems traced xdebug module when configured auto connect back.

removing xdebug.xdebug.remote_connect_back in xdebug config solved issue.

php apache networking mediawiki

No comments:

Post a Comment