ID: 32292 Comment by: benz dot amg at gmail dot com Reported By: admin at skynetlabs dot org Status: No Feedback Bug Type: XML related Operating System: Windows XP (SP2) PHP Version: 5.0.4 RC1 New Comment:
I just installed PHP 5.x (php-5.2.3-win32-installer.msi) and Apache 2.2.x on WinXP for testing. I haven't changed php.ini or moved anything anywhere, just basic plain install with some modules (not all enabled!). This is first time I've installed PHP on this windwos mathine. However it gives me same problem. I wasn't able to get it working. -------------------------------------------------------------------- C:\php>php -v PHP Notice: Constant XML_ELEMENT_NODE already defined in Unknown on line 0 PHP Notice: Constant XML_ATTRIBUTE_NODE already defined in Unknown on line 0 PHP Notice: Constant XML_TEXT_NODE already defined in Unknown on line 0 PHP Notice: Constant XML_CDATA_SECTION_NODE already defined in Unknown on line 0 PHP Notice: Constant XML_ENTITY_REF_NODE already defined in Unknown on line 0 PHP Notice: Constant XML_ENTITY_NODE already defined in Unknown on line 0 PHP Notice: Constant XML_PI_NODE already defined in Unknown on line 0 PHP Notice: Constant XML_COMMENT_NODE already defined in Unknown on line 0 PHP Notice: Constant XML_DOCUMENT_NODE already defined in Unknown on line 0 PHP Notice: Constant XML_DOCUMENT_TYPE_NODE already defined in Unknown on line 0 PHP Notice: Constant XML_DOCUMENT_FRAG_NODE already defined in Unknown on line 0 PHP Notice: Constant XML_NOTATION_NODE already defined in Unknown on line 0 PHP Notice: Constant XML_HTML_DOCUMENT_NODE already defined in Unknown on line 0 PHP Notice: Constant XML_DTD_NODE already defined in Unknown on line 0 PHP Notice: Constant XML_ELEMENT_DECL_NODE already defined in Unknown on line 0 PHP Notice: Constant XML_ATTRIBUTE_DECL_NODE already defined in Unknown on line 0 PHP Notice: Constant XML_ENTITY_DECL_NODE already defined in Unknown on line 0 PHP Notice: Constant XML_NAMESPACE_DECL_NODE already defined in Unknown on line 0 PHP Notice: Constant XML_LOCAL_NAMESPACE already defined in Unknown on line 0 PHP Notice: Constant XML_ATTRIBUTE_CDATA already defined in Unknown on line 0 PHP Notice: Constant XML_ATTRIBUTE_ID already defined in Unknown on line 0 PHP Notice: Constant XML_ATTRIBUTE_IDREF already defined in Unknown on line 0 PHP Notice: Constant XML_ATTRIBUTE_IDREFS already defined in Unknown on line 0 PHP Notice: Constant XML_ATTRIBUTE_ENTITY already defined in Unknown on line 0 PHP Notice: Constant XML_ATTRIBUTE_NMTOKEN already defined in Unknown on line 0 PHP Notice: Constant XML_ATTRIBUTE_NMTOKENS already defined in Unknown on line 0 PHP Notice: Constant XML_ATTRIBUTE_ENUMERATION already defined in Unknown on line 0 PHP Notice: Constant XML_ATTRIBUTE_NOTATION already defined in Unknown on line 0 PHP 5.2.3 (cli) (built: May 31 2007 09:37:22) Copyright (c) 1997-2007 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies [ Here Windows crash dialog comes up ] * CLI has encountered a problem and needs to close. * To see what data this error report contains click here: After clicking I see: AppName: php.exe AppVer: 5.2.3.3 ModName: php5ts.dll ModVer: 5.2.3.3 Offset: 00099a7d Same thing happens if I do: php.exe test.php (test.php only has <?php phpinfo(); ?> line in it. Nothing prints, crash immediately following "PHP Notice: Constant XML_XXXXX_XXX" messages like seen above. php-win.exe test.php shows nothing (not even XML_XXX_XX messages like above) crashes immediately. --- I don't have any wacky stuff on my machine, its a P4 2.9Ghz Sony Vaio PCG-k23 with 1gb ram. I run Slackware linux on same laptop and on linux php works fine. Previous Comments: ------------------------------------------------------------------------ [2007-06-19 07:27:08] scybeam at yahoo dot com I just reproduced this error with apache 2.2.4 and php 5.2.3. ------------------------------------------------------------------------ [2007-05-03 01:18:13] lew_0911 at yahoo dot com I'm also experiencing this problem. I have xammplite on my system. I needed to use symfony for my work and so I am studying it, I tried doing the tutorial provided (http://www.symfony-project.com/tutorial/my_first_project.html) and everytime I attempt to create a post, my apache crashes. ------------------------------------------------------------------------ [2006-02-04 10:06:04] dwivedi dot vibhor at gmail dot com i am facing following problem Can't locate API module structure `php5_module' in file C:/PHP/php5ts.dll: ------------------------------------------------------------------------ [2006-02-04 08:26:06] dwivedi dot vibhor at gmail dot com i just installed apache and php in my windows xp apache is running nicely when i am not loading php module but when i changed configuration file as add ing this two lines LoadModule php5_module "c:/PHP/php5ts.dll" AddType application/x-httpd-php .php but now if i restart the server it is giving error i don't know what t o do next plese try with php5 and apache latest version. ------------------------------------------------------------------------ [2006-02-04 08:22:34] dwivedi dot vibhor at gmail dot com i just installed apache server and php. i add these 3 lines in config file. LoadModule php5_module c:/PHP/php5ts.dll AddType application/x-httpd-php .php ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/32292 -- Edit this bug report at http://bugs.php.net/?id=32292&edit=1