Delete this from your apache httpd.conf
ScriptAlias /php4/ "d:/php/"
Action application/x-httpd-php4 "/php4/php.exe"
AddType application/x-httpd-php4 .php
you do not need to load php as a script alias
use the module instead
all of parsing of images problems will be fixed when the above lines are removed
Allie Syadiqin wrote:
I tried looking in httpd.conf and there's nothing on JPG files. Anyway, I am running PHP, Apache & MySQL on a Win98/ME system. By default PHP is installed as CGI script. Therefore, whenever I call a php file, the browser will change the URL from "http://localhost/myfolder/myfile.php" to "http://localhost/php/php.exe/myfolder/myfile.php". I think this somehow affect the parsing of the JPG file because once I manually removed the "/php/php.exe" the image will appear as usual.
So is there a way to make sure that the additional PHP informations (ie. /php/php.exe) from appearing whenever I called a php file?
Any help is greatly appreciated. Thanks.