Hi,
please have a look at aMule's configuration file. (That's the file amule.conf in the hidden directory .aMule in your home directory.) Somewhere, there should be the webserver template. Please make sure it says default and not php-default or similar.
Depending on how you start the webserver, you might have to change a file remote.conf in the some directory, too.