Browse Forum Podcast
All ThreadsLeaderboard
  1. Discussions

    1. Popular This Week
    2. Popular All Time
    3. Solved
    4. Unsolved
    5. No Replies Yet

mustafaabdujalil's avatar

Cpanel

how can i install package in laravel app on cpanel ?

mustafaabdujalil's avatar
mustafaabdujalil's avatar jlrdw8yrs agoLaravel
1
1
Last reply by jlrdw 8yrs ago
ShamiCanCode's avatar

cpanel

I host a laravel on shared hosting with this error please resolve this me asap' remember static website Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.1.0".

ShamiCanCode's avatar
ShamiCanCode's avatar ShamiCanCo...3yrs agoLaravel
2
1
Last reply by ShamiCanCode 3yrs ago
ShamiCanCode's avatar

CPANEL

I have two websites domain in godaddy like abc.com xyz.co.uk And now I buy one hosting from Namecheap Stellar package which says you can host three websites Now I want to use this one hosting to host both websites How can I achieve this?

ShamiCanCode's avatar
ShamiCanCode's avatar Sinnbeck3yrs agoLaravel
13
1
Last reply by Sinnbeck 3yrs ago
anmol's avatar

cpanel

i am editing my question.what is the valid php version for laravel 5.3 becuase if i change it to 7.0 and 5.6 it starts showing a white blank page.and in the error logs it showsphp version error.and when i change it back to 5.5 website shows a 500 error and logs says permission error which i have already changed to (755).can't get over it.

anmol's avatar
anmol's avatar jlrdw9yrs agoGeneral
5
1
Last reply by jlrdw 9yrs ago
ShFarhan767's avatar

After Upload on Cpanel Error

I am using Laravel 12 with the Vue starter kit. This project is working perfectly locally, but when I upload it to my cPanel subdomain, it shows this error. This page isn’t working. my.domainname.com is currently unable to handle this request. HTTP ERROR 500 I am uploading first, I build the project, then zip the project without node_modules & test folder. After that, I zip

ShFarhan767's avatar
ShFarhan767's avatar ShFarhan76...11mos agoLaravel
4
1
Last reply by ShFarhan767 11mos ago
nyahera's avatar

React App on mobile devices not fetching data from laravel 11 api on main domain in my cpanel but works just fine on subdomain.

Am having an issue with my react app trying to fetch data from laravel 11 backend, everything seems to work fine except on production and on mobile device, when I upload the project on my main domain in cpanel I cant fetch data from database when using mobile device, but when I upload the same project to a subdomain everything works fine on my mobile device. what could be the i

nyahera's avatar
nyahera's avatar nyahera1yr agoGeneral
2
1
Last reply by nyahera 1yr ago
virus379's avatar

Error serving routes of subdomain on cpanel Laravel 11

I developed Laravel 11 website. I have subdomain for admin panel this is my routes/web.php file: Route::domain('admin.domain')->name('admin.')->group( function () { Route::get('/', 'index')->name('login.index'); Route::get('/login', 'index')->name('login.show'); }); On my localhost all works fine, but when I uploaded my project to cpanel an

virus379's avatar
virus379's avatar im-nazmul1yr agoLaravel
2
1
Last reply by im-nazmul 1yr ago
Muthinicharlie's avatar

Laravel 11 Cpanel Mysql connection Bug

Hello, I created a website and I uploaded it to my cpanel account, it is working well but there is this bug which keeps appearing when I am interacting with the website, it can appear on any page: " the host localhost is not allowed to connect to this maria db server" But upon refreshing the page the error goes away, I have contacted my web hosting service provider su

Muthinicharlie's avatar
Muthinicharlie's avatar Muthinicha...1yr agoLaravel
5
1
Last reply by Muthinicharlie 1yr ago
blacknet's avatar

inertiajs with vue website not visual in production in cPanel hosting

i've build using npm run build and host in cPanel but it shows my page location not found. here is my app.js file code import { createApp, h } from 'vue' import { Head, Link, createInertiaApp } from '@inertiajs/vue3' import Alink from './Shared/Alink.vue'; import ImageProcess from './Shared/ImageProcess.vue'; import Pagination from './Shared/Pagination.vue'; import {layout

