| Author |  | 
| Pluto 
 
 
 Joined: 19 Nov 2009
 Posts: 5
 
 
 | 
|  Posted: Thu 19 Nov '09 16:52    Post subject: Apache and ZenCart |   |  
| 
 |  
| Hi, I'm interested in testing out ZenCart for possible future use, but I've trouble getting the program to work.
 
 First some basics:
 
 Program: ZenCart v1.3.8a.
 Environment:
 OS: Windows XP servicepack 3
 Browser: IE 8.0.6001.18702
 PHP: PHP 5.2.8
 MySQL: 5.1.31
 Apache: 2.2.11
 FileZilla FTP Server v. 0.9.33 beta
 
 Running the phpinfo.php is ok
 
 When running the ZenCart install setup, I get the setup guide on my browser.
 Welcome page = OK
 Continue
 Licence page = OK
 Accepting terms (radio-button)
 Continue
 
 Then the browser displays that Apache http server har encountered a problem and must be shut down.
 
 The error-specs are the following:
 
 szAppName: httpd.exe
 szAppVer: 2.2.11.0
 szModName: php5ts.dll
 szModVer: 5.2.8.8
 offset: 00009fe6
 
 The php5ts is found in C:\windows\system and C:\windows\system32
 
 The error dumps two files, httpd.exe.mdmp and appcompat.txt.
 
 I'm not code-reading expert, so I'm at a loss understanding the context of these files.
 
 Can somebody give me a clue to what I have done wrong?
 |  | 
| Back to top |  | 
| James Blond Moderator
 
  
 Joined: 19 Jan 2006
 Posts: 7442
 Location: EU, Germany, Next to Hamburg
 
 | 
|  Posted: Thu 19 Nov '09 17:00    Post subject: |   |  
| 
 |  
| Without knowing more, I guess that some extension of PHP is crashing. Which of the downloads you downloaded from windows.php.net ? Anything in apache error log? Did you enable the PHP error log?
 |  | 
| Back to top |  | 
| Pluto 
 
 
 Joined: 19 Nov 2009
 Posts: 5
 
 
 | 
|  Posted: Fri 20 Nov '09 11:06    Post subject: |   |  
| 
 |  
| The installer-package was d/l from Apache.org, file: apache-2.2.11-win32-x86-open ssl-0.9.8i.msi
 file: php-5.2.8-win32-installer.msi
 file: mysql-5.1.31-win32.msi
 
 No errors in PHP - logs are enabled
 
 Apache log:
 127.0.0.1 - - [20/Nov/2009:09:29:57 +0100] "GET /Zen-Cart/zc_install/index.php HTTP/1.1" 200 2611
 127.0.0.1 - - [20/Nov/2009:09:29:57 +0100] "GET /Zen-Cart/zc_install/includes/templates/template_default/templates/about_zencart.html HTTP/1.1" 200 5522
 127.0.0.1 - - [20/Nov/2009:09:29:58 +0100] "GET /favicon.ico HTTP/1.1" 404 209
 127.0.0.1 - - [20/Nov/2009:09:30:03 +0100] "GET /Zen-Cart/zc_install/index.php HTTP/1.1" 200 2611
 127.0.0.1 - - [20/Nov/2009:09:30:03 +0100] "GET /Zen-Cart/zc_install/includes/templates/template_default/templates/about_zencart.html HTTP/1.1" 200 5522
 127.0.0.1 - - [20/Nov/2009:09:30:18 +0100] "GET /Zen-Cart/zc_install/index.php HTTP/1.1" 200 2611
 127.0.0.1 - - [20/Nov/2009:09:30:18 +0100] "GET /Zen-Cart/zc_install/includes/templates/template_default/templates/about_zencart.html HTTP/1.1" 200 5522
 127.0.0.1 - - [20/Nov/2009:09:30:29 +0100] "GET /Zen-Cart/zc_install/index.php HTTP/1.1" 200 2611
 127.0.0.1 - - [20/Nov/2009:09:30:29 +0100] "GET /Zen-Cart/zc_install/includes/templates/template_default/css/stylesheet.css HTTP/1.1" 304 -
 127.0.0.1 - - [20/Nov/2009:09:30:29 +0100] "GET /Zen-Cart/zc_install/includes/templates/template_default/images/zen_header_bg.jpg HTTP/1.1" 304 -
 127.0.0.1 - - [20/Nov/2009:09:30:29 +0100] "GET /Zen-Cart/zc_install/includes/templates/template_default/templates/about_zencart.html HTTP/1.1" 200 5522
 127.0.0.1 - - [20/Nov/2009:09:30:29 +0100] "GET /Zen-Cart/zc_install/includes/templates/template_default/images/tile_back.jpg HTTP/1.1" 304 -
 127.0.0.1 - - [20/Nov/2009:09:30:33 +0100] "POST /Zen-Cart/zc_install/index.php?main_page=license HTTP/1.1" 200 2944
 127.0.0.1 - - [20/Nov/2009:09:30:33 +0100] "GET /Zen-Cart/zc_install/includes/templates/template_default/templates/gpl_license.html HTTP/1.1" 200 19247
 127.0.0.1 - - [20/Nov/2009:09:30:39 +0100] "POST /Zen-Cart/zc_install/index.php?main_page=license HTTP/1.1" 302 -
 
 I hope this is helpful
 |  | 
