Questions to ask your hosting provider
The following questions can be asked to your hosting provider to make sure that MageBridge runs fine on top of the hosting environment:
Is internal webtraffic allowed?
Joomla! needs to contact Magento through HTTP (webtraffic) and vice versa. This means that the firewall needs to allow internal access to port 80 and port 443.
Does Apache have the following modules?
- mod_rewrite: Needed by Magento and Joomla!
- mod_xml: Needed by Magento
- mod_zlib: Needed by Magento
Which PHP version is being used?
Too old PHP versions are not supported. Check the MageBridge System Requirements for up to date information.
How are file permissions handled by PHP?
A good solution can only be one of the following:
- Apache is configured to run as the FTP-user
- All files are owned by the Apache user
- Apache is shipped with the mod_ruid or mod_ruid2 module
- PHP is run using SuPHP (mod_suphp)
- PHP is run using FastCGI (mod_fastcgi) with SuExec enabled
- PHP is run using CGI (mod_cgi) with SuExec enabled
Does PHP have the following modules?
- curl: Needed by MageBridge
- json: Needed by MageBridge
- SimpleXML: Needed by MageBridge
- mcrypt: Needed by MageBridge
Are PHP configuration-values properly defined?
- memory_limit: Magento requires at least 256Mb of PHP memory to function correctly. This is derived from the PHP setting memory_limit. Don't be fooled by the default value within the htaccess-file (128M) but check the official Magento requirements online instead. The recommended value is 512Mb, while larger shops easily could require up to 1Gb of PHP memory.
- max_execution_time: Some jobs in Magento take a longer time, and you certainly do not want to corrupt your database, because a timeout of 30 seconds occurs. This option should be set to at least 90 seconds, while 120 seconds or even 180 seconds is even better.
- magic_quotes_gpc: This PHP setting is already deprecated for years, and any hosting environment that still sets this to default, should be considered a testing environment and not a production environment. The recommended value for any modern PHP application is Off.
Modified on Thursday, 09 June 2011
More tutorials in this section
- MageBridge caching
- Two VirtualHosts but one domain
- Moving a MageBridge site
- File permissions for MageBridge
- Questions to ask your hosting provider
- Switching stores with MageBridge
- Prevent direct access to Magento using htaccess
- Enabling SSL for MageBridge
- MageBridge Security Guide
- Upgrading Magento, Joomla! and MageBridge
- MageBridge scenarios
- Performance tuning with MageBridge
- Finding a good hosting provider
- Using MageBridge in TurnKey appliances
- Using the MageBridge-optimized TurnKey image
- Benchmarking MageBridge performance