blacknet's avatar
blacknet's avatar blacknet2yrs agoInertia
2
1
Last reply by blacknet 2yrs ago
Sandile's avatar

Add Laravel breeze to existing project on cpanel

How do I install Laravel Breeze into Cpanel Existing Project

Sandile's avatar
Sandile's avatar Sandile2yrs agoLaravel
6
1
Last reply by Sandile 2yrs ago
kokleng's avatar

Laravel with Cpanel

Is it any way to do this directly from code in laravel? Create Sub domain and directory Create Database Create Database User Create Database User Password Set all privileges to Database User Setup Database User to Database cd to directory > can create some file, write file, git clone , migrate, seeder ......etc. I am so lazy to manually the same things again and again in c

kokleng's avatar
kokleng's avatar Braunson2yrs agoLaravel
1
1
Last reply by Braunson 2yrs ago
Headpetrol's avatar

Cpanel Laravel 10 refresh not working

Hi guys I have uploaded my Laravel 10 project to shared hosting that uses Cpanel. Today I added a new route and went to the terminal I have access and entered php artisan optimize:clear and everything was ok. The problem is that when I got to my new route it says error 404. Has anyone had same problem and how did you solve it

Headpetrol's avatar
Headpetrol's avatar Snapey2yrs agoLaravel
1
1
Last reply by Snapey 2yrs ago
Respect's avatar

git pull in laravel app in cpanel updated commit but does not update files

git pull in laravel app in cpanel updated commit but does not update files in local git push origin master in cpanel ssh git pull origin master in cpanel ssh git log show updated commit but files not updated

Respect's avatar
Respect's avatar andreigirn...2yrs agoLaravel
28
1
Last reply by andreigirnet96 2yrs ago
Nihir's avatar

How to stop shedule work in cpanel?

Hi, Folks I scheduled the work in Cpanel a long time ago but now I have to stop that process so how can I do that? & I don't have access to the terminal or SSH. Do you have any idea how can I do it manually?

Nihir's avatar
Nihir's avatar martinbean2yrs agoLaravel
4
1
Last reply by martinbean 2yrs ago
suddy's avatar

Choosing a free alternative for CPanel.

Hi, I have a good experience in Linux but I'm new at DevOps stuff like performance, defending DDoS, high uptime & ... I don't want use any paid server control panel like cPanel or DirectAdmin, even cracked version. First because I don't have enough money, second because my beautiful country is under US sanctions and we don't have access to almost all of paid services. Somet

suddy's avatar
suddy's avatar suddy2yrs agoDevOps
0
1
____wahed____'s avatar

Upload laravel project + inertia react to cpanel

And now I want to host this on Cpanel but I'm facing a problem. I put the project in public_html and modified the urls in index.php. This page isn’t working. subdomain.myDomain.com is currently unable to handle this request. HTTP ERROR 500

____wahed____'s avatar
____wahed____'s avatar jlrdw2yrs agoInertia
5
1
Last reply by jlrdw 2yrs ago
alifallahrn's avatar

Filament 404 error on Cpanel shared host

Hi there, My project was functioning correctly on my local environment, but when I deployed it on the Cpanel shared host, the /admin page was giving a 404 error. I realized that it wasn't detecting the service providers (as I had experienced in previous projects). So, I added these service providers to the list of providers in the config/app.php file: Filament\FilamentServicePr

alifallahrn's avatar
alifallahrn's avatar afshar_mn1yr agoFilament
3
1
Last reply by afshar_mn 1yr ago
RaoUsman's avatar

Laravel 10 project deploy in Cpanel

Hi, guys, i need help in deploying the laravel project in Cpanel as I know how to develop a site in laravel on local host but I don't know how to publish it in Cpanel, anyone who can help me to learn how to deploy.

RaoUsman's avatar
RaoUsman's avatar winvala2yrs agoLaravel
1
1
Last reply by winvala 2yrs ago
armancs's avatar

Help Needed with Laravel Website Deployment on cPanel Hosting

