Questions tagged [cpanel]

Only PROGRAMMING related questions are on-topic. General configuration questions are off-topic. cPanel is a graphical control panel for configuring some Linux-based web hosting.

References:

4674 questions
189
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,057
  • 2
  • 12
  • 17
103
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
  • 12,494
  • 42
  • 150
  • 262
81
votes
10 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
  • 11,955
  • 16
  • 89
  • 173
67
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,108
  • 3
  • 30
  • 61
63
votes
13 answers

How to change public folder to public_html in laravel 5

I'm using a shared hosting which uses cPanel as its control panel and within the cPanel public_html is the default root directory, because of this I can't get my Laravel application work properly. Is there any way to make Laravel use public_html…
Ravexina
  • 1,522
  • 1
  • 18
  • 33
59
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
  • 917
  • 1
  • 12
  • 21
55
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
  • 867
  • 2
  • 9
  • 10
42
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
  • 918
  • 1
  • 8
  • 20
41
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
  • 505
  • 1
  • 5
  • 12
27
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,203
  • 1
  • 9
  • 26
25
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
  • 350
  • 1
  • 4
  • 12
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
  • 3,754
  • 7
  • 23
  • 40
23
votes
3 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
  • 643
  • 2
  • 6
  • 14
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,604
  • 3
  • 26
  • 46
20
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,463
  • 2
  • 18
  • 37
1
2 3
99 100