Next, open the phpvms/bootstrap/app.php, and change the reverse path:
My file
\<?php if(!defined('LUMEN\_START')) { define('LUMEN\_START', microtime(true)); } include\_once \_\_DIR\_\_ . '/application.php'; $app = new Application(); $app-\>bindInterfaces(); $app-\>bind('path.public', function () { # This line needs to change to the folder the index.php lives in # Will be made as an option, so it doesn't get overwritten return \_\_DIR\_\_.'/../../public\_html'; });
now when i am pointing to my subdomain it gives me HTTP500 error.
Are you trying to install on shared hosting? You don’t need to do all that. The readme has the link to the tarball that has everything already in it. All you will need to do it upload it.
If you’re cloning, you need to run composer install in order to get all of the dependencies and stuff. I’ll update the wiki page to remove all those instructions. The error 500 could be because you haven’t done that. It’s impossible to know without looking at your server’s error logs, which is where I would start if I were you
Whosoever is trying to install Latest version of Phpvms, make sure your hosting supports PHP 7.0 in my case for the install i have added the below code in htaccess file within phpvms folder to get the install working also make sure to place the folder in the root of your directory example /home/yourwebdirectoryname not in public_html folder.
below line added in .htaccess file in order to make new version working, make sure to ask your hosting company if they supports PHP 7.0 version
Whosoever is trying to install Latest version of Phpvms, make sure your hosting supports PHP 7.0 in my case for the install i have added the below code in htaccess file within phpvms folder to get the install working also make sure to place the folder in the root of your directory example /home/yourwebdirectoryname not in public_html folder.
below line added in .htaccess file in order to make new version working, make sure to ask your hosting company if they supports PHP 7.0 version
My Folderstructure looks like /var/www/vhosts/mydomain/httpdocs/phpvms/
after clone the repository make composer install. everything looks good no errors. Then creating the mysql database and after that i run the installscript via www.mydomain.com/phpvms/index.php after landing i see the “head up to install” link. after start the script it tells me everything in my folderstructure permissions and php-version is ok. Then i try to go to step 2. Enter the Database and Siteinformations and click the continuelink. and nothing. It looks like the process is freezing. when i actual the page via f5 i can restart with enter the databaseinformation. But no errors and messages.
I hope you can follow my problem and have a idea what i can do.
Sorry forgot to told thats mayby my mystake. I forgot to point my Website tu phpvms/public.
My first idea was to combine my site into two systems a CMS and PHPVMS. But now i think it is not the right way and as i point my website to phpvms/public the installer runs perfect.
Ive a dedicated root server hosted by strato but i.ve foll permissions.