Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: can not open install.php  (Read 2893 times)

0 Members and 1 Guest are viewing this topic.

ddowdall

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
can not open install.php
« on: June 01, 2005, 08:17:27 am »

Hello,

I am having  a problem trying to install. I try to open the install.php file in my browser and I get a error.

screenshot removed


error opening install.php

the browser opens a dialog and asks what program I want to use to open the file. If I select firefox the dialog opens again.

I am using ubuntu linux.
I allready installed apache2, php4, mysql, imagemagick
I tried to open this install file from my windows pc and from linux.
I used IE and firefox.
File permissions are 777 for

please help.

Thank you.
« Last Edit: June 06, 2005, 07:04:55 am by ddowdall »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: can not open install.php
« Reply #1 on: June 01, 2005, 09:16:56 am »

it seems that your server is not configured to actually parse PHP files, so my guess is that PHP is not installed. Create a file named "test.php" with this in it:
Code: [Select]
<?php
echo 'Hello world';
?>
.
Upload it to your server and run it in your browser. If it doesn't display "Hello world", but gives you the same message you get when running install.php, you definitely haven't set up your server properly to run php files. In this case, you should look for help on sites that deal with server setup (i.e. apache-related stuff).
Logged

ddowdall

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: can not open install.php
« Reply #2 on: June 02, 2005, 07:46:22 am »

Thank you.

I will try to contact somebody who knows apache and php

I installed php using apt-get. I guess it does not automatically install itself into apache
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: can not open install.php
« Reply #3 on: June 02, 2005, 08:10:43 am »

no, it doesn't. You might want to get a full LAMP package if you have issues setting up PHP with apache. There are install docs for php available as well: http://www.php.net/manual/en/install.unix.apache2.php - you have to "tell" apache that PHP is there.
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 15 queries.