Posts Under Category: Shared Hosting

Sometimes you need to check and see what are php settings of your web hosting account. You can create a php page using the phpinfo() function to see detailed information about the PHP settings of your hosting account. Create a page named phpinfo.php and copy paste below code.

<?php
phpinfo();
?>

Now upload this phpinfo.php file in public_html folder / directory of your web hosting account.
You can now see php setting of your web hosting account by simply visiting:

yoursite.com/phpinfo.php

Relace yoursite.com by your website url in above url

Our Recommended Hosting

Generally PHP memory limit set by root host is 8-32 MB But sometime you may need more PHP memory. If you are on a shared hosting, you can increase php memory limit of your account by simply adding the following code in your .htaccess file located in public_html folder.

php_value memory_limit 128M

This will increase php memory limit of your account to 128 MB. If there is no .htaccess file in public_html folder, create a text file and rename it to .htaccess

Our Recommended Hosting