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
1
vote
1 answer

how to stop a cron job - cpanel

My cron job in my cpanel looks like this cd public_html/Staging/ff; perl sendmail.pl >/dev/null The sendmail.pl looks like this my $php = `php decode.php`; The decode.php looks like this $user = "Hello"; $fh =…
Loura
  • 109
  • 5
  • 18
1
vote
1 answer

php -how to solve Disk quota exceeded with some cpnel issue

When open my web-site in browser I am getting this error Warning: session_start(): open(/tmp/sess_4ac970943e0742367f5435e868cbcd5c, O_RDWR) failed: Disk quota exceeded (122) in /home/beahmer/public_html/oc-includes/osclass/core/Session.php…
Ferrakkem Bhuiyan
  • 2,741
  • 2
  • 22
  • 38
1
vote
0 answers

Apache mod_security blocking country

I used this rule to block country in Mod_security : (I already configured @geoLookup with the maxmide lite database .dat) # Test IP address and block by country code SecRule REMOTE_ADDR "@geoLookup" "phase:1,chain,id:10,drop,log,msg:'Blocking China…
PlusLia
  • 11
  • 2
1
vote
0 answers

Post value $_SERVER['REQUEST_URI'] 403 Forbidden

hi im trying to set up my website. Initial php works very vell. I can get select value from db. When i click submit button im getting Forbidden You don't have permission to access / on this server. error. Submit button usses POST…
Furkan
  • 141
  • 1
  • 13
1
vote
1 answer

Phpmyadmin sql import error, Joomla 2.5

I'm receiving this error #1064 when i try to import the sql i recently exported. This is within phpmyadmin. Joomla site exists on host but the domain expired, I now need to apply a new domain different to the first. No access to Joomla right now.…
DoeJolan
  • 11
  • 1
1
vote
2 answers

Internal Server Error- CPanel hosting

I'm very new and have never hosted a website before. I'm using cPanel and have a php website I've developed using XAMPP. I'm very confused as to how to use cPanel and how to upload my website to work as it did on XAMPP. I uploaded all my files and…
user5166162
  • 156
  • 2
  • 11
1
vote
1 answer

How to log an PHP error_log error message to Apache server error_log?

I am running a VPS server with cPanel on it. I have set up all Apache server errors to log to /usr/local/apache/logs/error_log. Is possible to log error message to Apache error log, instead of user PHP related error_log in…
Alan Kis
  • 1,790
  • 4
  • 24
  • 47
1
vote
0 answers

htaccess, symbolic child from parent folder

I have add-on domains on my cpanel account pointing to, for example: example.com -> /sites/example/live I would like to be able to access /sites/example/development when example.com/development is loaded: example.com/development ->…
akf
  • 23
  • 3
1
vote
1 answer

Regular spikes in server IO

I have a virtual server running on CentOS Linux 6 x64 OS. It uses SSD Accelerated RAID Storage, has 2GB RAM and is Running Drupal 7 on Apache. I have noticed a repeating patter of spikes in the server load. These do not correlate to Cron, backups…
Niccolo
  • 817
  • 1
  • 10
  • 17
1
vote
1 answer

How to connect to mySql database on Web through Local Java App

My requirement is that I need to access the database which is hosted on My Web Site on MySql with CPanel. Now I would like to access the content of that database from local java application which is made up of JFrame. My Question is that how to…
NIket
  • 914
  • 1
  • 6
  • 19
1
vote
2 answers

How to execute "php server.php" in cpanel?

I have websocket based application which requires to run as php server.php. In my local Ubuntu computer I run on terminal as php server.php. And it works without a problem unless I break that up with Ctrl + C So, how can I achive that in live…
tashi
  • 249
  • 1
  • 3
  • 16
1
vote
1 answer

PHP & cPanel: How to prevent bounce when a email is piped into PHP and a error occurs?

Emails are being successfully piped into a PHP script through cPanel email user filtering, but the PHP script have a execution time limit (to prevent DoS). When the time limit error occurs, the email bounces. Althought it is a PHP error what is…
mikl
  • 1,067
  • 1
  • 20
  • 34
1
vote
3 answers

cpanel The uploaded file exceeds the upload_max_filesize directive in php.ini

We just moved our shared hosting from GoDaddy's linux hosting to the new cPanel hosting. I am trying to move over my websites and the wordpress ones work fine, until I try to upload new media. No matter what I do the error is always: The uploaded…
new_frontenddev
  • 173
  • 3
  • 6
  • 20
1
vote
2 answers

Move laravel project to new server

I have an existing laravel (v4) project in one server. Now I want to upload it to a new server. Can anyone explain the steps how to do this? I am very new in Laravel. This is what I have done so far: I have downloaded all the files to my machine…
Imrul.H
  • 5,760
  • 14
  • 55
  • 88
1
vote
0 answers

How to access localhost database from webpage?

I hosted my site on web (using cpanel) and another part of my site is on localhost of my desktop. What I want is when admin updates the data using web that has been updated on my localhost database. For that I want to access database of my…
1 2 3
99
100