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
198
votes
14 answers

#1273 - Unknown collation: 'utf8mb4_unicode_ci' cPanel

I have a WordPress database on my local machine that I want to transfer to a hosted phpMyAdmin on cPanel. However, when I try to import the database into the environment, I keep getting this error: #1273 - Unknown collation: 'utf8mb4_unicode_ci' I…
Wairimu Murigi
  • 2,157
  • 2
  • 15
  • 19
112
votes
13 answers

Run a PHP file in a cron job using CPanel

I am just trying to run a PHP script using a cron job within CPanel - is this the correct syntax: /usr/bin/php -q /home/username/public_html/cron/cron.php >/dev/null I am not getting any email notifications stating a cron has been completed, do I…
Zabs
  • 13,852
  • 45
  • 173
  • 297
89
votes
3 answers

Run CRON job everyday at specific time

Right now i am running my cron job everyday at 3.00PM 0 15 * * * But I want to run my cron job twice in a day. 10.30AM and 2.30PM 0 30 10 * * * I believe this command will run at 10.30AM. How should i run it in 2.30PM?
Matarishvan
  • 2,382
  • 3
  • 38
  • 68
88
votes
11 answers

Using CRON jobs to visit url?

I have a web application that has to perform a repeated tasks, Sending messages and alerts, I, already, use a script page do those tasks when it loaded in the browser i.e http://example.com/tasks.php and I included it by the mean of iframe in every…
SaidbakR
  • 13,303
  • 20
  • 101
  • 195
71
votes
1 answer

How to create tar.gz archive file in Windows?

How to create tar.gz archive of my files in Windows to upload and extract in cPanel?
Shamas
  • 1,027
  • 2
  • 10
  • 10
63
votes
3 answers

How to set a cron job to run every 3 hours

Is this the correct way for setting a cron job to run every 3 hours? After setting it this way, cron is executing the command every minute.
consigliere
  • 957
  • 2
  • 12
  • 21
56
votes
5 answers

onchange file input change img src and change image color

onchange event is not working. What am I supposed to do to get result on same page. I dont want to redirect to any other page to upload image. Is this issue is because of opencart? I dont know if it is correct to write like this in cpanel. I am…
Jill
  • 655
  • 1
  • 6
  • 14
48
votes
5 answers

what is the use of "~" tilde in url?

what is the use of ~ tilde in URL? I am using cPanel, and have link including tilde, why is tilde there? When we buy server space but do not have dns or don't want to use it for development purposes,we use the like http://serverip/~foldername.
amolv
  • 978
  • 1
  • 8
  • 20
39
votes
6 answers

#1227 - Access denied; you need (at least one of) the SUPER privilege(s) for this operation

Hello, I am currently having an issue with MySQL! What's going wrong here? I am a cPanel user, and yes I have searched this and found no definitive answers. It appears this is more specific than other people with the same error codes issues. Please…
Lachie
  • 1,321
  • 1
  • 10
  • 26
36
votes
6 answers

Run node.js on cpanel hosting server

It is a simple node.js code. var http = require('http'); http.createServer(function(req, res) { res.writeHead(200, { 'Content-Type' : 'text/plain'}); res.end('Hello World!'); }).listen(8080); I uploaded it on cpanel hosting server and…
bb14816
  • 473
  • 1
  • 5
  • 14
32
votes
15 answers

Adding private git repo via cPanel

I'm trying to add a private git repo onto cPanel but have ran into permission issues and not sure where I'm going wrong I have generated the SSH keys in cPanel at the 'SSH Access' section. I then added the key onto the private repo in git at the…
NoDachi
  • 874
  • 4
  • 10
  • 20
27
votes
8 answers

How to access the php.ini from cPanel?

I want to change the limit of the PHP POST array from 1000 to 6000. Is there any way to do that? I searched it and found that I should change some variables in php.ini but the problem is that I did not find the directory of the file in my…
Basel
  • 1,305
  • 7
  • 25
  • 34
26
votes
4 answers

PHP Warning: Xdebug MUST be loaded as a Zend extension

Here's the error I'm getting: PHP Warning: Xdebug MUST be loaded as a Zend extension in Unknown on line 0 PHP Warning: Module 'xdebug' already loaded in Unknown on line 0 This is from my php.ini file: ; Directory in which the loadable extensions…
Username
  • 713
  • 2
  • 7
  • 15
24
votes
4 answers

Subdomains leading to Codeigniter Controllers?

This seems like a common request, but I haven't been able to find definitive instructions on doing something like this. I'd like a subdomain to trigger a certain controller on my CI installation. For example: students.mysite.com : would open…
Keith
  • 4,144
  • 7
  • 25
  • 43
21
votes
5 answers

The database created in CPanel does not show in phpmyadmin. Any ideas?

The problem workflow: 1 - Open CPanel on your web browser, 2 - Login to CPanel, 3 - Mysql databases -> Create a database, 4 - Create a user, 5 - Get the confirmation that db and user created and assigned properly, 6 - Return to Cpanel…
erol yeniaras
  • 3,701
  • 2
  • 22
  • 40
1
2 3
99 100