[Solved]: From Apache on windows to Apache on Linux [Solved]: From Apache on windows to Apache on Linux
 

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]

Main Menu

[Solved]: From Apache on windows to Apache on Linux

Started by dannyfb, March 29, 2004, 09:52:57 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

dannyfb

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. ?

Nibbler

Yes, all the database stuff is platform independent.

dannyfb

allright that cool

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

Joachim Müller

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

dannyfb

#4
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

Joachim Müller

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

dannyfb

Ive solved the problem by installing php-mysql-x.x.x.so
and restarted "httpd" and now it works!!! Thank you for your time...