Hello everyone, I hope you're all doing well. I'm currently in the process of deploying our Laravel website to cPanel hosting, and I'm encountering an issue that I could use some help with. Deployment Issue Description: After completing the build and deployment process, I've come across two scenarios: When the "hot" file exists, the website doesn't load properly, incl

armancs's avatar
armancs's avatar armancs2yrs agoGeneral
18
1
Last reply by armancs 2yrs ago
DKKA's avatar

Laravel API deployment on cPanel

Can anyone help by sending a resource for deploying a Laravel API via cPanel?

DKKA's avatar
DKKA's avatar DKKA2yrs agoLaravel
3
1
Last reply by DKKA 2yrs ago
swapnilajspire's avatar

cron job is not working in cpanel for subdomain?

I am trying to run cron job on cpanel and my project is in laravel ... I have hosted that project on subdomain when I try to add path but it is not working. usr/local/bin/ea-php81 /home/abc/public_html/crm.abc.in/ artisan notifications:send and i checked the logs it throws command not found error

swapnilajspire's avatar
swapnilajspire's avatar swapnilajs...3yrs agoLaravel
3
3
Last reply by swapnilajspire 3yrs ago
Sharim's avatar

Failed to Send Emails From My Laravel Application Using Cpanel

I'm trying to send 2 emails when user will submit the contact form. 1 should be sent to the user email & the other should be sent to my own email. My .env file look like this: MAIL_MAILER=sendmail MAIL_HOST=smtp.gmail.com MAIL_PORT=465 MAIL_USERNAME=m.s***********@gmail.com MAIL_PASSWORD='************' MAIL_ENCRYPTION=tls MAIL_FROM_ADDRESS=m.s***********@gmail.com MAIL_FROM

Sharim's avatar
Sharim's avatar Sharim3yrs agoLaravel
2
1
Last reply by Sharim 3yrs ago
SpidaWeb's avatar

Some Laravel Codes/Function/Method are not working in cPanel

I am new to web development and I have built a web application using Laravel. I am currently trying to deploy the project using Starter GoDaddy cPanel and using the primary domain. I have uploaded the project files inside /public_html. Initially, it returned a "403 Forbidden" error, but I found a solution by creating a new .htaccess file in the root (public_html). The

SpidaWeb's avatar
SpidaWeb's avatar Snapey3yrs agoGeneral
5
1
Last reply by Snapey 3yrs ago
Dave Wize's avatar

too many redirects - when serving an app downlaoded from cPanel

I downloaded a laravel 5.2 application from a cpanel and I need to work on it but I can't get it to load because it gives an error when serving - too many redirects

Dave Wize's avatar
Dave Wize's avatar LaryAI3yrs agoGeneral
1
1
Last reply by LaryAI 3yrs ago
tariq_jubair's avatar

PHP Dependency Error in cPanel: Laravel 9

Hi guys, i am new to Laravel and working in a project where i have used Laravel 9 with PHP 8.1.0. In localhost it works fine, i have used most common packages and payment gateways. Everything seems fine. I have deployed this in client hosting (from Namecheap) with and used common php 8.1 from cPanel PHP manager. It seems working good. The problem is when i deployed same project

tariq_jubair's avatar
tariq_jubair's avatar abd_wazzan3yrs agoPHP
7
1
Last reply by abd_wazzan 3yrs ago
suzayet's avatar

breeze-next deploy errors in the cPanel. Error occur when i run npm run build.

I have built a restful API application using https://github.com/laravel/breeze-next with laravel breeze API backend. Now, I went to deploy it in Cpanel. I have deployed the backend. But, this https://github.com/laravel/breeze-next was not an npm run build. Occur huge error. Please suggest me solution to deploy this https://github.com/laravel/breeze-next frontend. #chatGPT is s

suzayet's avatar
suzayet's avatar suzayet3yrs agoReact
3
1
Last reply by suzayet 3yrs ago
mrafiqkhan's avatar

Vite manifest not found on cpanel

Hi, I have built a test web app using Laravel and Vue after "npm run build" when I deploy it on cpanel it still throws the "Vite manifest not found error"

mrafiqkhan's avatar
mrafiqkhan's avatar shaungbhon...3yrs agoLaravel
2
1
Last reply by shaungbhone 3yrs ago
ShamiCanCode's avatar

