cpanel

Not working shared hosting cPanel cronjob under Codeigniter

前提是你 提交于 2020-01-25 10:13:40
问题 Despite there are many posts with a similar topic, I couldn't find anyone matching my case that I briefly describe here. This is the testing script <?php if (!defined('BASEPATH')) exit('No direct script access allowed'); require 'DashboardBase.php'; class Hello extends CI_Controller { public function message($to = 'World') { echo "Hello {$to}!".PHP_EOL; print "Hello {$to}!".PHP_EOL; log_message('error',"Hello {$to}!".PHP_EOL); } } ?> The web server is under a shared hosting; it is used cPanel

How to add an addon domain to cpanel with same name but different tld?

与世无争的帅哥 提交于 2020-01-17 06:03:46
问题 I have a cpanel account with option for unlimited add-on domains. I have added a domain, say, example.org . For this, cpanel has also created a sub-domain for main hosting domain example.main-domain.com . Now I have purchased another domain example.com . When I try to add it through addon domains option, cpanel gives an error that subdomain example.main-domain.com already exists. Is there a way to add the second domain in this scenario? 回答1: The first part of the subdomain is determined by

Port 80 blocked on cpanel due to phpunit malicious file eval-stdin.php

社会主义新天地 提交于 2020-01-14 19:05:32
问题 I have added google plus login to my website (hosted on shared server). While composing dependent libraries through composer.json for google login, the phpunit library was downloaded as a part. It contains a file phpunit\phpunit\src\Util\PHP\eval-stdin.php. Due to this file port 80 for my domain is blocked as they said its a malware file. The repository link is https://github.com/sebastianbergmann/phpunit Following is the code in eval-stdin.php file eval('?>' . file_get_contents('php://input'

Port 80 blocked on cpanel due to phpunit malicious file eval-stdin.php

◇◆丶佛笑我妖孽 提交于 2020-01-14 19:05:13
问题 I have added google plus login to my website (hosted on shared server). While composing dependent libraries through composer.json for google login, the phpunit library was downloaded as a part. It contains a file phpunit\phpunit\src\Util\PHP\eval-stdin.php. Due to this file port 80 for my domain is blocked as they said its a malware file. The repository link is https://github.com/sebastianbergmann/phpunit Following is the code in eval-stdin.php file eval('?>' . file_get_contents('php://input'

Laravel 5.2: The Process class relies on proc_open, which is not available on your PHP installation

我是研究僧i 提交于 2020-01-13 08:40:43
问题 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 job on my Share-Hosting server. I did not make any changes to the code on my Share-Hosting server. [2017-07-14 09:16:02] production.ERROR: exception 'Symfony\Component\Process\Exception\RuntimeException' with message 'The Process class relies on proc_open, which is not available on your PHP

cPanel使用与备份操作

青春壹個敷衍的年華 提交于 2020-01-10 04:29:36
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> 完全备份程序和数据库 详细步骤: 第一步:登陆Cpanel,找到 备份 并点击进去。 第二步:找到 全备份 ,并点击进入 下载或生成全备份 。这部分有三个,第一个是功能说明,第二个是已经备份的文件,第三部分是填写相关备份信息,之后点击 生成备份 。这个备份的速度非常快,如果文件不大于100M,在一分钟之内就可以备份完成。点击返回之后如果 in progress ,说明备份进行中。备份完成之后,会变成超链接,点击下载即可。 第三步:备份状态说明: 前面两个是备份好的,第三个是备份进行中的。 第四步:下载备份文件,完全下载之后:解压–再解压–然后找到一个 homedir.tar 的压缩包,继续解压。解压完成之后点击 homedir 目录, public_html 这个目录就是程序和附件的备份了。返回上一层目录,找到 mysql 目录,点击进入,除了 horde.sql 数据库之外的其他所有数据库就都是数据库的备份了。 一、直接在cPanel下载空间数据备份: 首先,登录网站的cPanel控制面板;点击Backups按钮,进入备份页面; 在备份页面,可以看到如下部分: 1.备份全站文件,点击这里的HomeDirectory按钮,就会自动开始下载一个压缩文件,这个压缩文件中的是public_html目录下的全部文件

Fatal error: require_once(): Failed opening required

不打扰是莪最后的温柔 提交于 2020-01-07 02:43:46
问题 This is the first time I upload a site - http://indianrestaurantmumbai.com/ , I have added everything necessary to my folder (I think), and it gives me this error message: Warning: require_once(/home/ecoconst/public_html/IndianRestaurantMumbai.com/includes/defines.php): failed to open stream: No such file or directory in /home/ecoconst/public_html/IndianRestaurantMumbai.com/index.php on line 21 Fatal error: require_once(): Failed opening required '/home/ecoconst/public_html

cPanel CNAME record is being ignored

▼魔方 西西 提交于 2020-01-06 17:58:29
问题 I'm using cPanel version 11.42.0 (build 23). As the title suggests, I'm having problem trying to point my domain to a heroku app by setting a CNAME: www.my-site.com. 14400 IN CNAME something.herokuapp.com I've also removed the A record of my root domain, my-site.com. 14400 IN A x.x.x.x (server IP address) I've waited for more than 4 hours, but the CNAME is still not propagated. When I ran a DNS lookup for www.my-site.com (via http://mxtoolbox.com/SuperTool.aspx), it says that no CNAME record

How to change /etc/my.cnf in cPanel account

邮差的信 提交于 2020-01-06 15:17:15
问题 I have create an account and I want to modify /etc/my.cnf but it says it is read-only, what should I do? 回答1: To change the mysql configuration you should be logged in as root if not check if you have sudo privileges to modify the mysql configuration file If you still has issues with it you need to check if the file has the attribute set on it using the below command lsattr /etc/my.cnf if its shows you the attributes applied to it remove it using below command chattr -aiu /etc/my.cnf 来源:

Redirecting URL with dynamic URI segment in cpanel

ⅰ亾dé卋堺 提交于 2020-01-05 12:26:15
问题 <a href="www.mysite.com/index.php?information/adminpanel/<?php echo $id;?>" name="approve" id="approve" ">Approve >></a> When I am redirecting to this url it shows correct id in url but gives page not found error. I am new to cpanel. Please tell me is there any other way I can pass this id or how to route page in cpanel with uri segment. 回答1: Most probably you are missing a part in URL unless you have changed the routing in .htaccess file somehow. The right URL should most probably be (if you