Install eZ on a different server than IIS and PHP

Author Message

Jacques Scherer

Monday 18 April 2005 9:15:47 am

Hello,

I have a question,
Is'it possible to install eZ on one server and install IIS and PHP on an other server ?
what is the best solution for make this, actually i have a problem with path, PHP'server dont know path of eZbinaries, when i try to execute a script php for create schema on SQL server i have many error and warning...:-(
Anyone have a solution ?
(I have try to change the include path in PHP, but no effect !)
Regards
Jacques

Xavier Dutoit

Tuesday 19 April 2005 12:38:29 am

Well the official databases are postgres and mysql (and if I'm right there is a commercial extension to deal with oracle). This might explain why you get error messages with sql server.

As for the scripts, do you mention the scripts in /bin/shell ? Again they are meant to run from the root of your installation from the cli. (in linux $ ./bin/shell/...sh)

X+

http://www.sydesy.com

Jacques Scherer

Tuesday 19 April 2005 1:17:37 am

Hello ,
Thank's for your response,
I have resolved my problem with a new install of PHP, now I have a new pb, when I excecute script for create schema on MSSQL server, I obtain this msg :
<b>
C:\php4\cli>php d:Ezinstall\bin\php\ezsqlinsertschema.php -d --clean-existing -
-schema-file=extension/mssql/patch/3.5/share/db_schema.dba --insert-types=all --
type=mssql --host=xxxx.xxx.xxx\CMS --user=xxxx --password=xxxxx share/db_data
.dba CMS_DEV

Fatal error: eZINI: Undefined group: 'FileSettings' in d:\Ezinstall\lib\ezutils\
classes\ezdebug.php on line 428

C:\php4\cli> </b>

my configuration :
Windows 2003 - IIS6 - PHP 4.3.11 - eZpublish 3.52 - plugin mssql in the same machine MS SQL Server service pack 3a on an other machine.
Please help me
I am running in a circle...:-(((
Regards
Jacques

 

Łukasz Serwatka

Tuesday 19 April 2005 2:28:36 am

IIS web server is not supported by eZ publish.
http://www.ez.no/ez_publish/documentation/faq/general/does_ez_publish_run_under_iis

The MSSQL Database Extension makes it possible to use Microsoft SQL Server as a database for eZ publish.
http://www.ez.no/solutions/solutions_and_software/mssql_database_extension

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

Jacques Scherer

Tuesday 19 April 2005 4:54:42 am

hi Lukasz,
thanks, but the features described in documentations "install and configuration" allow eZpublih work fine with IIS, I know a site that use this (banca lombarda in luxembourg).
We have purchased plugin MSSQL and download this.
About of error,
I think this is a problem of rights ??? or we have'nt all patchs for work with MSSQL.
Regards
Jacques

Łukasz Serwatka

Tuesday 19 April 2005 5:02:23 am

All update scripts should be run from eZ root_dir.

$ cd D:\Ezinstall
$ C:\php4\cli\php.exe -C bin\php\ezsqlinsertschema.php -d --clean-existing  --schema-file=extension/mssql/patch/3.5/share/db_schema.dba --insert-types=all --type=mssql --host=xxxx.xxx.xxx\CMS --user=xxxx --password=xxxxx share/db_data.dba CMS_DEV

I hope it will help

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

Jacques Scherer

Tuesday 19 April 2005 11:50:55 pm

HI Lukasz,

Many Thanks, it's work
Regards
Jacques

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 20 2025 03:13:20
Script start
Timing: Jan 20 2025 03:13:20
Module start 'layout'
Timing: Jan 20 2025 03:13:20
Module start 'content'
Timing: Jan 20 2025 03:13:21
Module end 'content'
Timing: Jan 20 2025 03:13:21
Script end

Main resources:

Total runtime0.8229 sec
Peak memory usage4,096.0000 KB
Database Queries71

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0049 590.5234152.6563
Module start 'layout' 0.00490.0024 743.179739.5078
Module start 'content' 0.00730.8141 782.6875633.5156
Module end 'content' 0.82140.0014 1,416.203116.1094
Script end 0.8228  1,432.3125 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00290.3557160.0002
Check MTime0.00120.1471160.0001
Mysql Total
Database connection0.00070.090710.0007
Mysqli_queries0.758392.1549710.0107
Looping result0.00070.0898690.0000
Template Total0.790996.120.3954
Template load0.00190.234820.0010
Template processing0.788995.877320.3945
Template load and register function0.00020.025610.0002
states
state_id_array0.00090.111410.0009
state_identifier_array0.00110.133020.0005
Override
Cache load0.00170.2075600.0000
Sytem overhead
Fetch class attribute can translate value0.00080.098330.0003
Fetch class attribute name0.00100.118590.0001
XML
Image XML parsing0.00110.130830.0004
class_abstraction
Instantiating content class attribute0.00000.0022100.0000
General
dbfile0.00120.1519240.0001
String conversion0.00000.001240.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
7content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
13content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
8content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.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: 7

Time used to render debug report: 0.0001 secs