Almost all hosting control panel software offer multiple PHP versions to serve websites. You can change PHP version per domain using MultiPHP Manager offered by the control panel. However, if the MultiPHP Manager is unavailable then you can set the same using the domain’s .htaccess file.
Search Results » htaccess
No input file specified. Codeigniter & htaccess
I have few sites of clients running with Codeigniter and are hosted by different hosts including Godaddy, Host Gator and others. With few hosts I had problems with working of CI, whenever I tried to access the website, I just used to get a text in browser saying ‘No input file specified’ and no html as expected except this text.
Htaccess redirect www to non www. http & https
This article will provide you htaccess rules to redirect a www website to non www. I prefer to make rule regardless of using name of specific domain so no-where in this article I have used domain name. The general sort of solution to make www to non www apache htaccess redirect
RewriteEngine On RewriteBase / RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC] RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
Non-www to www redirect. http & https in apache htaccess
For a better site optimization and accessibility we might wish to redirect a non-www site to www. For this we have to write a few rules in htaccess file at our apache server. I’m mentioning here code of just 3 lines to achieve non-www to www redirect.
site_url() and base_url() in CodeIgniter, Difference and when to Use
site_url() and base_url(), both are useful functions in CodeIgniter. However, developers get confused about what is the difference between them and when to use site_url() or base_url(). In this article, we’re explaining both and use scenarios.
10 Secret Things to Know Before Buying Web Hosting
You have found a web hosting plan offering everything unlimited and are purchasing now. Wait! Don’t get trapped. There are at least 10 secret things you must know and check before buying web hosting. No web hosting company would like to disclose them before you.
Your PHP Installation Appears to be Missing the MySQL Extension
We were facing the error “Your PHP installation appears to be missing the MySQL extension which is required by WordPress”. We’ve fixed it by upgrading WordPress to match it with PHP 7.0 or higher. We didn’t check PHP, MySQL extension installed on the host.
Local php.ini Settings aren’t Working or Loading in Apache
I had the trouble that local php.ini changes weren’t taking effect. I had already created a custom php.ini file in the user’s home directory. But these local php.ini settings were not working at all.
Hostinger Shared Hosting Reviews from a Real Experience
Hostinger is one among a few reputed web hosting companies worldwide. Does Hostinger shared hosting really worth it and should you host your website on their platform? Here, I would like to share my experience and real reviews as I’ve used their product.
Live Server Transfer of a CI Project from Localhost – The Efficient Way
CodeIgniter offers an easy mechanism to maintain parameters for development and production environments. It simplifies the process of live server transfer of the CI project. In this article, we’re explaining you the efficient way CodeIgniter offers to easier the live server transfer process and making the site production ready with minor changes.