Forums / Install & configuration / Where to edit php.ini file of Installer for Windows 9x/NT/2000/XP
Børge Kjeldstad
Friday 02 April 2004 1:53:29 am
I have installed the Installer for Windows 9x/NT/2000/XP but when i for instance try to visit this url: http://localhost/index.php/corporate_admin I get this error:Fatal error: Maximum execution time of 60 seconds exceeded in c:\Exponential\Exponential\lib\ezxml\classes\ezxml.php on line 271
Fatal error: Maximum execution time of 60 seconds exceeded in c:\Exponential\Exponential\lib\ezutils\classes\ezexecution.php on line 157
Fatal error: Maximum execution time of 60 seconds exceeded in c:\Exponential\Exponential\lib\ezutils\classes\ezsession.php on line 75
Warning: Unknown(): A session is active. You cannot change the session module's ini settings at this time. in Unknown on line 0
Question 1:Has this something to do with the memory limit set in yhe php.ini file?
Question 2:Where do I find the php.ini file of the bundled Installer for Windows 9x/NT/2000/XP?
Note: I had tried doing a manual installation of eZ before doing the bundled one.Hence I allready had Apache 1 & 2, mySQL, php, and eZ Publis 3.3-4 installed
Thank You : )Børge
Ole Morten Halvorsen
Friday 02 April 2004 2:57:31 am
>Question 1: >Has this something to do with the memory limit set in yhe php.ini file?I would guess you get this error because it doesnt have enough time to create the translation cache.
Which os are you running? 98 or NT/2000/XP ? What are the hardware specs?
>Question 2: >Where do I find the php.ini file of the bundled Installer for Windows 9x/NT/2000/XP?It should be in your windows directory. Probably c:\winnt\php.ini or c:\windows\php.ini
Senior Software Engineer - Vision with Technology http://www.visionwt.com http://www.omh.cc http://www.twitter.com/omh eZ Certified Developer http://ez.no/certification/verify/358441 http://ez.no/certification/verify/272578
Friday 02 April 2004 9:56:00 am
Oh, I forgot to mention... : )Windows XP, PentiumIII ~800Mhz, 256 MB RAM
Do you think there could be any chance that my manual installationaffect the bundled installation in some way.
Cheers!Børge
Lazaro Ferreira
Friday 02 April 2004 10:29:00 am
Hi,
I guess you can find it in one of two places your windows directory, or the same directory where your php was installed
You can always search your HD for this file, if more than one appears, you should determine which is one is the offending (look at its content, datemodified )
After locating it, you can double max_execution_time and memory_limit values, restart Apache and see
Lazaro http://www.mzbusiness.com
Tuesday 06 April 2004 12:20:54 pm
Hi and thank you for all good advices!I found the php.ini in C:\WINDOWS on my windows XP machine.
So I set:
max_execution_time =60 max_input_time = 60memory_limit =32M
Though, maybe the most important thing was to set (in php.ini):
magic_quotes_gpc = Off
I did see a note about this when I pressed the "finetune" button during installation, but as the note said that eZ would run even with magic_quotes_gpc = On, I did not imidiately do anything about it...
Well, I no have eZ running on this machine, and I am quite happy!!
Take careBørge