problem changing server

I have problem with my actual server provider and need to move my dolibarr to a new more professionnal server.

I’ve moved all the files, recreated the database, changed the conf.php file to point to the news database and dbdatas and htdocs.

My version is 3.2.2

I thought that ugrading to 3.3.1 would work but I can’t even click the upgrade button.

it says :

Prerequisites check:
PHP Version 5.3.2-1ubuntu4 (More information)
This PHP supports variables POST and GET.
This PHP supports sessions.
This PHP support GD graphical functions.
This PHP support UTF8 functions.
Your PHP max session memory is set to 128M. This should be enough.
Configuration file htdocs/conf/conf.php exists.
Configuration file htdocs/conf/conf.php is writable.

A htdocs/conf/conf.php file exists with a dolibarr_main_document_root to /myfolder/htdocs that seems wrong. Try to fix or remove the htdocs/conf/conf.php file.

when I click on upgrade to 3.3.1 to upgrade the database, I get an error 500

Can somebody help ?

This is very very urgent

regards

Solved

folder and file permissions reset to 755 and 644
includes folder and below to 777
filefunc in the root to 755

corrected the path to documents in conf.php

and here we go

upgraded to 331 on my new server.

Please, where exactly can I find /conf.php in the installation directory of my cPanel?
I don’t seem to see it anywhere. Please, a detailed explanation will help. Thanks.