Forums / Install & configuration / My hoster can't change php.ini to set max_execution_time. Is it possible to do something. My installation stopps at the last page.

My hoster can't change php.ini to set max_execution_time. Is it possible to do something. My installation stopps at the last page.

Author Message

Evgen Chistyakoff

Wednesday 29 September 2004 1:41:47 pm

My hoster can't change php.ini to set max_execution_time. Is it possible to do something. My installation stopps at the last page, because the server can't generate my site.
My hoster's max_execution_time is only 30.
What shell I do?

Björn Dieding@xrow.de

Wednesday 29 September 2004 4:11:56 pm

Well that's a little bit more complicated, but you need to set it up manually.

cat doc/INSTALL

But the real problem might be that this can happen also after you clear the cache.

If this also happens you should find a new hoster.

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

Bruce Morrison

Wednesday 29 September 2004 6:05:18 pm

You can try increasing the max_execution_time in the main eZ publish script, index.php.

Try adding a "set_time_limit(300);" as the second line before starting you instalation. e.g.

 
<?php
set_time_limit(300);
// Copyright (C) 1999-2004 eZ systems as. All rights reserved.
 

See http://au.php.net/manual/en/function.set-time-limit.php for more info on this function.

Note: This will not work if you are using php in safe_mode

Cheers
Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

bisk

Thursday 30 September 2004 4:03:15 am

try setting the max_execution_time in a .htaccess file in your root.

example:

php_value max_execution_time  60

Though this might not always work, depending on your hosters settings. Check with php info if the local value changed compared to the global.

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

Lazaro Ferreira

Thursday 30 September 2004 5:08:32 am

Hi,

Have you php command line access (php cli) ?

Lazaro

Lazaro
http://www.mzbusiness.com

Martin Ulrich

Thursday 30 September 2004 9:26:02 am

Im on shared serverspace. This is, what I write in my .htaccess (in ezroot)

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

<FilesMatch "\.(php|html?)$">
php_value max_execution_time 60
</FilesMatch>

_______________________

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

Lazaro Ferreira

Thursday 30 September 2004 10:06:54 am

Hi,

Does your ISP let you to override global php settings ?

Case yes, have you check is your local php vars are already working ?

You can run a tiny php script to execute phpinfo() php function, it will show your php settings including

max_execution_time

actual value

Lazaro
http://www.mzbusiness.com

Lazaro
http://www.mzbusiness.com