Download the latest Page Manager distribution package from SourceForge download page:

Save the to you local filesystem.


Unpack the the into the directory where you wish to use it.

cd public_html

A directory named "pagemanager" appears.

Accessing the Page Manager

After you have unpacked the zip-file into you public folder, you can access the Page Manager by surfing to a address like http://localhost/public_html/pagemanager/.


For remote FTP-sites you must copy the pagemanager-directory to the remote site using you favourite FTP-client. For example with ncftp you would use something like:

    ncftpput -u  -r pagemanager

This recursively copies the extracted pagemanager-directory to your web server.

File Permissions

To be able to read oanf write filed the file permission on you public directory need to allow this. For PHP applications (like PageManager) this means that the user "www-data" (or similar) needs to have permissions to read/write/execute to the public_html-directory and read/write permissitions to all files in that directory.

You can change the permissions using the chmod command:

chmod ugo+rwx public_html
chmod ugo+rw public_html/*.*

Note: This is the easiest - and the most unsafe way to do this! This way you are actually giving read/write access to all the users of the server.Propably, what you'd like to set the permissions on your files to be only readable and writable by you and the Web server.

Personally I would prefer PHP running under the same user as the owner of the script (i.e. your user id). There are tools like mod_diffprivs and suExec which would allow this, but most ISP's don't provide any of these.

Restricting access using .htaccess file

To restrict web access to pagemanager-directory you can use server specific settings and authentication, but the simples way is to assign .htaccess file into the pagemanager-directory.

Here is an example .htaccess file:

AuthUserFile /somewhere_else/htpasswd AuthName "Page Manager" AuthType Basic <Limit GET POST> require valid-user </Limit>

Provided that the server is correctly configured, this restricts the access to users specified in htpasswd-file. To create new htpasswd file and add user into into user command like:

htpasswd -c /somewhere_else/htpasswd some_user 

To add additional users, use simply:

htpasswd -c /somewhere_else/htpasswd some_user 

Note: htpasswd file should reside outside the document directory.