User Tools

Site Tools


t1.3_installing_platform4php

Installing Platform4PHP

Just copy the entire distribution into your website folder. Be aware that Platform4PHP creates a configuration file in the parent folder of the website root, so be sure your folder configuration can handle this.

I have configured the site at /var/www/people/web/, so the configuration file is going to be created in /var/www/people/

Open your new website, and you will automatic be taken to the installation page. If the installation encounter any problems you will be notified, so you can remedy them.

Configuring Platform4PHP

Fill out the configuration form:

Global database server host namelocalhostThis points to the database server containing the global database. Here it is localhost, but in a multiserver environment, it could point to another server.
Global database user namepeople_database_userDatabase user name
Global database passwordmysecretpasswordDatabase password
Global database namepeople_applicationThe global database we created earlier.
Local database server host namelocalhostAgain, as we are running of the same server, we just repeat the information above. If we were setting up a second server, this could be different from above.
Local database user namepeople_database_user
Local database passwordmysecretpassword
Instance database prefixpeople_instanceWhen a new instance is created, the associated database will be prefixed with this title. Select a valid database name.
Instance store directory/var/lib/people/storage/The storage directory, we created earlier.
Temporary files directory/var/tmp/The temporary directory, we created earlier.
Global log files directory/var/log/people/The log directory, we created earlier.
URL for server talk/Platform/Server/php/server_talk.php/This specifies an URL where the instance servers communicates with each other. This should be left as is.
Password salt2b6ffe227478eb9145316b18c6b584edSpecifies a password salt. This can be anything, but when it is set, it should not be changed, as that would render all passwords invalid. This should be kept the same across multiple servers in the same complex, to ensure that instances are portable.
Password for admin interfacemysecretpasswordA password for locking the installation directory and other management tools. This will appear in clear text in the configuration file.

Platform4PHP will check your configuration and if everything checks out, you'll get a message that the installation was a success.

I have encountered some examples where you get an error, that a variable wasn't set instead of the success message. Reloading the page, fixes the issue. I haven't quite figured out why this happens!

That's it.

t1.3_installing_platform4php.txt · Last modified: 2020/11/11 21:48 by sahl

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki