Cpanel can't run my source code properly
Hi, everyone. I'm stuck this problem for three days without any progress...
I use youtube v3 API key trying to embed video in my website.
On DirectAdmin Panel work fine, the video can load and play.
However, this code can't work appropriately on Cpanel, and the video can't play.
I give the same firewall rule on both VPS. Also, I tried to disable the firewall, and the video still can't play.
Same source code can't work on Cpanel, can't load video.
Does anyone have any idea about it?
-
It could be down to the way apache or PHP is configured I guess. Or maybe mod security if you use it. I'd start looking in usr/local/apache/logs/error_log for a start. I'm no expert, but i encountered an issue with opening url's only yesterday, which turned out to be 'allow_url_fopen ', which wasn't enabled in php.ini It's a long shot, but worth a look until someone more knowlegeable comes along. (this is my way of bumping it :-) ) 0 -
I'd second @keat63's request for logs. We moved where Apache's logs are as well (if you don't have a symlink in place) they're located at /etc/apache2/logs/error_log0
Please sign in to leave a comment.
Comments
2 comments