Solved

How do I insert a php command?

Posted on 2012-04-06
9
284 Views
Last Modified: 2012-04-12
I am not technical.   I wish to install a sitemap servicfe on my site.  I have followed everything through as set out by freesitemapgenerator.com
But I am now stuck because I am instructed as follows:

Step 3: File permissions
To be sure our software can write new sitemaps into the directory that it needs, you must change the file permissions.Create an empty file called sitemap.xml in the same directory where you have placed fsg-upload-153220194173.php.  (This I have successfully done. Change the permissions of this file so that the webserver is able to write to this file. How to do this depends on what kind of operating system and configuration you are running, but

chmod 666 sitemap.xml

is the command you should execute when you are on a unix box.
( The siet is running on Windows.   I think it must be on a unix box.  I have created the sitemap.xml as instructed.   But I do not know whether a.  I should create a file called
chmod 666 sitemap.xml or what next to do to change the permissions.
Can you advise please  
Thanks
0
Comment
Question by:digisel
9 Comments
 
LVL 13

Expert Comment

by:haloexpertsexchange
ID: 37816506
right click on the file and go to properties.
There should be a tab called security and there you can add/deny permissions for different users.
0
 
LVL 83

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 250 total points
ID: 37816513
Do you have PHP installed on that server?  If you don't, that program won't run your "fsg-upload-153220194173.php" page to create your sitemap.
0
 

Author Comment

by:digisel
ID: 37816687
to halo: there is no security tab when I click on properties.   It shows 666 as a Numeric value only for Unix systems.

to DaveBaldwin.  PHP is the basis for the site so it is installed on the server.
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 13

Expert Comment

by:haloexpertsexchange
ID: 37816701
This is what I was seeing in xp. security tab under file propertiesWhat version of windows are you using?
0
 

Author Comment

by:digisel
ID: 37816734
Halo,
I cannot access uploader.php Properties through ftp.
I am running windows 7.
I was accessing sitempa.xml which did not show any security tab.
How and where should I find uploader.php?
0
 
LVL 13

Accepted Solution

by:
haloexpertsexchange earned 250 total points
ID: 37816741
no where, that was just the file that I used to show how to access the properties security tab in xp.
0
 

Author Comment

by:digisel
ID: 37816823
ok but I cannot see such a file on the site.  
I do not know how to access the server so I am confined to what I can access on the site through stp.  
There are a number of .php files there but none invoke on a right click anything with a security tab.
0
 
LVL 80

Expert Comment

by:David Johnson, CD, MVP
ID: 37819917
which ftp program are you using?
I suggest filezilla and this is what I see when I go to permissions

Filezilla permissions on windows server
0
 

Author Closing Comment

by:digisel
ID: 37838927
thanks for your input.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
IE issues 1 39
Wordpress errors showing up, hacked? 4 72
web & database SERVERS -- PHYSICAL & VM ? 5 72
Prevent surfing 14 29
I recently found myself in a Corporate Situation where the client had requested blocking access to any and all websites except his own Domain? Easy? I am sure this would be your answer but their requirement was, this has to be done without using…
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
This Micro Tutorial will demonstrate how to add subdomains to your content reports. This can be very importing in having a site with multiple subdomains.
Shows how to create a shortcut to site-search Experts Exchange using Google in the Chrome browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch the Search Engine Menu: In chrome, via you…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question