Windows and eZ publish. PHP4+MySQL5

Author Message

Simon Males

Tuesday 31 October 2006 3:13:02 pm

What is a working configuration for Windows using Apache and PHPv4.

I have PHP 4.4.4, MySQL 5.0.27 and Apache 2.2.3 on Windows XP. I need someone to confirm that this mix of applications will work.

AFAIK, no PHP apps can connect to MySQL when PHPv4 is used. PHPv5 works fine. The applications I'm testing: phpBB, PHPlist and phpAdsNew. I believe the issue is the MySQL client API version.

Client API version: 3.23.49 (pulled from phpinfo()).

I've read on various forums, that the client hasn't been updated in PHP4 Win32, the solution being to upgrade to PHP5. PHP5 has an v5 client. I don't believe this is an issue on non Win32 systems.

How are people using this on Windows?

Simon Males

Tuesday 31 October 2006 3:42:26 pm

Finally, I managed to work this out on my own. I would be preffered to upgrade the client API but was able to downgrade the password hash that MySQL >4.1 uses.

http://dev.mysql.com/doc/refman/5.0/en/old-client.html

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 21:17:38
Script start
Timing: Jan 18 2025 21:17:38
Module start 'layout'
Timing: Jan 18 2025 21:17:38
Module start 'content'
Timing: Jan 18 2025 21:17:38
Module end 'content'
Timing: Jan 18 2025 21:17:38
Script end

Main resources:

Total runtime0.7961 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0060 589.1719152.6406
Module start 'layout' 0.00600.0032 741.812539.4766
Module start 'content' 0.00920.7857 781.2891422.5938
Module end 'content' 0.79490.0012 1,203.88288.1406
Script end 0.7961  1,212.0234 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.4138160.0002
Check MTime0.00140.1713160.0001
Mysql Total
Database connection0.00070.086910.0007
Mysqli_queries0.756194.9720520.0145
Looping result0.00050.0687500.0000
Template Total0.757695.220.3788
Template load0.00220.277920.0011
Template processing0.755494.881420.3777
Template load and register function0.00020.019710.0002
states
state_id_array0.00070.085110.0007
state_identifier_array0.00670.835520.0033
Override
Cache load0.00190.2431120.0002
Sytem overhead
Fetch class attribute can translate value0.00060.078710.0006
Fetch class attribute name0.00090.107720.0004
XML
Image XML parsing0.00010.013610.0001
class_abstraction
Instantiating content class attribute0.00000.000520.0000
General
dbfile0.00070.0916100.0001
String conversion0.00000.001740.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 6
 Number of unique templates used: 4

Time used to render debug report: 0.0001 secs