Lineman Posted April 26, 2008 Share Posted April 26, 2008 Have created an HTML file called greetings.php and then tried to save it in the htdocs folder. But i am informed: Could not save the file /opt/lampp/htdocs/greetings.php You do not have the necessary permission to save the file. Could someone tell me what i am doing wrong please. Thanks in advance. Link to comment https://forums.phpfreaks.com/topic/103064-really-need-help-to-get-started/ Share on other sites More sharing options...
SuperKas Posted April 26, 2008 Share Posted April 26, 2008 Possibly (a guess) if you are using FTP Try right clicking the folder you are trying to upload to and change the CHMOD to 777 to allow any changes. Then after your file uploaded, change it back to its original CHMOD value. Link to comment https://forums.phpfreaks.com/topic/103064-really-need-help-to-get-started/#findComment-527905 Share on other sites More sharing options...
Lineman Posted April 26, 2008 Author Share Posted April 26, 2008 Hello there! I am not using FTP as i don't have to upload anything because the server is on my computer. Link to comment https://forums.phpfreaks.com/topic/103064-really-need-help-to-get-started/#findComment-527908 Share on other sites More sharing options...
Fadion Posted April 26, 2008 Share Posted April 26, 2008 The idea is the same as of using FTP, as u have to chmod your file in your own linux box. Try: chmod u+w greetings.php or chmod 644 greatings.php Link to comment https://forums.phpfreaks.com/topic/103064-really-need-help-to-get-started/#findComment-527968 Share on other sites More sharing options...
Lineman Posted April 27, 2008 Author Share Posted April 27, 2008 Hi GG! Thanks for the reply and help. Link to comment https://forums.phpfreaks.com/topic/103064-really-need-help-to-get-started/#findComment-528183 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.