By default, our servers allow up to 32MB of data to be transferred via PHP. Not having enough memory can result in errors that look similar to this one:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 2515174 bytes) in /path/to/wordpress/file.php on line 1331
Before we get started, it is important to understand which of the three PHP settings you are using for your hosting account.
If using “PHP5 (Single php.ini)” or “PHP5 (FastCGI)”, simply locate the “php.ini” file inside “public_html/” directory; for the standard “PHP5” setting, make a copy of the php.ini file first and place it in the “wp-includes/” directory. If the php.ini file cannot be located, a new php.ini.default file can be created via the Plesk or cPanel PHP Config icon. Be sure to rename the file to php.ini, it will not function while named php.ini.default.
Within the php.ini file, modify the “memory_limit” value. The php.ini file can be edited with any text editor, including the “Edit” or “Code Edit” option within your Bluehost File Manager. With the file open, search (ctrl+f) for memory_limit or scroll down to approximately line 232. Here you should see the following line:
memory_limit = 32M ; Maximum amount of memory a script may consume (32MB)
Simply update this number to accommodate for a higher amount of memory; we suggest setting the value as “64M,” as this fulfills most common requirements. Be sure to save any changes. Next, open the file wp-settings.php (located within the directory where WordPress is installed). Near the top of this file look for:
define(‘WP_MEMORY_LIMIT’, ’32M’);
Update this value to the new memory limit as well. Save changes to the file. Once the file is saved, the effect should be immediate.
Note: To check and see that the memory_limit has been updated properly, create a new text file called info.php within the same directory you edited your new php.ini file. Create this new file and add the following code:
<?php phpinfo() ;?>
Then view this page in a browser (be sure to include the directory in the URL if this is where you placed the info.php file). The PHP settings including the memory_limit should have changed. This will also show the path to the php.ini file which is being used.
]]>You can edit wp-config.php file from Plesk –> File Manager. Search the file, click on it and from the top menu choose “Edit”.
You can download wp-config.php via FTP software and edit in notepad++ after editing just upload your file into your server.
]]>AKLWEB Host WordPress servers offers you everything that you will need for a great WordPress hosting experience.
]]>Suggested Settings
Please complete all four (4) steps to use the suggested settings.
(Click on any of the images for a larger version of the image.)
Step 1. Set General Settings
On “Advanced” tab:
When selecting between “Use mod_rewrite to serve cache files” and “304 Not Modified browser caching” please note that 304 Not Modified browser caching will not be selectable as long as you have Use mod_rewrite in use. You will need to use one or the other as recent updates to the WP Super Cache Plugin have made the use of both un-accessible at this time.
Step 2. Set Mod_Rewrite Rules
Then, scroll down and select “Update Mod_Rewrite Rules” in the yellow box.
Step 3. Set Garbage Collection
Scroll down to “Expiry Time & Garbage Collection” and enter “3600” in the box, then select “Change Expiration”
Step 4. Set Rejected User Agents
It is recommended that you do not remove the default user agents from the list, to prevent bots from caching content and pages not normally seen by your visitors.
Explanation of the Options Selected
Cache hits to this website…
Enables caching
Use mod_rewrite to serve cache files
Fastest caching method, uses mod_rewrite rules in client’s .htaccess file
Compress Pages
Super Cache files are compressed and stored that way so the heavy compression is done only once. These files are generally much smaller and are sent to a visitor’s browser much more quickly than uncompressed html. As a result, the server spends less time talking over the network which saves CPU time and bandwidth, and can also serve the next request much more quickly.
304 Not Modified browser caching
Indicates to the client’s browser whether a requested file has been modified or not (see: http://www.addedbytes.com/for-beginners/http-status-codes/ or elsewhere for more info on that apache code)
Don’t cache pages for known users
This prevents logged-in users from being served cached pages and is the default for almost every caching plugin out there.
Expiry Time & Garbage Collection
The default setting will allow cache files to age 1 hour (3600 seconds) prior to being removed which is ideal. This setting can be increased for sites that do not have many posts (1,000 or less ) if you do not update your content often. If you have a very large amount of posts ( 25,000+ ), a lower setting around 1800 may be more viable to prevent stat/CPU issues due to the amount of files being created.
Rejected User Agents
It is recommended that you do not remove the default user agents from the list, to prevent bots from caching content and pages not normally seen by your visitors. (For example, if you have a calendar, a real visitor may only browse months close to now, but a bot will index every month forever as if it is a different page. Caching these pages real visitors are unlikely to visit wastes resources.)
]]>PostNuke (a.k.a. Zikula) is one of the best open source, open development content management system (CMS). PostNuke is written in PHP and stores its data in a MySQL database. A big variety of modules and blocks makes this CMS an allround tool. PostNuke started as a fork from PHPNuke and provides many enhancements and improvements over the PHP-Nuke system.
Who uses PostNuke website hosting ?
Organizations of all sizes world-wide depend on PostNuke to manage their internet and intranet needs.
Do you offer PostNuke hosting ?
Yes. AKLWEB Host offers the best web hosting for PostNuke websites with great features, fast and secure servers, multiple add-ons and high quality customer service! All our Linux/Windows dedicated servers have been tweaked to get the maximum experience out of your PostNuke website. PostNuke comes standard with every webhosting.uk.com hosting package with both PHP5 and MySQL5 a perfect PostNuke hosting environment. PostNuke can be installed with just one click from our Plesk Control Panel with no hassle and no coding experience necessary. PostNuke can be installed upon client request for all our hosting customers. Once PostNuke is installed on your account, you will be able to administer the whole project through PostNuke’s own administration panel from within your web browser. You will be able to install various extensions. For example you can add a forum, a gallery and contact form. You can also change how your entire site looks by changing themes.
AKLWEB Host PostNuke Website Hosting Features:
AKLWEB Hosts several thousands of websites which work on PostNuke! and and we make the process quick, easy and painless for everybody. We provide FREE and professional 24/7 PostNuke hosting support. Our Technical Support team has helped setup innumerable such phpNuke websites and helped them function with regular upgrades and updates! Use our professional services and let us put our years of experience to work for you.
]]>Before we start installing Joomla!, there are a couple prerequisites that need to be met to install Joomla! 3.x successfully. These apply whether you have a dedicated server, a shared hosting plan server, or are installing a copy on a local computer for testing or development.
You’ll need to meet the following requirements below to install and use Joomla!
Software | Recommended | Minimum | More information |
---|---|---|---|
PHP (Magic Quotes GPC, MB String Overload = off / Zlib Compression Support, XML Support, INI Parser Support, JSON Support, Mcrypt Support, MB Language = Default) | 5.6 + or 7 +[1] | 5.3.10 + | www.php.net |
Supported Databases: | |||
MySQL[2] (InnoDB support required) | 5.5.3 + | 5.1 + | www.mysql.com |
SQL Server | 10.50.1600.1 + | 10.50.1600.1 + | www.microsoft.com/sql |
PostgreSQL | 9.1 + | 8.3.18 + | www.postgresql.org |
Supported Web Servers: | |||
Apache(with mod_mysql, mod_xml, and mod_zlib)[3][4] | 2.4 + | 2.x + | www.apache.org |
Nginx | 1.8 + | 1.0 + | wiki.nginx.org |
Microsoft IIS | 7 | 7 | www.iis.net |
Recommended PHP.ini Settings
There are some PHP settings that need to be sufficient for Joomla to install. The settings are usually in a “php.ini” or “user.ini”. Talk to your host about how to change theses settings if it is possible to do so. If working on a localhost e.g. with XAMPP, you should not be restricted by these settings and VPS or dedicated hosting should also not be as restrictive.
The values for PHP.ini below are suggested values only.
You will need to complete two tasks before you can install Joomla! on your server. First, you will need to download the Joomla! package files. Next, you will need to have a database for Joomla! use.
Hint – This can be accomplished by simply moving the downloaded package to your server, then unpacking it. Or you can unpack the files on your local computer, then move the Joomla installation over to your server. Either way, the Joomla installation needs to be unpacked in the root of your site.
The “root” of your site is the public folder where all web page files are stored so that a user can view the site examples include public_html and htdocs. What your Host uses depends on them.
Your Server’s “root” Folder
Normally you upload your web files to the root folder. This is typically named “public_html” but other variations include “htdocs” and this depends on what your host has the set up on the server. For Joomla purposes, you can load the files directly into “public_html” or a sub-folder within it.
Warning!
If you unpack the files on your own computer, then copy them to your server, be sure to move only the folders and files contained INSIDE the Joomla! package. If you unpack the folders and files into a folder, for example called,
Joomla
and then upload that folder, your site will have to be accessed at
yoursitename.com/Joomla
instead of
yoursitename.com
.dbserver1.yourhost.com
?With the above requirements met, a database created and the required Joomla! files in place, you are ready to install Joomla!. Start the Joomla! web installer by opening your favorite browser and browsing to the site’s domain name. On host installation you will use
http://www.yoursitename.com
.If your are installing Joomla! locally, you will use
http://localhost/<path to Joomla files>
,and you should see the installation screen.
Joomla! will try to identify the Select Language field automatically from your browser’s language. You can change this if needed.
Fill in the following information.
yoursitename.com
to view the home page. No – this means the site is live when you browse to yoursitename.com
to view the home page. You can use the Site Global Configuration in the Administration interface to change the Offline status at any time.When everything on the first page is completed, click the next button to proceed:
You will need to enter the information about the database you will use for Joomla! now. It was suggested to write this information down under “Prepare for Install” tab. You may also read or review Creating a Database for Joomla!.
For simplification, these intructions are a reference to installing with a MySQLi database. The instructions on the installation page are self explanatory, but here they are again:
localhost
, but some hosts use a specific database server such as dbserver1.yourhost.com
jos3_
can be used. Just don’t forget to put the underscore character (_
) at the end of the prefix.All these choices can be edited on the Site Global Configuration page, under Server options after the installation is completed. Note, you will break your installation if you change these settings after installation unless you have a complete copy of the current database being used by the Joomla! installation. Common uses would be to update the username and password of the database or to complete a move of an existing installation to a new host with different parameters.
When all the information has been filled in, click the next button to proceed:
It is now time to finalise the Joomla! installation. The last page of the web browser installation contains all the information about the installation. This includes the options(at the top) for installing sample data and the installation’s configurations(at the bottom).
Install Sample Data and Email Configurations
The first options are for automatically installing sample content to the website and emailing the configuration settings.
If you are new to Joomla! it would be beneficial to install some sample data to see how Joomla! works. You can at this time choose to have the configuration settings emailed to you. If the Email Configuration choice is selected, the Email Password choice will appear. The email password is off by default for security. You can choose to have the password included, just click Yes.
Time to check the configurations of your install and the environment of the installation.
Checking Your Configurations
If everything is in order, you will see the install at the top of the overview page. If not, this is the place to check and see what may be causing an issue.
If everything is correct and all checks are passed, you may now click the Install button in the top right corner of the Overview page. This will start the actual installation process.
After you click the Install button, you should see a progress bar with additional information of the installation. Once the installation completes, you should see the success page!
Congratulations! Joomla! 3 is now installed. If you want to start using Joomla! right way without installing extra languages there is one last step to complete the installation. You must delete the Installation Folder. Click on Remove Installation folder and a success message will appear. Now you can navigate to the Administrator log in by clicking Administrator or go right to your site by clicking Site.
Before you complete your installation by deleting the Installation Folder, click on:
& Extra steps: Install languages
This will continue the installation of Joomla! by taking you to a new installation page.
Install Languages
A list of language packs is displayed.
Check the language or language packs you wish to install. Remember the following:
Click Next and a progress bar will be display while the language pack or packs are downloaded.
Choose Default Language
When the download is complete you can choose the default language for the Site and the Administrator interface.
You may also choose to activate the multilingual features of Joomla! at this time too.
When you completed all the choices of language installation, click Next to proceed.
Finalise
You will now be presented with a very similar Congratulations! Joomla! is now installed. screen. The difference will be a notation of the default Administrator and Site language settings, if they were set. You will also not see the Extra Steps message in the bottom right.
Now you can delete the Installation Folder. Click on Remove Installation folder and a success message will appear. Now you can navigate to the Administrator log in by clicking Administrator or go right to your site by clicking Site.
]]>Marketplace will now complete the process of upgrading your installation(s).
]]>The plugin will now be removed from your WordPress site.
]]>Access the Varnish Settings
The following steps show how to access the settings page that will allow you to control varnish.
Turn off Varnish
These steps will show you how to turn off Varnish from the Varnish settings page
The color of the status should turn to red and say “Varnish Status: stopped”.
]]>Once you are in phpMyAdmin, select the WordPress database folder from the left navigation bar. The page will refresh and and the WordPress database’s tables will be displayed on it. Open the SQL tab (look at the top navigation bar).
In the text field write the following SQL query:
UPDATE `wp_users` SET `user_pass` = MD5( ‘new_password_here’ ) WHERE `wp_users`.`user_login` = “admin_username”
Once you enter the new password and the correct username, click on the GO button to submit the query. If the query is executed correct and no errors are displayed then you should be able to login with the new password.
If there’s any problem while resetting the password, contact your web hosting provider for further assistance. AKLWEB Host provides the best WordPress hosting services and such requests are handled with ease.
]]>