IrfaanKhan Posted January 8, 2018 Report Posted January 8, 2018 Hi, Nabeel i have tried installing latest version as per provided instructions i have done below steps to install it. i am having shared hosting environment & created subdomain Installed the latest ver from https://github.com/nabeelio/phpvms/archive/master.zip uploaded the same to public_html and extracted it now phpvms folder is next to public_html folder changes done in the index.php but i doubt which line needs to be changed below is my file <?php /** * phpVMS */ $path_to_phpvms_folder = __DIR__; require $path_to_phpvms_folder.'/bootstrap/autoload.php'; $app = require_once $path_to_phpvms_folder.'/bootstrap/app.php'; $path_to_phpvms_folder = __DIR__.'/../phpvms/'; $app->setPublicUrlPath(env('APP_PUBLIC_URL', '/public')); $kernel = $app->make(Illuminate\Contracts\Http\Kernel::class); $response = $kernel->handle( $request = Illuminate\Http\Request::capture() ); $response->send(); $kernel->terminate($request, $response); 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. Regards Irfaan Khan Quote
Administrators Nabeel Posted January 8, 2018 Administrators Report Posted January 8, 2018 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 1 Quote
IrfaanKhan Posted January 9, 2018 Author Report Posted January 9, 2018 Dear Nabeel, Thanks for the response, i have sorted out the issue as you explained did reinstall and it worked. BTW best of luck for this amazing looking project. Best Regards Irfaan Khan 1 Quote
Administrators Nabeel Posted January 10, 2018 Administrators Report Posted January 10, 2018 5 hours ago, Michael2015 said: im having massive issue Ok? Quote
IrfaanKhan Posted January 10, 2018 Author Report Posted January 10, 2018 (edited) Guys, 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 AddHandler application/x-httpd-php70 .php7 .php5 .php4 .php .php3 .php2 .phtm New Look https://prntscr.com/hyfq8h hope this will help some people. Edited January 10, 2018 by IrfaanKhan 1 Quote
Administrators Nabeel Posted January 10, 2018 Administrators Report Posted January 10, 2018 13 hours ago, IrfaanKhan said: Guys, 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 AddHandler application/x-httpd-php70 .php7 .php5 .php4 .php .php3 .php2 .phtm New Look https://prntscr.com/hyfq8h hope this will help some people. Yeah, that will depend from host to host. Thanks for sharing it. Quote
William Posted March 31, 2020 Report Posted March 31, 2020 (edited) Hi Nabeel, I get this error while the installer is trying to setup the DB, any ideas? It's on a shared hosting but all pre-requisites are there before getting to the DB phase Appreciated Edited March 31, 2020 by William Quote
BlindPilot Posted April 6, 2020 Report Posted April 6, 2020 Hi Guys, i think i need help to installation. i.ve a rootserver make all the steps in the documentation to install PHPVMS 7. clone the Git repository with these link: Remote-Repository-URL: https://github.com/nabeelio/phpvms.git 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. Thanks for Help And Nabeel thanks for the great work. Quote
Administrators Nabeel Posted April 15, 2020 Administrators Report Posted April 15, 2020 On 3/31/2020 at 8:44 AM, William said: Hi Nabeel, I get this error while the installer is trying to setup the DB, any ideas? It's on a shared hosting but all pre-requisites are there before getting to the DB phase Appreciated Can you try the latest dev? Who's your host? Quote
BlindPilot Posted April 15, 2020 Report Posted April 15, 2020 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. Thankes for Answer. Quote
William Posted April 16, 2020 Report Posted April 16, 2020 10 hours ago, Nabeel said: Can you try the latest dev? Who's your host? Hi Nabeel, thanks for looking into it. I'm on the Beta 3. So I changed PhP on my host to 7.3 and I was able to complete the install without errors. However, now when phpvms loads I am missing the whole CSS. God, I wish I was good enough to find out why by myself 🤪 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.