views:

58

answers:

5

I'm trying to install wordpress...The install script will not run in firefox or chrome. I'm on ubuntu. I only get an option for downloading the file in both browsers. Any thoughts?

EDIT: Do I need to install libapache2-mod-php5?

+1  A: 

That's a server setting in which the server is not set to process the .php file, but rather feed the file as a download... Inquire with your web host..

jeffkee
I'm running locally
b.j.g
Um. I'm guessing you are using some sort of an apache emulator such as LAMP or MAMP?
jeffkee
A: 

you need to install apache and PHP running before trying to run any PHP script. download this. http://www.sph.umich.edu/csg/abecasis/LAMP/download/

Ibrahim Azhar Armar
I have apache and php installed
b.j.g
did you set your connection string properly. be precise about your problem. you are only confusing us.
Ibrahim Azhar Armar
What is the connection string?
b.j.g
wordpress uses the database like mySQL, you need to establish a connection with your server to make the wordpress running. here is the settings you need to make. http://codex.wordpress.org/Editing_wp-config.php
Ibrahim Azhar Armar
A: 

As others have said, you need the server, but you've said you already have the server installed. Did you access the PHP file via the server, or via the file path? Server would be http://127.0.0.1 (or localhost, or your IP)

If so, you may not have set PHP up correctly with Apache.

The easiest way to set it up is to install Lampp, it is my favourite, and is really easy to install and remove. Once installed, just copy the Wordpress files into the /opt/lampp/htdocs directory, and go from there.

Azz
A: 

I had to install libapache2-mod-php5, make sure the module was loaded in apache, then restart apache. All seemed to work fine in firefox afterwards, but not in chrome. I also had to move the wordpress install to /var/www

b.j.g