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.
Questions tagged [cpanel]
5342 questions
4
votes
1 answer
Weird SSL certificate error on a domain that previously worked, DDoS related?
The domain in question is https://prophpbb.com
The certificate previously worked without issue. There have been no recent changes or cPanel updates. When trying to debug, the ssl cert being requested is clearly not what I have installed. In fact, it…

mdvaldosta
- 291
- 2
- 6
- 19
4
votes
3 answers
404 error in / login Laravel
I migrate a web page made in Laravel to a server witch Cpanel,
all the routes are working find except the Auths like /login.
When you try to enter there route it appear a 404 error.
Here is the page: http://elgloborojocatalogos.com.mx/
And my…

Ana María González
- 115
- 1
- 2
- 8
4
votes
5 answers
How to install mod_cloudflare for easyapache 4
I am trying to install mod_cloudflare for Apache using easyapache 4 on cPanel Server. I am running CentOS 7.2.
I have installed mod_cloudflare for EasyApache4 following the instructions under Option 2 here. After running the installer it said…

Kevin Roth
- 338
- 1
- 5
- 14
4
votes
1 answer
Allow cPanel to manage SetEnv parameters
We have a application that makes use of an Apache environment parameter to determine what config it should use. Around 5 instances of the application are is hosted on one cPanel / WHM development server.
We could use the .htaccess to set the right…

Rvanlaak
- 2,971
- 20
- 40
4
votes
1 answer
Run cron job every 2 hours In the X minute
I want to run cron job every 2 hours In the X minute
Example:
every 2 hours In the 24 minute
00:24
02:24
04:24
etc.

محمد حسين
- 63
- 1
- 4
4
votes
2 answers
cPanel cron job, no input file specified?
I've just set up my first cron-jon to run a stock script every night.
Running it manually works fine.
It's stored in /admin/stock_update.php
The command i'm running is /usr/bin/php -q /admin/stock_update.php
But I'm getting emails saying no input…

s.poole
- 131
- 2
- 17
4
votes
2 answers
Append new lines to cronjob's output log
Right now I append my php script's output to a logfile. Unfortunately it writes everything in one line. How do I need to change my cron command to append every execution log in a new line?
My current cronjob looks like this:
/usr/local/bin/php -q…

kentor
- 16,553
- 20
- 86
- 144
4
votes
2 answers
how to download file from cpanel account to another cpanel account
I trying to download a file from SSH of cpanel account that is hosted in another cpanel account, but this file can be downloaded only if I am logged in source cpanel account, I am connecting with SSH on WinCSP client, and run this command but return…

xzegga
- 3,051
- 3
- 25
- 45
4
votes
1 answer
Different smarthosts for different domains with different credentials
Hello I have two (or maybe more later) domains:
domain1
domain2
I want to configure Exim (cPanel) to use SendGrid's or Mailgun SMTP servers, currently I'm trying with this config in Exim:
**Section: TRANSPORTSTART**
domain1_smtp:
driver = smtp
hosts…

eXtreme
- 244
- 3
- 18
4
votes
2 answers
Calling Cpanel UAPI method
i have the following simple script to list the ftp accounts
but i am unable to get it to work as i have the following error as soon as it tries to call the constructor
include '/usr/local/cpanel/php/cpanel.php';
$cpanel = new CPANEL(); // Connect…

Muhammad Omer Aslam
- 22,976
- 9
- 42
- 68
4
votes
1 answer
en_us.UTF8 collation for non-English languages
I am trying the PostgreSQL database for the first time, after having worked for some time with MySQL. My environment is a shared hosting with cPanel and phpPgAdmin. One thing that puzzles me is the database collation. My hosting's cPanel always…

texnic
- 3,959
- 4
- 42
- 75
4
votes
1 answer
Apache and Nginx together, why?
I have installed a popular control panel service called VestaCP (https://vestacp.com/) for my remote linux server.
By default it installed both apache and nginx, but despite my best efforts I still can't work out why I need both. I'm familiar with…

hedgehog90
- 1,402
- 19
- 37
4
votes
3 answers
PHP session times out after only a few minutes
We have a PHP app (SilverStripe) on a cPanel LAMP shared hosting server. The CMS user is losing their session every couple of minutes. Here are some session settings based on phpinfo() on the hosting platform:
session.gc_maxlifetime =…

Dave
- 515
- 5
- 18
4
votes
2 answers
server does not lookup on www or other subdomains
I have some problems, and I think that it's for DNS Records.
I can't open my website by www. or access any sub-domain.
These are my DNS settings:
example.de. 14400 IN A **.***.***.***
mail.example.de. 14400 IN CNAME example.de…

Nabi
- 764
- 1
- 10
- 22
4
votes
2 answers
mysql table not decreased in size after deleting rows
I deleted 1M rows from a database table. Surprisingly its size did not decrease. Then I have tried: FLUSH TABLES; but whey I ran this statement on phpMyAdmin of my cPanel then I encountered below error:
#1227 - Access denied; you need (at least one…

VSB
- 9,825
- 16
- 72
- 145