Apache error?

Author Message

whatever whatever

Thursday 06 July 2006 9:50:03 am

Ok i have latest wamp installed with php 4 addon. i put the ezpublish dir in the www folder and the first page of the installation shows up normally. When i press finetune it says page not found , when i press next i get an error which says apache server has encountered a problem and needs to close.

Any ideas ? Any help will be appreciated .

Łukasz Serwatka

Thursday 06 July 2006 3:05:02 pm

Downgrade your PHP version to 4.4.1 or upgrade to latest version from snaps.php.net. In 4.4.2 is bug which can cause Apache to crash on Windows platform.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

whatever whatever

Saturday 08 July 2006 10:03:02 am

yeah that's great but i am actually a bit a of a newbie myself and i don't know if there is a way to do that with wamp . Do i need to install&configure everything by myself because of this cause i found wamp very convinient ? (php , mysql & apache )

tom stovall

Monday 17 July 2006 10:47:13 am

is this a confirmed bug? Can you post a link to the bug?

Łukasz Serwatka

Monday 17 July 2006 1:31:04 pm

Yes it is, see my last reply in this topic:
http://ez.no/community/forum/install_configuration/install_problem_application_error/re_install_problem_application_error__4

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Vidar Østevik

Tuesday 18 July 2006 12:33:13 pm

Hi whatever whatever.

I'm adding a short recipe on installing Apache and PHP on a Windows Machine.

1. Download PHP 4.3.11 binary package
(http://www.php.net/get/php-4.3.11-Win32.zip/from/a/mirror)

2. Unzip the package in the root of your c:\ drive, and rename the folder to php
(you should now have a folder named c:\php)

3. Copy all files in dlls and sapi folders to the root of your php folder

4. Rename php.ini-recommended to php.ini
(Here you must change some settings in php.ini to enable GD2, to extend timout and
change some memory limits.)

1. set extension_dir to extension_dir = "c:\php\extensions"
2. Remove the semicolon from extension=php_gd2.dll and extension=php_mbstring.dll
3. Set max_execution_time = 120
4. Set max_input_time = 60
5. Set memory_limit = 256M

5. Right click on My Computer and choose properties. Go to the Advanced tab.
Choose Environment Variables. In your PATH variable, add c:\php to the end (there should
be a semicolon before c:\php)

6. Add a new variable called PHPRC, and set the value to c:\php. You have now told the OS
where to find the php.ini file.

7. Reboot. You have now installed PHP.

8. Download and install Apache 1.3.35
(http://archive.apache.org/dist/httpd/binaries/win32/apache_1.3.35-win32-x86-src.msi)

9. Edit your httpd.conf file (You will find this in the directory where you installed Apache in,
under the folder "conf"

1. Add <i>LoadModule php4_module "C:/php/php4apache.dll"</i> under the rest of
<i>Load Module</i> commands.
2. Add <i>AddModule mod_php4.c</i> under the rest of <i>Add module</i>
commands.
3. Under the line <i>DirectoryIndex index.html</i>, add <i>DirectoryIndex index.php</i>
This tells Apache that index.php are a default documenttype.
4. Under <b>Document types.</b>, add <i>
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps </i> between the <i>
<IfModule mod_mime.c></i> tag (i.e above <i>AddType application/x-tar .tgz</i>
5. Save your httpd.conf file, and restart apache. (This can be done from "services"
window. Right click My Computer, choose Manage. Expand <i>"Services and
Applications"</i>, and choose Services. Choose Apache, right click (if 2000), and
choose Restart. If XP or 2003, choose restart on the left hand of the service name.

10. Your Apache service should now say Apache/1.3.35 (win32) PHP/4.3.11, and you're done!

Hope this helps you out installing Apache and PHP.

Regarding MySQL, I recommend downloading MySQL 5.0.11 (http://dev.mysql.com/get/Downloads/MySQL-5.0/mysql-5.0.22-win32.zip/from/http://mysql.borsen.dk/) and MySQL GUI tools (http://dev.mysql.com/downloads/gui-tools/index.html). Both are msi installers, and GUI setup, no ini configuration needed. Just remember to mark "use old passwords" under Startup Variables/Security in MySQL Admin, and clear all passwords of your users in this application. Save changes, restart server, log in as root with blank password, and change passwords again. Otherwise PHP 4.3.11 won't connect with your SQL server!

Good luck, any questions, feel free to ask!

Regards Vidar

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 11:29:08
Script start
Timing: Jan 18 2025 11:29:08
Module start 'layout'
Timing: Jan 18 2025 11:29:08
Module start 'content'
Timing: Jan 18 2025 11:29:09
Module end 'content'
Timing: Jan 18 2025 11:29:09
Script end

Main resources:

Total runtime0.7000 sec
Peak memory usage4,096.0000 KB
Database Queries70

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0078 591.7734152.6250
Module start 'layout' 0.00780.0042 744.398439.4453
Module start 'content' 0.01200.6864 783.8438663.6328
Module end 'content' 0.69840.0016 1,447.476616.1797
Script end 0.7000  1,463.6563 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.4688160.0002
Check MTime0.00140.2011160.0001
Mysql Total
Database connection0.00170.239410.0017
Mysqli_queries0.628889.8301700.0090
Looping result0.00080.1091680.0000
Template Total0.666695.220.3333
Template load0.00180.258320.0009
Template processing0.664894.961120.3324
Template load and register function0.00020.029210.0002
states
state_id_array0.00130.186610.0013
state_identifier_array0.00270.383720.0013
Override
Cache load0.00170.2481630.0000
Sytem overhead
Fetch class attribute can translate value0.00050.077540.0001
Fetch class attribute name0.00180.253680.0002
XML
Image XML parsing0.00230.327340.0006
class_abstraction
Instantiating content class attribute0.00000.003490.0000
General
dbfile0.00110.1598250.0000
String conversion0.00000.001640.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
14content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
9content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 34
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs