Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Fix php permissions
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Everything else
- :
- Fix php permissions
Fix php permissions
28-11-2007 4:16 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I'm struggling setting the permissions on the ccgi server for my php files. I've installed a shopping cart and all the php files need to be set to 755. It has installed lots of folders that contain php files and it will take ages to set all the files individually. I have found the help files about fixphpperms.sh -c but I'm not sure how I can get to the particular folder that contains all the catalogue files.
I'm on mac so I'm using terminal and am not used to it. can someone please tell me what I should be typing at the prompt presuming my folder is called 'cart' on the ccgi server?
I initially thought that fixphpperms.sh -c would change all php files on the ccgi server but that doesn't seem to be the case.
Thanks
I'm on mac so I'm using terminal and am not used to it. can someone please tell me what I should be typing at the prompt presuming my folder is called 'cart' on the ccgi server?
I initially thought that fixphpperms.sh -c would change all php files on the ccgi server but that doesn't seem to be the case.
Thanks
Message 1 of 8
(2,905 Views)
7 REPLIES 7
Re: Fix php permissions
28-11-2007 5:04 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
cd cart
fixphpperms.sh -c
fixphpperms.sh -c
jelv (a.k.a Spoon Whittler) Why I have left Plusnet (warning: long post!) Broadband: Andrews & Arnold Home::1 (FTTC 80/20) Line rental: Pulse 8 Home Line Rental (£14.40/month) Mobile: iD mobile (£4/month) |
Message 2 of 8
(723 Views)
Re: Fix php permissions
28-11-2007 7:24 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
or you can do
fixphpperms.sh -r
This will do a recursive change for all .php files in all directories from your root directory.
Note: it is not possible to password protect any php files with .htaccess. Check the application to see how it does the admin login authentication. If it uses .htaccess then it will not be secure on PlusNets CCGI servers and I would not recommend using it.
fixphpperms.sh -r
This will do a recursive change for all .php files in all directories from your root directory.
Note: it is not possible to password protect any php files with .htaccess. Check the application to see how it does the admin login authentication. If it uses .htaccess then it will not be secure on PlusNets CCGI servers and I would not recommend using it.
Message 3 of 8
(723 Views)
Re: Fix php permissions
28-11-2007 7:56 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Web-Dez,
download a free copy of SmartFTP, it makes life so much easier. -> right click the file CHMOD -> 755
Sooo easy
download a free copy of SmartFTP, it makes life so much easier. -> right click the file CHMOD -> 755
Sooo easy

Message 4 of 8
(723 Views)
Re: Fix php permissions
28-11-2007 8:35 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
That is fine for a few files but when you have 10s / 100s (as in this case) it is not practical which is what the script detailed earlier was written for.

Message 5 of 8
(723 Views)
Re: Fix php permissions
28-11-2007 8:59 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Also;
SmartFTP is for windows only.
Chilly
Quote from: web I'm on mac
SmartFTP is for windows only.
Chilly
Message 6 of 8
(723 Views)
Re: Fix php permissions
29-11-2007 9:52 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Quote from: Peter That is fine for a few files but when you have 10s / 100s (as in this case) it is not practical which is what the script detailed earlier was written for.
I disagree

Highlight the folders/files you want to change (ctrl click for a selection) right click and chmod.
That screen dump was a previous version, this one shows subfolders:
Message 7 of 8
(723 Views)
Re: Fix php permissions
01-01-2008 10:12 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
This is a very good mac ftp client http://fetchsoftworks.com/?gclid=CIT5jv2G1pACFQ0vlAodTSwTOw
or you could try Dreamweaver if you have loads of spare cash
or you could try Dreamweaver if you have loads of spare cash

Message 8 of 8
(723 Views)
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page