• I am running Ubuntu Dapper for my main webserver. Trying to get everything up and running from my last crash.

    I started off installing gallery2 with php4 and mysql. Next I installed phpmyadmin and they both worked wonderfully.

    Finally I installed wordpress (view the tar.gz, not ubuntu repo’s). Got it installed just fine, exported my xml file from my wordpress blog into my home-hosted setup. Everything was working perfectly.

    Until power went out. I had rebooted post gallery2/phpmyadmin install, but i did not after the wordpress install.

    Now every site i have, except for a static front/portal page that’s just basic html and one little jscript, prompts me to download a phtml file.

    I’ve read around the tubes a bit and saw that editting /etc/apache2/apache2.conf would apply a fix if I uncommented the following two lines and restarted apache.

    AddType application/x-httpd-php .php .phtml
    AddType application/x-httpd-php-source .phps

    i’ve done that. I’ve uninstalled apache and php4 as well as php4-common restarted apache, reinstalled them, restarted apache.. and i’m getting the exact same results.

    Any help would be appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • I just got the same problem. Everything was working smoothly until I rebooted my laptop (which runs the site locally) and all of a sudden it wants to download phtml.

    DId you ever resolve the issue?

    I had the same problem in my hosting (Bluehost) I added
    AddType application/x-httpd-php .php .phtml
    to my .htaccess and now it works

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘.phtml download after wordpress install, for all my sites’ is closed to new replies.