Skip to main content

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.

112 votes
14 answers
245k views

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 ...
Zabs's user avatar
  • 14.1k
88 votes
11 answers
158k views

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 ...
SaidbakR's user avatar
  • 13.4k
3 votes
4 answers
4k views

Python flask app routing in cpanel: can only access root url

I have a python app set up in cPanel. I have set the app URL to backend and when I query mydomain.com/backend/ it gives back the app's root view (which is just an html "hello there"). The ...
Vladimir's user avatar
  • 403
198 votes
14 answers
409k views

#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: #...
Wairimu Murigi's user avatar
2 votes
3 answers
10k views

How to solve Error 404 when deploying laravel project to Cpanel?

I'm trying to deploy my laravel (Laravel Framework 7.28.3) to Cpanel, but got a 404 error. I uploaded my project into /public_html, modified the index.php file to point to the correct files (as below)....
Thanh Nguyen's user avatar
48 votes
5 answers
62k views

what is the use of "~" tilde in url? [closed]

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,...
amolv's user avatar
  • 978
35 votes
6 answers
127k views

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); ...
bb14816's user avatar
  • 473
93 votes
3 answers
246k views

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 ...
Matarishvan's user avatar
  • 2,432
60 votes
5 answers
247k views

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 ...
Jill's user avatar
  • 693
16 votes
7 answers
52k views

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 ...
Seunope's user avatar
  • 4,814
4 votes
6 answers
34k views

trying to turn on allow_url_fopen by putting php.ini in wordpress root does not work

ok so, Im building a fancy pants wordpress theme and part of the theme has php getting image widths and using those numbers to resize page elements. It works fine on my local machine, but when I put ...
rugbert's user avatar
  • 12.3k
21 votes
12 answers
91k views

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

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 ...
jr3000's user avatar
  • 428
15 votes
4 answers
10k views

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/...
MikeCruz13's user avatar
  • 1,254
12 votes
4 answers
38k views

How to upload laravel project on subdomain?

I want to host a laravel project in a subdomain.. For that first First I create a subdomain name registraion. And inside the publicm_html/registraion i upload the project file. But when I see the ...
Hola's user avatar
  • 2,223
6 votes
5 answers
14k views

Cron jobs in codeigniter

I am trying to do a cron job with a site built in CodeIgniter - I've got access to the CPanel cron feature can anyone suggest the best way to setup a cron job using CPanel? I am using CodIgniter so ...
Zabs's user avatar
  • 14.1k

15 30 50 per page
1
2 3 4 5
16