Github with cpanel

I sync GitHub with cpanel using FTP account now how do I download the vendor folder and env

ShamiCanCode's avatar
ShamiCanCode's avatar ulisesdev3yrs agoLaravel
4
1
Last reply by ulisesdev 3yrs ago
eggplantSword's avatar

Tenancy for Laravel setup on cPanel

How can I correctly configure this library https://tenancyforlaravel.com/docs/v3/introduction/ to work on a dedicated server? I uploaded my project but when I try to create a tenant it gets stuck and never completes it. I think it's getting stuck when trying to create the new database. I created my MySQL db along with a user that I added all permissions (I did this directly fro

eggplantSword's avatar
eggplantSword's avatar msslgomez3yrs agoServers
2
1
Last reply by msslgomez 3yrs ago
rohansinghrawat's avatar

php fileInfo must be installed/enabled to use intervention image error in cpanel

I was using my php 7.2 version for my project and there is fileinfo extension installed but when i switched to 7.3 php version there is no fileinfo so how to enable fileInfo for particular version as there is no such option in my cpanel . So is there any method to install fileinfo using command line for particular php version using cpanel ?

rohansinghrawat's avatar
rohansinghrawat's avatar jlrdw3yrs agoServers
7
1
Last reply by jlrdw 3yrs ago
SimonAngatia's avatar

Is there a way I can run laravel-websockets on cpanel?

Hey guys, I have application that uses https://beyondco.de/docs/laravel-websockets/getting-started/introduction websockets package for websockets. It runs very well on the localhost. However, I have tried to set it up on the cpanel but there are very limited resources that talk about how to do it. Is there a way we could set it up on the cpanel? My server is a VPS with Cpanel i

SimonAngatia's avatar
SimonAngatia's avatar jlrdw3yrs agoLaravel
1
1
Last reply by jlrdw 3yrs ago
threefifty's avatar

Laravel command fails on cPanel only

Hey guys, I have a command where I find some models and send emails. I'm not gonna post the whole code but simply it looks like this. Log::info('Daily Late Requests Check Executed!'); $newRequests=ModelsRequest::where("status","pending")->get(); foreach ($newRequests as $request){ Http::get('url', [

threefifty's avatar
threefifty's avatar Nakov3yrs agoLaravel
1
1
Last reply by Nakov 3yrs ago
rohansinghrawat's avatar

Connecting with cpanel gives [email protected]: Permission denied (publickey,gssapi-keyex,gssapi-with-mic)

I am connecting my server into my local machine with ssh so what i did so far , generated one key pair in my cpanel after that i picked both these keys and stored in my .ssh folder of my local machine as id_rsa_vm(private key) id_rsa_vm.pub(public key) now the problem is when i am trying to connect with my server i am getting this error i have some other keys too as shown in

rohansinghrawat's avatar
rohansinghrawat's avatar rohansingh...3yrs agoGeneral
0
1
AliMosbah's avatar

how to run Vite & Inertia SSR server in cpanel !!

Hi guys I built a project using Laravel 9 Asset Bundling (Vite) & InertiaJs I want to publish the project on a server with a Cpanel With Server-side Rendering (SSR). Any Help! Thank you

AliMosbah's avatar
AliMosbah's avatar vincent150...3yrs agoVite
3
1
Last reply by vincent15000 3yrs ago
johnDoe220's avatar

Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.1.0". in cpanel

hi i use cpanel and centos,and installed php 8.0.5 I am currently getting this error and this is my php version in the composer.json file ^8.1.0 give to me this error Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.1.0".

johnDoe220's avatar
johnDoe220's avatar jlrdw3yrs agoPHP
3
1
Last reply by jlrdw 3yrs ago
ManojB's avatar

Laravel - Vite project Failing to host in Cpanel hosting service

Hi I am trying to host my laravel project to Cpanel hosting service but getting 404() error. It works completely fine in my localhost. I modified .htaccess to below but no luck: <IfModule mod_rewrite.c> <IfModule mod_negotiation.c> Options -MultiViews -Indexes </IfModule> RewriteEngine On # Handle Authorization Header RewriteCond %{HTTP:Authorization} . Rewri

