Forum
define('PERCH_SITEPATH') Upgrading to Perch Runway
Hi guys, Upgrading a site from Perch 3 to Perch Runway. Before I do so, I am updating the config file and want to clarify something. Documentation has ~~~define('PERCH_SITEPATH', '/server/path/to/your/site');~~~ My website is on a shared server with a hosting provider. Is the root to the website from the server's root sufficient as I see it on the FTP? i.e. /webspace/httpdocs or does it require an absolute linking within the shared server i.e. /var/www/vhosts/142/1004491/webspace/httpdocs
Also, it requests that you specify /server. This site is on a shared server provided by a hosting company, I wouldn't have the server name per say. Can you advise?
Perch: 3.1.2, PHP: 7.1.20, MySQL: 5.6.39, with PDO
Server OS: Linux, cgi-fcgi
Installed apps: content (3.1.2), assets (3.1.2), categories (3.1.2), perch_blog (5.6.1), chirp_seo (1.2.1)
App runtimes: <?php $apps_list = array( 'content', 'categories', 'perch_blog', 'perch_shop', );
PERCH_LOGINPATH: /perch
PERCH_PATH: /var/www/vhosts/142/1004491/webspace/httpdocs/perch
PERCH_CORE: /var/www/vhosts/142/1004491/webspace/httpdocs/perch/core
PERCH_RESFILEPATH: /var/www/vhosts/142/1004491/webspace/httpdocs/perch/resources
Image manipulation: GD Imagick
PHP limits: Max upload 32M, Max POST 32M, Memory: 256M, Total max file upload: 32M
F1: 3b606135b33e6a102526838f4152a807
Resource folder writeable: Yes
HTTP_HOST: www.lirchocolates.com
DOCUMENT_ROOT: /var/www/vhosts/142/1004491/webspace/httpdocs
REQUEST_URI: /perch/core/settings/diagnostics/
SCRIPT_NAME: /perch/core/settings/diagnostics/index.php
I realise my answer may lay in my diagnostics report: /var/www/vhosts/142/1004491/webspace/httpdocs
but I just want to clarify this first... :)
Yep that's it!
Thanks man!