All Activity

This stream auto-updates   

  1. Yesterday
  2. Last week
  3. Hi there! Unfortunately at the moment Django isn't fully supported in our shared / reseller / semi-dedicated hosting environments. You may be able to get it working however it would likely be buggy or not function as you'd expect. We've been working on a native implementation for Django though so hopefully within the coming months it will be available
  4. Earlier
  5. Since, I'm working on Django platform for web application. So, I need a platform to host my web applications. It will be great if the current shared hosting could provide option to host Django application.
  6. Looks like a similar solution to phpbb where they refer to the php memcached extension as Libmemcached. As for checking if it's working you'd be best to open a ticket. Although for most applications if it's not working they typically end up hanging or throwing an error.
  7. Thanks for the reply. I think I have sorted it, by using libmemcached, instead. Could you check to see in the logs if it working am on ams201 - overclan? $config['cache']['backend'] = 'Libmemcached'; $config['cache']['backendOptions'] = array( 'compression' => false, 'servers' => array( array( 'host' => '/home/USERNAME/.hostdata/memcached.sock', 'port' => 0, ) ) );
  8. Looking at that guide they are installing the memcache extension not the memcached extension. Unfortunately I don't foresee us offering it as an option after PHP 5.6 just due to the fact it was last updated in 2013: https://pecl.php.net/package/memcache . I don't foresee us offering the memcache extension in PHP 7.0 or 7.1 simply because even our vendors (cPanel, CloudLinux) are not doing it.
  9. I was running this on a VPS and had it working with PHP 7.1 using port, with memcached. There is a guide on cPanel site: https://forums.cpanel.net/threads/installing-memcache-and-memcached-with-easyapache4.566261/#post-2414091 Post 8, using a pecl module Not sure if this something you would setup on a shared hosting, so just putting it out there, just incase.
  10. The problem is it is utilizing the memcache extension which is only available until PHP 5.6. I'd suggest contacting Xenforo and seeing if there is a way for it to utilize the memcached extension which would be necessary if you're running PHP 7.1.
  11. It isn't working, I am running PHP 7.1, with memcached ticket in the settings, I have also started Memcached via cPanel. XenForo is say: Zend_Cache_Exception: The memcache extension must be loaded for using this backend ! - library/Zend/Cache.php:209 This is the XenForo setup I have in the config.php file $config['cache']['backend'] = 'Memcached'; $config['cache']['backendOptions'] = array( 'compression' => false, 'servers' => array( array( 'host' => 'unix:///home/XXXXXX/.hostdata/memcached.sock', 'port' => 0, ) ) ); I have also tried the host as unix:///var/memcached/memcached.socket
  12. I haven't tested this but I'd imagine this post here is still valid. Usually you can point to a socket using the unix:// method as noted above. Please let me know if this works!
  13. Hi, Just setting up my XenForo and would like to use memcached, by default it uses a port, but I understand you use a socket setup. Anyway how do I config XenForo to work with Socket, instead of port? PS. I didn't want to post in the phpBB3 post as it could be seen as being rude.
  14. In that case if you're comfortable with SSH what I recommend doing is we kill the current memcached instance and then start it back up. So if you login to SSH you can run: ps axu | grep memcached Then you should see something like this: 607 802829 0.0 0.0 66600 940 ? Sl 11:07 0:00 /usr/bin/memcached -B ascii -m 64 -s /home/memcachedtest/.hostdata/memcached.sock You'll then want to kill the process so in my case I'd run kill 802829 Then if you do another ps axu | grep memcached you should no longer see the memcached instance running. You will then want to turn it back on in cPanel then hopefully this time around it's operating properly.
  15. Our DNS servers are remote so if the web server goes down then DNS would be served. We also utilize anycast for our DNS infrastructure and have DNS servers in numerous diverse locations. We do this for performance and redundancy purposes.
  16. Hi, I am on ams201 and was wondering are the DNS servers remote. For example, if the server, and a one DNS server goes down, is the second DNS server still working? Or are the DNS servers, both on the same server?
  17. Quick update. Using the memcached phpbb cache plugin and php7, I changed the add server line you quoted above to the following $this->memcached->addServer('/home/USERNAME_HERE/.hostdata/memcached.sock', 0); unix:// is not needed as explained here for memcached as it is memcache specific - http://php.net/manual/en/memcached.addserver.php That resulted in a constant wait for the page to load. It was literally taking for ever and nothing loaded. I then changed my username slightly by adding another letter to it and immediately the forum became online again although slower with nothing being cached obviously. It looks like when the connection info is correct, it just loads forever and a day. When the config information is wrong, it loads the forum but caches nothing so the site is slower. It looks like when the config info is correct, something is blocking it from working somewhere. I may try memcache and php 5.6 again and see if it get the same constant loading when the config is correct but slightly changing the username in the path results in the site being visible again. The memcached plugin for phpBB is alot newer where as the memcache plugin has been available for years so that may work better if the issue is with phpBB. I can't really set up a ticket at the moment but not a major issue at the moment for me. Just was going to use it as it was available and thought it was going to be easy to use.
  18. Our original setup was over IP/Port but had switched it to socket and updated our documentation. I updated the text description for that as well now and we'll see about just updating the pictures as well. As for the issue at hand I'd suggest opening a ticket if you still cannot connect to the memcached socket as the code there shows it supporting it. So it's possible the memcached instance on your account is not starting up properly or something similar.
  19. The reason I said that was because in the blog post it contained a local IP and a non default port so I assumed it was possible in some way - http://blog.hawkhost.com/2015/12/31/memcached-now-available-on-all-hosting-plans/comment-page-1/ phpBB had memcache available and as it wasn't available for php7, I wanted to see if I could get that to work with 5.6 but php 5.6 with memcache and php 7.1 with memcached both had the same results. It is now available in phpBB which is the file I linked to. You can see both memcache and memcached listed here - https://github.com/phpbb/phpbb/tree/master/phpBB/phpbb/cache/driver I tried the following which didn't work namespace phpbb\cache\driver; if (!defined('PHPBB_ACM_MEMCACHED_PORT')) { define('PHPBB_ACM_MEMCACHED_PORT', 0); } if (!defined('PHPBB_ACM_MEMCACHED_COMPRESS')) { define('PHPBB_ACM_MEMCACHED_COMPRESS', true); } if (!defined('PHPBB_ACM_MEMCACHED_HOST')) { define('PHPBB_ACM_MEMCACHED_HOST', 'unix:///home/USERNAME_HERE/.hostdata/memcached.sock'); }
  20. The reason we do not offer a traditional IP/port is because anyone on the same server as you could read your memcached data. This would be a security risk which is why it's a socket that exists only inside your own accounts Cage meaning only you can access it. I want to clarify one thing the recommended extension is memcached and not the memcache extension. The memcached extension is actively developed: https://pecl.php.net/package/memcached The memcache extension is not: https://pecl.php.net/package/memcache The last release is almost four years ago. Looking at their code directly I believe we can make this work with sockets. What you can do is use the following: unix:///path/to/memcached.sock The reason I'm coming to this conclusion is $this->memcached->addServer(trim($parts[0]), trim($parts[1])); They are calling the PHP extension and the documentation for addServer is here: http://php.net/manual/en/memcache.addserver.php and it accepts sockets on the host and you set the port to 0. That should make everything work when you utilize the Memcache extension in PHP 5.6. Unfortunately looking through the phpbb forums there is no support for the memcached extension meaning you cannot utilize PHP 7.
  21. Hello, I am trying to configure a test forum to use Memcached but I can not get it to work due to the Unix socket given rather than an IP that phpBB works nicely with. https://raw.githubusercontent.com/phpbb/phpbb/master/phpBB/phpbb/cache/driver/memcached.php This is the default settings for memcached in phpBB3 which obviously don't work and result in slow load times and not caching queries (after a few refreshes) Time: 0.583s | Queries: 23 | Peak Memory Usage: 7.29 MiB No matter what I seem to try, it always doesn't seem to work resulting in the same similar slow load generation times and high number of queries and peak memory usage signifying it doesn't work. Using the default phpBB file cache, generation times and query counts for the same page (after a few refreshes) are Time: 0.047s | Queries: 10 | Peak Memory Usage: 2.61 MiB So when memcached works, it should be similar to those values. Is there a traditional IP/port i can use to get this to work or do you know of a way to get it to work? BTW ideally I want to use php7 and memcached but I have also tried with php 5.6 and memcache with the same results.
  22. Hi there! I see both sites are loading and showing Wordpress installations so they are working and online. If you're still having issues I'd recommend submitting a ticket at https://support.hawkhost.com so our support team can investigate this further for you!
  23. Hi all, I have a primary domain gasao.vn. I addon a domain houserent.vn. In gasao.vn and houserent.vn I install workpress and theme WP Residence v1.09.1. gasao.vn show map but houserent.vn not show map in Propeties. Please help me
  24. Thank you so very much. Will do that. Appreciate all your help. Have a great day.
  25. You don't need to bother throwing up an index but it really doesn't hurt uploading an empty index.html file so it's not a directory listing when you visit the site.
  26. Thank you so very much! That was an explanation I could understand! And I already have mail working. One last question... since I don't need a web presence for this site, it is required I throw up an index page, or do I not need to bother? Thank you again!
  27. The short answer is the new subdomain will be seen on the web and it'll work fine. The long explanation is: The idea of a public_html folder is really an old way of thinking. The web server is capable of showing a site regardless of the folder it is in. As a result of this cPanel now automatically places any new subdomains/addon domains below your public_html folder. It allows for easier organization and makes so you don't have a case of the content of one subdomain/domain loading from the primary domain of the account also. You can also be even more flexible and do things like: blogs/domain.com blogs/domain2.com forums/domain.com forums/domain2.com
  28. I read several posts on subdomain roots but didn't understand the answers. In short, I have a main domain, and one subdomain, which was created under /public_html/subdomain I just added a second subdoman, which was added under root... /my2ndsubdomain Does this mean the new subdomain is not public and won't be seen on the Web? I only purchased the domain to use for mail, so it actually doesn't need a Web presence, but I do need to make sure it will work for mail. Is it ok as is? Thank you!
  1. Load more activity