Strange Apache PHP Problem in Ubuntu Breezy

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • 99m@myway.com

    Strange Apache PHP Problem in Ubuntu Breezy

    I used to have Apache and PHP4 working perfectly in Ubuntu Hoary Linux.
    I upgraded to Ubuntu Breezy Linux and I either get one of the following
    problems:

    "You don't have permission to access /testsite/index.php on this
    server."

    or, if I put a test.php in the root, and try to run it, I get a Firefox
    dialog that's sort of like, "What do you want to do with this file?
    View it in gedit (notepad)?"

    So then I uninstalled and reinstalled PHP4 along with
    libapache2-mod-php4 and apache2. This failed with the same result.

    So then I upgraded to PHP5 and reinstalled all this. Again, this failed
    with the same result.

    So then I went back to PHP4 again, rebooted, and tried again. Same
    result.

    So then I upgrade again to PHP5 again, rebooted, and tried again. Same
    result.

    What's the trick? How do I get my PHP to work properly through Apache
    again?

  • irs2006@gmail.com

    #2
    Re: Strange Apache PHP Problem in Ubuntu Breezy

    Hi,
    I had the same problem, so i haved installed the following package :
    libapache-mod-php4 via apt-get

    ;) Good luck

    Comment

    • irs2006@gmail.com

      #3
      Re: Strange Apache PHP Problem in Ubuntu Breezy

      Hi,
      I had the same problem, so i installed the following package :
      libapache-mod-php4 via apt-get

      ;) Good luck

      Comment

      • irs2006@gmail.com

        #4
        Re: Strange Apache PHP Problem in Ubuntu Breezy

        Hi,
        I had the same problem, so i installed the following package :
        libapache-mod-php4 via apt-get

        ;) Good luck

        Comment

        Working...