Hello,
I need a little help with migrating our website to a new server.
At the top of a lot of our PHP pages there is a path: #!/usr/local/bin/php. The new server says the path to PHP is /usr/bin/php. Do I need to change this at the top of all the pages? Does it matter that the #! is not at the beginning for the new server?
Also, when I download all the files to my desktop and upload them to the new server all the permissions are changed to 777. I've tried both Cyberduck and Transmit without success. Is there anyway to preserve the permission structure. I am using FTP, not SFTP. Is it safe to say that most php permissions should be 755 and any other files like .htaccess or .htpsswd should be 644?
Any help would be greatly appreciated!
Thanks,
cmalexander