Forums / Install & configuration / Installation on commercial Webspace Providers

Installation on commercial Webspace Providers

Author Message

Hans-Peter Kollnig

Tuesday 17 February 2004 7:54:14 am

hi everybody!

i just read most of the documentation of eZ publish but I still don't know really, wheter it is possible to install this CMS on a commercial webspace provider.

so does anybody has any experiences whith that? is ist possible or is it very difficult? do I need some special priveliges or tool or rights or...

thamk you very much,
hpk

Mike van Eck

Tuesday 17 February 2004 8:42:32 am

Hi, I just tried to install on my webspace provider, who uses PHP, Mysql and an apache server on a SUN cobalt machine. I guess it runs solaris or linux.

I just copied the whole ezpublish zip extract with ftp to the \web directory on the webserver. Trying to execute the index.php script to get the soft installed, I get the following message: Fatal error: Allowed memory size of 5242880 bytes exhausted at (null):0 (tried to allocate 44 bytes) in /home/sites/site2/users/testsite/web/kernel/common/eztemplatedesignresource.php on line 630
Fatal error: eZ publish did not finish it's request

The execution of eZ publish was abruptly ended, the debug output is present below.

Any clue on what that means? The installation works fine with a localhost on my 2 pc's, one old one and one more recent (normal install).

Tore Skobba

Wednesday 18 February 2004 2:13:57 am

Hmm sounds very much like the php memory limit. In php.ini increase "memory_limit" to for instance 32 MB, i.e. memory_limit = 32M.

See here for more:
http://www.ez.no/community/forum/install_configuration/tips_tricks_admin_experience_report

Mike van Eck

Wednesday 18 February 2004 3:14:45 am

You're right, it's memory limit. My provider allocates only 5MB for php scripts, here some suggested solutions: (please criticise)

1) I develop under ezpublish on my pc and up load the result (what should i upload?)
2) I ask for more memory to my provider ($$$ :-( )
3) Any other solution you could think of

Thanks, Mike

Tore Skobba

Wednesday 18 February 2004 4:02:43 am

Hmm I am not that much into Linux configuration, luckily I have my own server. But I do know that this is a very common problems for several users. You could try searching the forums a bit more. Is it possible to set the php_memory_limit in other files? What about vhost.conf? i.e. php_value memory_limit=20 MB, I am just guessing here. What about channing provider to an EZ compatible one? You should at least check how much money more php memory costs.

Good luck, there are propaly several other people here on the forums which might give you more and better advice then me.

Tore

bisk

Wednesday 18 February 2004 4:41:54 am

Well you could try to set the php memory limit in a .htaccess file in your webroot, just add the line

php_value memory_limit 20M

Upload a index.php with

<?php
phpinfo();
?>

and check if the memory_limit changed to 20M

This works fine for my host.

Also check the documentation: http://www.ez.no/ez_publish/documentation/configuration/troubleshooting/not_enough_php_memory

And if your host isn't a low budget provider, I think it's reasonable that they should help you on the memory issue for free.

-------------------------------
http://www.kookfijn.nl & http://www.magento.be

Stéphane Cloutier

Wednesday 18 February 2004 8:41:28 am

You should consider getting a VPS or VDS (if you can't afford a real server) and still control all features on your account. There are some expensive solution, but also some that are affordable ($40-$80/month).

Qupanuaq - Snow bunting

Mike van Eck

Wednesday 18 February 2004 8:45:54 am

I just did all you said:

1) <FilesMatch "\.(php|html?)$"> php_value memory_limit 20M </FilesMatch>
2) Just - php_value memory_limit 20M

Both don't work, but that's probably because the provider set the value like that, by phone they confirm this is in the contract...

Bad luck for me.

The PHP file worked fine and helped me discover it's a SUN Cobalt server running Linux. They have obviously well guarded their resources.

Just a question, I ve been reading many things in several forums:
- Install needs much memory
- How about when the install is done, does ez need less memory then?

Could I ask for just temporary memory? or is the memory necessary all the time?

Martin Ulrich

Tuesday 27 April 2004 2:56:46 pm

on my commercial server space it Works with modified .htaccess. But .htaccess in mydomain.com/ezdir

(in serverroot doesnt work )

<FilesMatch "\.(php|html?)$">
php_value memory_limit 40M
</FilesMatch>

_______________________

http://artenic.de ARTENIC - Publishing mit allen Mitteln!

Tony Wood

Wednesday 28 April 2004 2:16:22 am

Hans-Peter,

Your best bet is to pick a hosting company who supports eZ publish directly.

You can find them on this site, but I will not refer to them as I am not impartial in this matter.

-- tony

Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development

Power to the Editor!

Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future