Share » Forums » Install & configuration » Problem installing Ez publish 4 on...

Problem installing Ez publish 4 on Win XP

Problem installing Ez publish 4 on Win XP

Thursday 04 September 2008 12:28:58 pm - 8 replies

Author Message

Pierre T.

Friday 05 September 2008 1:08:50 am

Hi Henriette and welcome to the ezecosystem :)

How did you install apache, php & mysql ? Did you use wamp ? I advise you this soft which installs the latest versions of apache, php & mysql.

According to what your ezpublish installation says, you're not running php 5. Could you please verify you php version in a small php script ? Just enter this in it :

<?php
     phpinfo();
?>

And save your file as "check.php" in your /www directory. In firefox, type : http://localhost/check.php and tell us what the php version is written !

Regards,

P.

Henriette Henriksen

Friday 05 September 2008 3:44:10 am

Hi.
Thank you for your respond :)

I installed Apache, PHP and MySQL manually. (And it was installed in the mentioned order as well)

I ran the script as mentioned, and the outcome is version 5.2.6
I also ran the php –v in command, and the outcome was version 5.2.6 as well.
Maybe I should try wamp as you mentioned. I guess I have to uninstall Apache and MySQL before using wamp?

Henri:)

André R.

Friday 05 September 2008 4:19:30 am

Hei Henriette!

Yes, you'll have to uninstall it first.
I personally use wamp, and it will save you a lot of time, especially if you need to test other php / apache / mysql versions at some time:
http://www.wampserver.com/en/

Some recommended optimizations to wamp for development setup on a machine with some memory:
php.ini (open with the try icon, to be sure you get the correct one)

max_execution_time = 120
max_input_time = 130
memory_limit = 164M

error_reporting = E_ALL|E_STRICT

post_max_size = 100M

upload_max_filesize = 100M

extension=php_apc.dll
extension=php_curl.dll
extension=php_gd2.dll
;extension=php_ldap.dll
extension=php_mbstring.dll
extension=php_mcrypt.dll
extension=php_mysql.dll

[Date]
date.timezone = CET

[APC]
apc.enabled = 1
apc.cache_by_default = 1
apc.enable_cli = 0
apc.shm_segments = 1
apc.shm_size = 96
apc.stat=1

httpd.conf

# look for a section that looks like this
<Directory "c:/www/">
# and set the Allow from section to something like this so apache isn't 
# accepting request from everyone without your knowledge
    Order Deny,Allow
    Deny from all
    Allow from 127.0.0.1 192.168.1 10.0.10

</Directory>

# if you also use a different web server on your machine, set apache to
# use a different port
Listen 81
ServerName localhost:81 

To install apc, download it (if it isn't included) from (the one for 5.2.1 works for 5.2.6 as well):
http://pecl4win.php.net/ext.php/php_apc.dll

And download it to your php extension folder, mine is:
extension_dir = "c:/wamp/bin/php/php5.2.6/ext/"

Should probably use xdebug during development, but doesn't work that well with apc.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Henriette Henriksen

Friday 05 September 2008 4:34:37 am

Thanx guys.

I'll give wamp a try tonight. :)

Henri:)

Henriette Henriksen

Friday 05 September 2008 11:57:20 am

Unfortunally I received the same error-message after using wamps.

Unsupported PHP version " . phpversion() . "
" ); print( "
eZ Publish 4.x does not run with PHP 4.

Maybe I’m doing something wrong here. (Feel quite stupid now)

André R.

Friday 05 September 2008 12:23:56 pm

Seems we're overlooking something here, the text your posting includes 'print(' and 'phpversion()' witch indicates that the php file is served as html, aka php is not handling your php files.

This is what I get if I change to php4.4.7 and try to run eZ Publish 4.0.1:

Parse error: syntax error, unexpected ',', expecting '(' in C:\www\stable4\index.php on line 113

Reason, ezp 4.0.1 use class constants, a feature not supported by php 4.x.

So how have you setup php?
Is the wamp icon in the tray totaly white?
How do you access ezp?
And how did you access the phpinfo() php file?
Are there any rewrite rules involved?

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

mbuet Mbuet

Saturday 06 September 2008 8:09:43 am

Hi !
You have an automated bundle solution here: http://bitnami.org/stack/ezpublish
But, it seems that the updated version of the ez publish 4.0.1 is not yet done. This, despite the promise given: http://bitnami.org/forums/forums/28/topics/433

Best regards

Manuel F Viera

Monday 08 September 2008 7:37:07 am

Hi MBuet,

We have already updated eZpublish to 4.0.1 version. You can find it at http://bitnami.org/stack/ezpublish

I hope you enjoy it!,

Best regards,
Manuel.

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu