Category : apache

I created a chatting website that gives real time chat like messenger. I do this by using setinterval to spit out latest messages and notifs from my other php files. messageRefresh = setInterval(() => { $.post(‘includes/ajax-func/getchat-afunc.php’, { outgoingUsersId : sender, incomingUsersId : receiver, newMsgCount : msgCount }, function (response) { $(messageSection).html(response); }); }, 500 ); ..

Read more

I do have a problem with my .htaccess files in my own CMS. On my localhost there is no problem at all. But on the live webserver I do get Internal server error 500. In the log it says: Too many redirects. What I know of .htaccess is that it’s linking to a non-existing place ..

Read more

I created a social media site that emphasized real time chat updates and etc. Just like facebook. Its working well but there is something prompting in my console about caching. I have this set interval in my header.js setInterval(() => { $.post(‘includes/ajax-func/getheadernotifs-afunc.php’, { updatemessages : 1 }, function (response) { $(‘#open_inbox’).html(response); }); $.post(‘includes/ajax-func/getheadernotifs-afunc.php’, { updatenotifs ..

Read more

I needed to change few values in php.ini file and after running phpinfo() within my application, found my php.ini file in below location Configuration File (php.ini) Path /opt/php-5.6.30/lib Loaded Configuration File /opt/php-5.6.30/lib/php.ini Changed the values in above php.ini file followed by apache2 restart but they didn’t reflect. I ran php –ini command to see any ..

Read more