Script that copies files/folders doesn't work
Hello, I recently signed up at Linode, deployed Ubuntu and installed Apache, Mysql and PHP5.
I'd actually made the change from a shared server to a vps in order to make an add-on for OsCommerce work. This add-on called Automatic stores generation (oscommerce.com/community/contributions,1730 contribution at 14 May 2009) copies existing files and folders and this requires a LAMP environment with 'permissions of systems administrator'.
Unfortunately the script doesn't copy the files and folders.
Strange enough, the copying did work on the shared server. (symlinks didn't work there)
I just transferred all the files and sql data from the shared server to the Linode, edited config files and set all permissions to 777. (inc. public_html)
So now I'm wondering what needs to be done to make the script work. Some questions:
- • Is it also considered a LAMP environment when one uses Ubuntu? Are there differences for the functioning of scripts?
• What would be considered 'permissions of systems administrator' in this context? Like file permissions of 777?
• Are there necessary things I need to install on the server to get these kinds of things to work? For instance, I once had to install cURL.
• Would the script need a 'raw url' with the server name etc, rather than the url of the domain name? (like: /srv/www/domain.com/public_html) This 'raw url' was used in the config script on the shared host, but I don't know how this works.
I can't think of other reasons. Maybe you can?
Any advice is greatly appreciated!