Hello, Paul!
You may need to define your locally developed site’s php version your application is using. That is usually done in your .htaccess file. Firefox is probably asking you for what php version it should use to resolve your site with. The line should look like this ( depending on the particular php version the site is using)
PHP 5.6
AddHandler application/x-httpd-php56 .php .php5 .php4 .php3
PHP 5.5
AddHandler application/x-httpd-php55 .php .php5 .php4 .php3
PHP 5.4
AddHandler application/x-httpd-php54 .php .php5 .php4 .php3
I hope this information will be helpful to you.
Regards
-
This reply was modified 9 years, 3 months ago by
Vladinka.
-
This reply was modified 9 years, 3 months ago by
Vladinka.
Hi,
Thanks for the reply. I’ve done what you suggested the .htaccess file now says
AddHandler application/x-httpd-php54 .php .php5 .php4 .php3
but to no avail. But why would the 2 sites stop working? A couple of weeks ago all was fine.
Any other suggestions? Re-install winamp server?
Paul
I suppose Firefox is asking you whether to download a file. Have you tried updating your php version to a newer one – like php 5.5, better yet php 5.6? It is possible that your wordpress version ( being 4+) may need a newer php version to work with.
Also, you should be able to check the wordpress version in the wp-includes/version.php.
I also found this thread in the Mozilla support forum, if it turns out that is a browser issue, rather than a php version one.
https://support.mozilla.org/bg/questions/958007
-
This reply was modified 9 years, 3 months ago by
Vladinka.
Thank you for looking at this but it didn’t work. Also I get the same problem in IE so it is not linked to the rdf file in Firefox. Also my other php based websites that are not WP based all work, so the mimetype recognition is working.
Inside wp-includes/version.php I have
$wp_version = ‘4.5.4’;
$wp_db_version = 36686;
$tinymce_version = ‘4310-20160418’;
$required_php_version = ‘5.2.4’;
$required_mysql_version = ‘5.0’;
and
$wp_version = ‘4.4.5’;
$wp_db_version = 35700;
$tinymce_version = ‘4208-20151113’;
$required_php_version = ‘5.2.4’;
$required_mysql_version = ‘5.0’;
For the 2 WP sites that don’t work and
$wp_version = ‘3.6.1’;
$wp_db_version = 24448;
$tinymce_version = ‘358-25336’;
$required_php_version = ‘5.2.4’;
$required_mysql_version = ‘5.0’;
for the WP site that does work.
My winamp installation is
winamp server 2.4
Apache 2.4.4
PHP 5.4.12
MySQL 5.6.12
This is not a browser level problem. I think you are right it is a mimetype recognition issue.
Thanks for all your help and looking at this
Pau
Now this is weird. I’ve downloaded versions of the 2 errant local websites from the webservers onto my local pc and one of them works. What’s even more strange is that I copied the index.php file from the working downloaded directory to the none working directory and it doesn’t work, I get the original message about wanting to open the file.
Any suggestions?
Thanks
Paul
I eventually solved this, it is all to do with the .htaccess file. Nothing to do with the mimetype at all. Try deleting the .htaccess file or removing stuff to do with the live version that is not applicable to the localhost version; rewrite rules for directory names etc.
Paul