| Back to top |  | 
| James Blond Moderator
 
  
 Joined: 19 Jan 2006
 Posts: 7442
 Location: EU, Germany, Next to Hamburg
 
 | 
|  Posted: Fri 20 Nov '09 12:23    Post subject: |   |  
| 
 |  
| Would be help ful if you post the part of the error.log from apache. 
 Well there are some more downloads on windows.php.net
 
 
 
 VC6 x86 Non Thread Safe
VC6 x86 Thread Safe
 
 You have to use VC6 x86 Thread Safe. Do you?
 
 Why don't you use PHP 5.2.11 ( or PHP 5.3.1 ) ?
 |  | 
| Back to top |  | 
| Pluto 
 
 
 Joined: 19 Nov 2009
 Posts: 5
 
 
 | 
|  Posted: Fri 20 Nov '09 12:37    Post subject: |   |  
| 
 |  
| OK, here are the latest entries in the apache error log:
 [Fri Nov 20 11:25:52 2009] [notice] Parent: child process exited with status 3221225477 -- Restarting.
 [Fri Nov 20 11:25:52 2009] [notice] Apache/2.2.11 (Win32) PHP/5.2.8 configured -- resuming normal operations
 [Fri Nov 20 11:25:52 2009] [notice] Server built: Dec 10 2008 00:10:06
 [Fri Nov 20 11:25:52 2009] [notice] Parent: Created child process 2024
 [Fri Nov 20 11:25:52 2009] [notice] Child 2024: Child process is running
 [Fri Nov 20 11:25:52 2009] [notice] Child 2024: Acquired the start mutex.
 [Fri Nov 20 11:25:52 2009] [notice] Child 2024: Starting 64 worker threads.
 [Fri Nov 20 11:25:52 2009] [notice] Child 2024: Starting thread to listen on port 80.
 [Fri Nov 20 11:25:56 2009] [notice] Parent: child process exited with status 3221225477 -- Restarting.
 [Fri Nov 20 11:25:56 2009] [notice] Apache/2.2.11 (Win32) PHP/5.2.8 configured -- resuming normal operations
 [Fri Nov 20 11:25:56 2009] [notice] Server built: Dec 10 2008 00:10:06
 [Fri Nov 20 11:25:56 2009] [notice] Parent: Created child process 3428
 [Fri Nov 20 11:25:56 2009] [notice] Child 3428: Child process is running
 [Fri Nov 20 11:25:56 2009] [notice] Child 3428: Acquired the start mutex.
 [Fri Nov 20 11:25:56 2009] [notice] Child 3428: Starting 64 worker threads.
 [Fri Nov 20 11:25:56 2009] [notice] Child 3428: Starting thread to listen on port 80.
 [Fri Nov 20 11:26:30 2009] [notice] Parent: child process exited with status 3221225477 -- Restarting.
 [Fri Nov 20 11:26:30 2009] [notice] Apache/2.2.11 (Win32) PHP/5.2.8 configured -- resuming normal operations
 [Fri Nov 20 11:26:30 2009] [notice] Server built: Dec 10 2008 00:10:06
 [Fri Nov 20 11:26:30 2009] [notice] Parent: Created child process 3696
 [Fri Nov 20 11:26:30 2009] [notice] Child 3696: Child process is running
 [Fri Nov 20 11:26:30 2009] [notice] Child 3696: Acquired the start mutex.
 [Fri Nov 20 11:26:30 2009] [notice] Child 3696: Starting 64 worker threads.
 [Fri Nov 20 11:26:30 2009] [notice] Child 3696: Starting thread to listen on port 80.
 [Fri Nov 20 11:26:33 2009] [notice] Parent: child process exited with status 3221225477 -- Restarting.
 [Fri Nov 20 11:26:33 2009] [notice] Apache/2.2.11 (Win32) PHP/5.2.8 configured -- resuming normal operations
 [Fri Nov 20 11:26:33 2009] [notice] Server built: Dec 10 2008 00:10:06
 [Fri Nov 20 11:26:33 2009] [notice] Parent: Created child process 3344
 [Fri Nov 20 11:26:34 2009] [notice] Child 3344: Child process is running
 [Fri Nov 20 11:26:34 2009] [notice] Child 3344: Acquired the start mutex.
 [Fri Nov 20 11:26:34 2009] [notice] Child 3344: Starting 64 worker threads.
 [Fri Nov 20 11:26:34 2009] [notice] Child 3344: Starting thread to listen on port 80.
 
 I'll d/l VC6 x86 and PHP 5.3.1 and do the installation.
 Maybe that will do the trick,
 
 Zen-Cart is supposed to run with the requirements:
 PHP 4.3.2 or higher
 Apache 1.3 or higher
 MySQL 3.2.x.x or higher
 |  | 
