Questions tagged [cpanel]

cPanel is a Linux-based web hosting control panel that provides graphical interface and automation tools to simplify website and server management for website owners and web hosting providers. It offers a range of features such as email and file management, backup and restoration, security, and domain management. Only PROGRAMMING related questions are on-topic. General configuration questions are off-topic.

References:

5342 questions
21
votes
3 answers

Installing git on a cPanel server

I need to install git on cPanel but I am finding a lot of information indicating that this is not a simple process. I have a cPanel/WHM instance on a CentOS distribution and am trying to install git without breaking cPanel. The information I have…
Ali Samii
  • 1,672
  • 4
  • 28
  • 49
20
votes
7 answers

cpanel node.js Can't acquire lock for app: app

i am trying to deploy a node.js app. after creating and installing modules using cpanel interface. when i run script, i get this error: Can't acquire lock for app: app. any idea?
mahdikmg
  • 833
  • 2
  • 6
  • 13
20
votes
12 answers

How to increase Maximum Upload size in cPanel?

I am using cPanel of my website to increase maximum upload file size for wordpress media uploads. I have used the codes(found out from google) for this purpose wp-config.php, .htaccess but nothing is working. In my cPanel, there is no service for…
sana
  • 410
  • 2
  • 6
  • 24
19
votes
3 answers

GIT repo connection failed in cPanel

I am having issue connecting git repo to cpanel. I have added SSH keys to cPanel from git correctly. Sometime repo are connecting and sometime i am getting following issue Error: “/usr/local/cpanel/3rdparty/bin/git” reported error code “128” when…
Umesh Balayar
  • 474
  • 1
  • 5
  • 16
19
votes
3 answers

How to run artisan command schedule:run on hosting server? (Laravel)

I have statusUpdate.php file in the xampp\htdocs\project\app\Console\Commands folder. statusUpdate.php :
Inspire Shahin
  • 414
  • 2
  • 8
  • 24
19
votes
7 answers

Is there any way to upload file directly from URL in filemanager of cPanel

This might be a very common question but i searched lot and finally decided to get some expert advice. I was wondering if someone have uploaded file directly from URL to cPanel file manager. I can upload file from my computer using upload tab in…
Shiva
  • 369
  • 2
  • 3
  • 12
18
votes
4 answers

How to set the default website page through htaccess?

I am currently setting up a website from a client on his hosting account. The website address and for some reason doesn't default to .php files (that is: index.php). If I put index.php and there is no index.html file I receive the following error:…
perpetual_dream
  • 1,046
  • 5
  • 18
  • 51
17
votes
2 answers

PHP: Remote MySQL connections very slow

I have two servers, both running CentOS 5.7 and cPanel-CURRENT. One is x86 and the other is x64. Both are using Apache 2.2.21, PHP 5.3.8 and MySQL 5.1. If I query the local database on any one of the servers, the results are returned instantly. In…
Reado
  • 1,412
  • 5
  • 21
  • 51
17
votes
1 answer

Getting lots of server errors directory index forbidden by Options directive from same referer

I have a load of entries in my web server error log from the same referer. See example below: Cannot serve directory /home/*****/public_html/wp-admin/css/: No matching DirectoryIndex…
Matt
  • 413
  • 1
  • 5
  • 12
16
votes
12 answers

How do I upload a laravel project on cPanel shared hosting?

I am uploading a simple subscription page for my website using cPanel. I uploaded the files to public_html, moved the files from public folder and modify index.php so it points to the application. The PHP version I used to code this application is…
jr3000
  • 368
  • 1
  • 3
  • 17
16
votes
6 answers

How to find and disable MySQL strict mode?

Hello everybody I wanted to find this mysql strict mode for whmcs and disable it but i didn't had a progress I'm a newbie so sry if I didn't mention other things Can anyone help me? I'm working on WHM/Cpanel
Hamed Atae
  • 183
  • 1
  • 2
  • 8
15
votes
3 answers

How to create an Email Account in Cpanel via PHP?

How do I create email accounts with PHP using the xmlapi.php library from cPanel? Note: I need to create more than 1000 email accounts and want to know if this is possible. Thanks.
Mohandass
  • 157
  • 1
  • 1
  • 6
15
votes
8 answers

Laravel Error 503 Service Unavailable Service

Error 503 Service Unavailable Service Unavailable Guru Meditation: XID: 5312211 Varnish cache server I working on cpanel and subdomain but i got this error from laravel project. do you can help me to solve this? I using cpanel and laravel 5.5
Nasser Ali Karimi
  • 4,462
  • 6
  • 34
  • 77
15
votes
6 answers

Laravel 5.2: The Process class relies on proc_open, which is not available on your PHP installation

I use cron job to do some CRUD operation using laravel Task Scheduling. On localhost and on my Share-Hosting server it worked fine for months until recently I keep getting this error when I run cron job on my Share-Hosting server. I did not make any…
Seunope
  • 4,784
  • 2
  • 24
  • 30
15
votes
4 answers

CodeIgniter + Command Line + Cron + Cpanel

SOLVED: Crap... why is it always you figure something out right AFTER you finally decided to ask for help!! If anyone else is having this problem, try running from /usr/local/bin/php instead of /usr/bin/php to get codeigniter to pick up on the URI…
MikeCruz13
  • 1,254
  • 1
  • 10
  • 19