I recently installed Magento to a PHP static app on WebFaction. It seems very slow but I think this is inherent to Magento. Magento guides seem to recommend using APC, which I'll do if I have to. I read on another answer here that WebFaction use eAccelerator - is that running by default for all static PHP apps, or has to be enabled or installed? Incidentally, when I installed Magento I had to do it via the command line. The web installer timed out, leaving an uncompletable install. When I did it via the command line I thought it was broken too, it took about 15 minutes to run the command, with no progress or feedback. Eventually the prompt returned and it had completed successfully. Seems like PHP and/or MySQL is really slow here? asked 16 May '11, 06:51 anentropic |
Our PHP 5.3 app includes its own .htaccess file. Magento overwrites that with its own, and I think that the performance issues you saw are related to that. With that in mind, I just did my own installation of the Magento with the following steps, and didn't notice any performance issues (except where noted): Control panel steps:
SSH steps
Enter your database password when prompted, and wait a bit while the sample data loads. This is the only step that seemed to take a long time. Finally, edit
Once you've done that, you can go to your site's domain, eg http://yourdomain.com, to complete the Magento setup process. When everything is finished, Magento's scripts will be served correctly via PHP 5.3, and your Magento media will be served by the front-end Nginx server (which can make a huge improvement in the performance of your site). answered 16 May '11, 17:47 seanf |
eAccelerator is no longer installed on any of our servers due to an incomparability between the versions of it and PHP we use. If you want a PHP accelerator you'll need to install PHP, Apache and whichever accelerator you like.
That doesn't sound right at all. We have a lot of users running Magento (and far more running regular PHP/MySQL) all without issue. Could you point us to the domain where this is happening (or open a support ticket if you don't want to give this out). answered 16 May '11, 07:06 David L ♦♦ dressesplusmore.com and my webfaction account is the same as my username. My gut feel was that php/mysql were slow, since the cli version of the interpretter is just creating lots of tables from php, no html to render (command was >php53 -f install.php -- --license_agreement_accepted "yes" [etc]). The ajax saving of data in the admin is also quite slow.
(16 May '11, 13:06)
anentropic
See my answer below.
(16 May '11, 17:47)
seanf
|
I've recently also installed Magento and after couple of days finds that its really slow. What I did is installed APC (Alternate PHP Cache) for PHP apps. you wont be able to install this on one click installation for apps webfaction provides. you need to installed custom app and then install APC on it. this is definatelly speed my magento store.
There are several others step you can follow for diffrent aspect of speeding site up which can be found http://www.magentocommerce.com/boards/viewthread/36225/
Have a look at my magento site. www.wingmirrorsmarket.co.uk
Do you feel any speed difference from yours?
webbyfox
did you notice an improvement after switching to APC?
yeah it was 50% improvement, i should say