Forums / Install & configuration / Upgrade to version 3.6. on Windows XP system
ubaldo pizzoli
Tuesday 28 June 2005 2:57:26 am
How to run the upgrade scripts on windows Xp system?
I've tried but the only results it's to get the "Please run this script from the root document directory!" error message
Łukasz Serwatka
Tuesday 28 June 2005 3:55:12 am
Hi,
You have to run upgrade scripts from eZ publish root directory. So if you have installed eZ publish in C:\ezpublish and PHP in C:\PHP then.
c:\>cd ezpublish c:\ezpublish>c:\PHP\cli\php.exe -C update\common\scripts\NameOfScript.php
Personal website -> http://serwatka.net Blog (about eZ Publish) -> http://serwatka.net/blog
Kristoffer Raun
Tuesday 28 June 2005 6:14:02 pm
Every time i try this in CMD I get:
status: 404 Content-type:text/htmlPowered-By PHP/4.3.9
no input file specified I use command:c:\ezpublish\php\php.exe update\common\scripts\convertxmllinks.php -s "admin_siteacces"
Hope you can help me! ;-)
brgKristoffer
<i>If you can't describe what you are doing as a process, you don't know what you're doing.</i> W. Edwards Deming
Tuesday 28 June 2005 11:17:17 pm
You have to use PHP in CLI mode not in CGI to run this scripts. Look in to PHP dir for "CLI". Try also with -C parameter.
Wednesday 29 June 2005 4:21:46 am
It worked for me. First i got a error -something about Zend_uv Then i copied/overwrited the php4ts.dll in c:\windows\system32 with the one in the php-dir. That seemed to do the trick.Thank you Lukasz for the help!