Just wondering if any one has gotten this to work with Sentora or knows of any issues with doing so?
Composer + Laravel
|
5050 might be able to help out there since our site is hosted on Sentora w/ Laravel.
Ok cool will wait and see what he says, on a side note still couldnt get the DNS to work on sentora side
Hi,
I'm not at all a specialist nor even a beginer about laravel. i only sorted out to make the website to work, but I do not know even if there is a "standard" lavarel configuration. The configuration I got from the backup was this:
- I moved all content that was in "root" directory in a directory named "Laravel" - I moved in root directory all files that was present in "public" directory - I protected the new "laravel" directory with a "deny from all" and then adjusted pathes in index.php, and laravel/bootstrap/paths.php file according to the new disposition:
5050
Well I don't think anyone has tried installing composer yet but Laravel itself works in ZPanel (as mentioned by 5050).
Personally I've always used Composer and the Laravel Installer locally on my dev machine and then uploaded the finished project onto the server. I can't see any problems with installing and using it on a server though I have not tried Code: curl -sS https://getcomposer.org/installer | php Before posting, update your profile with your OS, Sentora version and server type!
(10-17-2014, 07:12 PM)jacobg830 Wrote: Well I don't think anyone has tried installing composer yet but Laravel itself works in ZPanel (as mentioned by 5050). I second that as well...Laravel works pretty well on ZPanel installations but I haven't tried installing composer on a live ZPanel server. Shouldn't be a problem tho as jacobg830 mentioned above.
Remi - Software Engineer, Sentora Module Developer, Owner, imerLabs
Please mark threads as SOLVED if your problem has been resolved.
Do not PM Staff Members for help unless asked to do so, this is so that others can benefit from your solution. Do a SEARCH before asking in the forums, a solution may already exist.
I had a php.ini problem when I last tried just wanted to see if any one else had tried or come across anything before going ahead again
(10-17-2014, 11:43 PM)Smartay Wrote: I had a php.ini problem when I last tried just wanted to see if any one else had tried or come across anything before going ahead again Perhaps if we know what problem you encountered, we will be able to help.
Remi - Software Engineer, Sentora Module Developer, Owner, imerLabs
Please mark threads as SOLVED if your problem has been resolved.
Do not PM Staff Members for help unless asked to do so, this is so that others can benefit from your solution. Do a SEARCH before asking in the forums, a solution may already exist.
I wasnt after help with that at present as I'm pretty sure I know what it was and how I could fix it plus it was a while ago and cant actually remember. I just was testing the water to see who if any one else had done it.
RE: Composer + Laravel
10-18-2014, 08:34 AM
(This post was last modified: 10-18-2014, 08:37 AM by sosojni.)
Composer works fine with whatever setup you have. It basicly doesn't care what do you use...naked apache/mysql/whatever or panels or whatever. All you have to do is tell him dir where you want your new project to be.
I'm using Composer successfully on Zpanel / Sentora instalations for quet some time now, tho i'm not working with laravel....i'm using yii and yii2. Only "problem" with yii/yii2 is that root of project is not root of web itself, so all you have to do inside sentora is to change root dir for domain. Added this into vhost override: DocumentRoot "/var/zpanel/hostdata/username/public_html/domainroot/web" and that's it. My advice is that you do the same. Just move DocumentRoot to "public" folder and you will have update proof laravel project that works like a charm. VHost override directive in case of Laravel (with assumption that you installed project to root of your domain) would be something like: DocumentRoot "/var/zpanel/hostdata/username/public_html/domainroot/public" No need to temper with project and make your life harder once updates come your way. Thanks given by: Smartay
|
« Next Oldest | Next Newest »
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Install composer | nscloud | 5 | 12 ,416 |
10-02-2017, 06:39 PM Last Post: Me.B |
|
Composer + Flarum | Totte | 1 | 4 ,802 |
04-27-2017, 06:16 PM Last Post: Me.B |
Users browsing this thread: 2 Guest(s)