| Back to top |  | 
| Pluto 
 
 
 Joined: 19 Nov 2009
 Posts: 5
 
 
 | 
|  Posted: Fri 20 Nov '09 14:24    Post subject: |   |  
| 
 |  
| Hi another problem.
 
 After having installed php 5.3.1.0, i'm not able to start the apache server.
 When I edit httpd.conf and hash PHPINIDir and LoadModule PHP5_module,
 the server starts normally.
 Enabling the two, the server refuses to start.
 Enable or diasable AddType application/x-httpr-php .php .phtml .html has no effect.
 |  | 
| Back to top |  | 
| James Blond Moderator
 
  
 Joined: 19 Jan 2006
 Posts: 7442
 Location: EU, Germany, Next to Hamburg
 
 |  | 
| Back to top |  | 
| Pluto 
 
 
 Joined: 19 Nov 2009
 Posts: 5
 
 
 | 
|  Posted: Tue 24 Nov '09 16:38    Post subject: |   |  
| 
 |  
| OK, I have D/L the latest versions of Apache anad PHP
 Apache 2.2.14 og PHP 5.3.1.0
 
 I have done everything stated in the installation document from apachelounge as suggested, but Apache will only start if I disable the LoadModule directive and the PHPIniDir directive.
 
 According to Apachelounge this should be a piece of cake, but mine is obviously not baked yet.
 
 What am I to do?
 |  | 
| Back to top |  | 
| James Blond Moderator
 
  
 Joined: 19 Jan 2006
 Posts: 7442
 Location: EU, Germany, Next to Hamburg
 
 | 
|  Posted: Tue 24 Nov '09 17:17    Post subject: |   |  
| 
 |  
| Where did you download your apache? Did you use apache lounge apache? Where did you download your php. Which version? 
 If nothing helps there is a working package named xampp. Well I dislike those packages since you don't know what is realy in it, but at least it works.
 |  | 
| Back to top |  |