Results 1 to 4 of 4

Thread: [SOLVED] how to parse php instead of downloading it (in firefox)

  1. #1
    Join Date
    Jun 2006
    Beans
    Hidden!

    [SOLVED] how to parse php instead of downloading it (in firefox)

    How can i parse php files on my pc?
    You see i installed:
    Code:
    apache2 php5-mysql libapache2-mod-php5 mysql-server php5
    After this i done this:
    Code:
    sudo echo "ServerName localhost" >> /etc/apache2/conf.d/fqdn
    After this i restarted apache2 with
    Code:
    sudo /etc/init.d/apache2 restart
    After this i restarted pc (it´s my first time to use php5, mysql and apache) and i tried to start offline joomla installation but there was no progress: firefox (3.0b5) is still downloading php files insted of parsing them. What to do?

    i use desktop edition (8.04).

    tnx for help


    p.s. During installation i entered mysql password (if this matters)

  2. #2
    Join Date
    May 2007
    Location
    Phoenix, Arizona USA
    Beans
    2,909
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: how to parse php instead of downloading it (in firefox)

    First of all you have to download the Joomla packages to install it (they are php files).

    Second, localhost is not your fqdn (fully qualified domain name). It should be in this format:

    servername.domain.tld

    Sooo, if your server name is localhost and your domain is gamer.nix, then your fqdn would be localhost.gamer.nix

    I would suggest reading through the Joomla install instructions carefully before trying to install again. If this is like other packages like this, you just download the php files and put them in the correct directory and then navigate to the install folder and run the install php script.

    -Tim
    www.pcchopshop.net

    Hard to find and obsolete PC and server parts. "If we can't find it, it probably doesn't exist"

  3. #3
    Join Date
    Jun 2006
    Beans
    Hidden!

    Re: how to parse php instead of downloading it (in firefox)

    First of all you have to download the Joomla packages to install it (they are php files).

    Second, localhost is not your fqdn (fully qualified domain name). It should be in this format:

    servername.domain.tld

    Sooo, if your server name is localhost and your domain is gamer.nix, then your fqdn would be localhost.gamer.nix

    I would suggest reading through the Joomla install instructions carefully before trying to install again. If this is like other packages like this, you just download the php files and put them in the correct directory and then navigate to the install folder and run the install php script.
    1. I downloaded joomla packages(v1.5.3 stable) to my pc.
    2. This for fqdn is written on ubuntu wiki ( check out: https://help.ubuntu.com/community/ApacheMySQLPHP ). So i have to choose another thing. I will try it
    3. I read about 4 manuals for instalkling :>

    Still there is problem since my pc wont open any php file localy
    Wnat can i do to fix that?

  4. #4
    Join Date
    Jun 2006
    Beans
    Hidden!

    Re: how to parse php instead of downloading it (in firefox)

    stupid me... I just have to install:
    Code:
    apache2 php5-mysql libapache2-mod-php5 mysql-server php5
    And to add this
    Code:
    sudo echo "ServerName localhost" >> /etc/apache2/conf.d/fqdn
    After this i just have to put my files in /var/www/ ando voila...
    Solved

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •