What is the difference between x-httpd-php5x and application/x-httpd-php5x
I'v been using application/x-httpd-php for years with my web hosting (Linux) until they upgrade PHP to version>=5.2. Now I have to use x-httpd-php5x on web hosting which does not work on localhost (Windows).
So everytime I made some changes to the .htaccess, I have to change the AddHandler as well while uploading to web hosting.
Is there a cross-platform AddHandler to parse files as PHP?
edit
.php can always work, with/without specifing in .htaccess. but not custom extesions, e.g. .myphp
httpd.conf. Try taking it out of your.htaccessand see if your scripts will still be excuted. Setting that directive in.htaccessis usually done, when you don't have access to your server's config, which is mostly a case at some webhosting companies.application/x-httpd-phpis a valid internet media type,x-httpd-php5xisn't.only x-httpd-php52orx-httpd-php53works on my web hosting.x-httpd-php5xon the server, but useapplication/x-httpd-php5xon localhost