PHP-FPM-73-public template

Post Reply
Jurgen71
Posts: 3
Joined: Sat Mar 20, 2021 4:59 pm

Good morning,
I have prepared a vps with debian 10.8.
I have installed myvesta. i tried to run a fresh install of laravel 8.
In "web templates" I have set PHP-FPM-73-public.
but it doesn't work: No input file specified.
I successfully copied the project to the "public_html" folder, but it doesn't seem to find the "index.php" file.
Did I do something wrong with the installation?
Thank you
Gianluca
User avatar
myVesta
Site Admin
Posts: 928
Joined: Fri Jun 19, 2020 9:59 am
Has thanked: 8 times
Been thanked: 6 times

index.php script should be in /public_html/public/ folder, not in /public_html/

in /public_html/ you should have files like package.json and .env
Jurgen71
Posts: 3
Joined: Sat Mar 20, 2021 4:59 pm

Index.php is in the /public_html/public folder and the rest of the files like package.json and .env are in the /public.html folder.

I also tried installing VestaCp on a Debian 9 machine and with the web template "laravel" and the same configuration everything works.
User avatar
myVesta
Site Admin
Posts: 928
Joined: Fri Jun 19, 2020 9:59 am
Has thanked: 8 times
Been thanked: 6 times

You can send me myVesta credentials via Private message, I will take a look.
Jurgen71
Posts: 3
Joined: Sat Mar 20, 2021 4:59 pm

Ok I solved.
In vestacp I created a folder under private and I inserted the laravel project there then I created a symbolic link in the public_html folder pointing to public.
In myvesta this doesn't work.
I tried to move the whole project to the public_html folder and everything seems to work !!

Thank you so much for your availability !!!
seven
Posts: 1
Joined: Mon Jul 19, 2021 12:32 pm

Hi, I setup template to

Code: Select all

PHP-FPM-74-public
but CSS/JS file won't load (404).
Modify nginx template, and works (add public to end path):

Code: Select all

root           /home/{user}/web/{domain}/public_html/public;
Change template php, don't edit nginx profile ?

--- EDIT ---
at bottom side is input to select nginx template :/ my fault sorry :(
Last edited by seven on Mon Jul 19, 2021 1:19 pm, edited 1 time in total.
User avatar
myVesta
Site Admin
Posts: 928
Joined: Fri Jun 19, 2020 9:59 am
Has thanked: 8 times
Been thanked: 6 times

If you are using PHP-FPM-74-public template, you should also use hosting-public or force-https-public template for "Proxy template".
Post Reply