ManojB's avatar
ManojB's avatar ManojB3yrs agoLaravel
2
1
Last reply by ManojB 3yrs ago
Friedrich's avatar

cPanel image upload

Can someone know how to upload image on laravel project in cPanel in my local it showed properly but in development the image wont showing i guess because of storage link was not recognizable by cPanel help me guys

Friedrich's avatar
Friedrich's avatar Friedrich3yrs agoLaravel
2
1
Last reply by Friedrich 3yrs ago
danielw's avatar

Cpanel Envoy deployment

Running into an issue with envoy deployment to a subfolder public_html/app cPanel domain is pointing to public_html/app/current/public I have tried adjusting where the directory path is and assigning appropriate .htaccess directives, but the server continues to show the folders, not the application rendering. Any suggestions?

danielw's avatar
danielw's avatar Snapey3yrs agoEnvoyer
3
1
Last reply by Snapey 3yrs ago
Lara_Love's avatar

how can we add column to database on host cpanel

Hello how can to add column to table that is on host cpanel ? can we add column in phpmyadmin ? it's safe ?

Lara_Love's avatar
Lara_Love's avatar LoverToHel...3yrs agoLaravel
9
1
Last reply by LoverToHelp 3yrs ago
Lara_Love's avatar

upload mysql database to hosting cpanel but it has error

i want upload my mysql database to database hosting cpanel but it has error Error Static analysis: 11 errors were found during analysis. Unexpected character. (near "{" at position 345) Unexpected beginning of statement. (near "doctype" at position 2) Unexpected beginning of statement. (near "html" at position 10) Unexpected begi

Lara_Love's avatar
Lara_Love's avatar Sinnbeck3yrs agoLaravel
8
1
Last reply by Sinnbeck 3yrs ago
iamsubingyawali's avatar

Storage symlink doesn't work with Laravel and Vue in Namecheap CPanel (LiteSpeed)

I am trying to access my image files stored inside storage/app/public/subfolder/ using symlink inside /public folder in my Laravel app. Everything works fine in my local setup and also in Jelastic Apache deployment, but it doesn't seem to work in CPanel with LiteSpeed. I am trying to access the files using the link /storage/subfolder/image.png but it is not accessible on CPanel

iamsubingyawali's avatar
iamsubingyawali's avatar iamsubingy...3yrs agoLaravel
2
1
Last reply by iamsubingyawali 3yrs ago
Owaiz_Yusufi's avatar

How can I manually upload my Laravel project on cpanel in subfolder directory??

I want to upload my laravel project on cpanel inside app directory https://mydomain.com/app/ I have search and got https://stackoverflow.com/questions/35461322/upload-laravel-5-to-server-subfolder https://stackoverflow.com/questions/56408854/how-to-upload-the-laravel-project-on-cpanel Note: Wordpress is installed in my main domain -> https://mydomain.com/ I have build my

Owaiz_Yusufi's avatar
Owaiz_Yusufi's avatar dysentry303yrs agoLaravel
3
1
Last reply by dysentry30 3yrs ago
samehdev's avatar

websockets - How can i increase Open Connection Limit on Ubuntu v20.04.4 and cpanel?

Hi everyone, Is there any documentation for how to increase Open Connection Limit on Ubuntu v20.04.4 and cpanel ? I tried https://beyondco.de/docs/laravel-websockets/faq/deploying#open-connection-limit But that didn't work Its limit is only 131 my vps : 6 vCPU Cores 16 GB RAM 100 GB NVMe 32 TB Traffic 600 Mbit/s Connection Is there anything I can do to increase the limit?

samehdev's avatar
samehdev's avatar samehdev3yrs agoLaravel
6
1
Last reply by samehdev 3yrs ago
AlexSteele's avatar

cPanel woes

Hi Everyone. I have a laravel app that works on the test server, and works on a cPanel install that is very similar to a 2nd cPanel install. The 2nd cpanel install does does not seem to allow the jetstream authentication framework with a Livewire stack to work. no errors, just simply drops us back to the login page, with no movement forward. there is no logging of error, t

