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: [Solved]: From Apache on windows to Apache on Linux  (Read 2937 times)

0 Members and 1 Guest are viewing this topic.

dannyfb

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
[Solved]: From Apache on windows to Apache on Linux
« on: March 29, 2004, 09:52:57 pm »

I have reinstalled my server from Windows to Linux and my webserver is up running again on Linux.

Now i want to install the CPG 1.2 Standalone version on my Linux server. My MySQL database i hosted on another server, but is it possible to use the old tables in my MySQL database. ?
Logged

Nibbler

  • Guest
[Solved]: From Apache on windows to Apache on Linux
« Reply #1 on: March 29, 2004, 09:56:31 pm »

Yes, all the database stuff is platform independent.
Logged

dannyfb

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
[Solved]: From Apache on windows to Apache on Linux
« Reply #2 on: March 29, 2004, 10:08:48 pm »

allright that cool

when i run the "install.php" shall i type something in the fields then ? (under MySQL)
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
[Solved]: From Apache on windows to Apache on Linux
« Reply #3 on: March 30, 2004, 07:20:10 am »

no need to run install.php at all (install will create new coppermine tables in a database, that's what it was built for). If the database still exists and the pics are where they belong (on your new server), simply create a file named config.inc.php in the include folder with the database information in it (take a look at the sample file that comes with coppermine).
If you can't use the mySQL database on the remote server, get a dump from the old server's coppermine database (using a tool like phpMyAdmin) and insert the db info on your new server (again: phpMyAdmin).
If this sounds to complicated for you, you'll have to post details on your current setup: where are the pics stored, what db are you going to use (local or remote) etc.

GauGau
Logged

dannyfb

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
[Solved]: From Apache on windows to Apache on Linux
« Reply #4 on: March 30, 2004, 06:01:04 pm »

hi GauGau

I have now created a new "config.inc.php" with the correct MySQL settings and saved it as a PHP-file (include\config.inc.php)

I have also moved my pictures from the directory "Albums" over to the new server.

But i get nothing at the server try to look http://----/coppermine

And my PHP settings looks like this: http://----/test.php
« Last Edit: June 24, 2004, 01:32:36 pm by dannyfb »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
[Solved]: From Apache on windows to Apache on Linux
« Reply #5 on: March 30, 2004, 11:12:18 pm »

posting links to your phpinfo is not recommended - may be a security risk.
Get the install.lock file from the old webserver (inlucde dir) as well.
This is actually not a coppermine issue, but related to server setup. Back up your db and set up a new one using coppermine install. Check if it works then.

GauGau
Logged

dannyfb

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
[Solved]: From Apache on windows to Apache on Linux
« Reply #6 on: April 01, 2004, 10:34:23 am »

Ive solved the problem by installing php-mysql-x.x.x.so
and restarted "httpd" and now it works!!! Thank you for your time...
Logged
Pages: [1]   Go Up
 

Page created in 0.014 seconds with 14 queries.