Taking over and Moving a PHP site
        Posted  
        
            by 
                KCavon
            
        on Server Fault
        
        See other posts from Server Fault
        
            or by KCavon
        
        
        
        Published on 2011-03-16T15:50:47Z
        Indexed on 
            2011/03/16
            16:12 UTC
        
        
        Read the original article
        Hit count: 299
        
I have a internal use PHP site at my new position. It only runs a few days a year off site so we keep it on laptops. The hardware it has been on, a 8 year IBM Thinkpad running Fedora, is dying. I have new Lenovo Thinkpad's running latest and greatest Ubuntu. I have copied the contents of var to a shared drive, renamed the old www folder in var on the new machine and copied over the old www folder. I can get to the login page and into the site, but when I look something up it returns Cannot Open. I know I cannot get to the MySQL in the new machine because users and passwords dont match. The version of the PHP from the old machine is before the setup script was included. I know very little about PHP. I am looking for input on the proper way to link the old PHP files to my mysql instance. Any help, much appreciated.
© Server Fault or respective owner