AlexSteele's avatar
AlexSteele's avatar AlexSteele3yrs agoCode Review
3
1
Last reply by AlexSteele 3yrs ago
prakash2raj's avatar

How to get rid of calling Schedule:work command everytime from Cpanel

I am running a laravel project on shared cpanel and I have some automation work. So I am using a artisan command Schedule:wor command via terminal but this is painful after every 8-10 hours I need to run this command again and again. if I don't re-run this command via my cpanel terminal it stops working. How can I get rid of this by running it every time? I did try also cron jo

prakash2raj's avatar
prakash2raj's avatar prakash2ra...3yrs agoLaravel
2
1
Last reply by prakash2raj 3yrs ago
CleoCTech's avatar

Inertia cannot authenticate(even with correct credentials) when hosted in cPanel

Jetstream Stack: Inertia Laravel Version: 9.19 PHP Version: 8.0.2 When trying to login I am returned to the login page again. I can get the user being returned from the console then back to login page. If I enter a wrong email or password, it returns with an error. However, the application logs in well in my local machine, the problem is expereinced in cPanel host space.

CleoCTech's avatar
CleoCTech's avatar CleoCTech3yrs agoInertia
3
1
Last reply by CleoCTech 3yrs ago
sowmik's avatar

Laravel passport works perfect on localhost in different ports but Client authentication failed on cpanel hosting production

Passport Version: 10.4.1 Laravel Version: 9.19 PHP Version: 8.1 Database Driver & Version: libmysql - mysqlnd 7.4.30 Description: I have my both oauth and consumer server live on a same machine and in different subdomains (it's a cpanel shared hosting). My both application works well on localhost in different ports but when I deploy the oauth server returns the followin

sowmik's avatar
sowmik's avatar sowmik3yrs agoCode Review
0
1
shayan_sahrayi's avatar

instal package in laravel while website in deploye and run in cpanel

hi.i want to instal packadge ckeditor in my larvel project,but i have once probelm this website is uploded in cpanel host,and this project working i cant re upload agin this web site,how to instal packadge in cpenl?

shayan_sahrayi's avatar
shayan_sahrayi's avatar folium4yrs agoLaravel
1
1
Last reply by folium 4yrs ago
resultoffice's avatar

How to install laravel 9 in addon domain on cpanel

I have a addon domain on cpanel, inside the addon domain I created a folder lsc containing my laravel installation this way domainname/laravelfolder, the problem is laravel the laravel folder is taken me to lsc/public and I cant seem to view other pages the error is: 404 Not Found The resource requested could not be found on this server! what can I do to solve this I have al

resultoffice's avatar
resultoffice's avatar resultoffi...4yrs agoLaravel
1
1
iftekhs's avatar

How to make deploy script using cpanel.

Hi, you know there is a deploy script in laravel forge that runs when a project is deployed? Can I do something like this using my Cpanel? like write my own deploy script?

iftekhs's avatar
iftekhs's avatar iftekhs4yrs agoCode Review
5
1
Last reply by iftekhs 4yrs ago

Want us to email you occasionally with Laracasts news?

Nine out of ten doctors recommend Laracasts over competing brands. Come inside, see for yourself, and massively level up your development skills in the process.

Learn
BrowseSeriesCreatorSeriesLaravel PathLarabitsPlayground
Discuss
ForumPodcastSupport
Extras
Gift CertificatesApparelFAQiOS AppTerms
Social
X(Twitter)TikTokYoutube

© Laracasts 2026. All rights reserved. Yes, all of them. That means you, Todd.

Proudly hosted with Laravel Forge and DigitalOcean.

Want us to email you occasionally with Laracasts news?

Nine out of ten doctors recommend Laracasts over competing brands. Come inside, see for yourself, and massively level up your development skills in the process.

Learn
BrowseSeriesCreatorSeriesLaravel PathLarabitsPlayground
Discuss
ForumPodcastSupport
Extras
Gift CertificatesApparelFAQiOS AppTerms
Social
X(Twitter)TikTokYoutube

© Laracasts 2026. All rights reserved. Yes, all of them. That means you, Todd.

Proudly hosted with Laravel Forge and DigitalOcean.