OK I've downloaded phpweb and tried to run it on PHP5, but have fallen
at the first hurdle.
index.php calls for
include/pregen-events.inc
but I can't see that on the CVS - where am I going wrong :)
Second problem - it seems to be hard coded to be the root web directory,
is that the same in PHP4? If I want to run it I have to make phpweb my
root Apache directory. I'm normally designing to a subdirectory which
can be changed without affecting operations, such as running a new
version, so fixed paths through me a bit ;)
--
Lester Caine
L.S.Caine Electronic Services
Hello Lester,
OK I've downloaded phpweb and tried to run it on PHP5, but have fallen
at the first hurdle.index.php calls for
include/pregen-events.inc
but I can't see that on the CVS - where am I going wrong :)
Use rsync:
-- snip rsync.sh from our php.net mirror --
#!/bin/sh
base="/home/httpd/php3.de"
/usr/local/bin/rsync -avzC --delete --delete-after rsync.php.net::phpweb
$base/doc_root >/dev/null
-- /snip --
Second problem - it seems to be hard coded to be the root web directory,
is that the same in PHP4? If I want to run it I have to make phpweb my
root Apache directory. I'm normally designing to a subdirectory which
can be changed without affecting operations, such as running a new
version, so fixed paths through me a bit ;)
How about virtualhosts?
- Timm
Timm Friebe wrote:
Hello Lester,
OK I've downloaded phpweb and tried to run it on PHP5, but have fallen
at the first hurdle.index.php calls for
include/pregen-events.inc
but I can't see that on the CVS - where am I going wrong :)Use rsync:
-- snip rsync.sh from our php.net mirror --
#!/bin/shbase="/home/httpd/php3.de"
/usr/local/bin/rsync -avzC --delete --delete-after rsync.php.net::phpweb
$base/doc_root >/dev/null
-- /snip --
And now in English ?
I'm running CVS on Eclipse3 (on Windows) - pregen-events.inc is not
present in HEAD as far as I can see so what should I be 'syncing' with ?
Second problem - it seems to be hard coded to be the root web directory,
is that the same in PHP4? If I want to run it I have to make phpweb my
root Apache directory. I'm normally designing to a subdirectory which
can be changed without affecting operations, such as running a new
version, so fixed paths through me a bit ;)How about virtualhosts?
I've only just sorted out real ones :)
--
Lester Caine
L.S.Caine Electronic Services
Timm Friebe wrote:
[...]Use rsync:
-- snip rsync.sh from our php.net mirror --
#!/bin/shbase="/home/httpd/php3.de"
/usr/local/bin/rsync -avzC --delete --delete-after rsync.php.net::phpweb
$base/doc_root >/dev/null
-- /snip --And now in English ?
Don't use a cvs checkout, use the above shell script. If you use a cvs
checkout, you'll have to start the build script, which takes quite a
while to complete. The rsync should be faster and you can be sure you
have an exact copy of php.net, including all generated files.
- Timm
Timm Friebe wrote:
Timm Friebe wrote:
[...]
Use rsync:
-- snip rsync.sh from our php.net mirror --
#!/bin/shbase="/home/httpd/php3.de"
/usr/local/bin/rsync -avzC --delete --delete-after rsync.php.net::phpweb
$base/doc_root >/dev/null
-- /snip --And now in English ?
Don't use a cvs checkout, use the above shell script. If you use a cvs
checkout, you'll have to start the build script, which takes quite a
while to complete. The rsync should be faster and you can be sure you
have an exact copy of php.net, including all generated files.
So I'm basically stuffed ?
And I'm only trying to help.
Anybody know how to use this script with Eclipse CVS on Windows ?
--
Lester Caine
L.S.Caine Electronic Services
Timm Friebe wrote:
[...]
Anybody know how to use this script with Eclipse CVS on Windows ?
Get cygwin (http://cygwin.com/) or check Google on a Windows version of
it (http://www.google.com/search?q=rsync%20Windows).
- Timm
Timm Friebe wrote:
Anybody know how to use this script with Eclipse CVS on Windows ?
Get cygwin (http://cygwin.com/) or check Google on a Windows version of
it (http://www.google.com/search?q=rsync%20Windows).
No thanks - I've been there before.
I'm running Eclipse with PHPEclipse and if I need anything other than
that then - 'Sorry I can't help' ;)
Thanks for the download Jan. Just need to make sure I don't mix up what
should and what should not be in HEAD :)
--
Lester Caine
L.S.Caine Electronic Services
Lester Caine wrote:
I'm running Eclipse with PHPEclipse and if I need anything other than
that then - 'Sorry I can't help' ;)
What does an IDE (Eclipse in your case) have to do with running phpweb?
--
Sebastian Bergmann
http://sebastian-bergmann.de/ http://phpOpenTracker.de/
Das Buch zu PHP 5: http://professionelle-softwareentwicklung-mit-php5.de/
Sebastian Bergmann wrote:
Lester Caine wrote:
I'm running Eclipse with PHPEclipse and if I need anything other than
that then - 'Sorry I can't help' ;)What does an IDE (Eclipse in your case) have to do with running phpweb?
Eclipse also has all my code management tools, such as CVS client, and
debugging with PHPEclipse. It is all that I have needed so far in
developing and testing PHP applications. So I don't need to start
loading and learning anything else - especially where I have already
tried them and dropped them as a waste of space :)
p.s. Thanks Jan - 15 mins and everything was running fine, so now I just
need to sort out how to replace the 'extra' bits. Not done a
comprehensive test, but php.net working fine on W2k/Apache2/PHP5 as was
probably expected. The fun will come with running an update ;)
--
Lester Caine
L.S.Caine Electronic Services
need to sort out how to replace the 'extra' bits. Not done a
comprehensive test, but php.net working fine on W2k/Apache2/PHP5 as was
probably expected. The fun will come with running an update ;)
I just set up phpweb on Mac OS X / Apache 1.3 / PHP 5 CVS and it also
seems to be working great.
Since the site doesn't really tickle any of the changed PHP 5 features
(OOP, MySQL, XML), it seems to have emerged unscathed. :)
-adam
--
adam@trachtenberg.com
author of o'reilly's php cookbook
avoid the holiday rush, buy your copy today!
Lester Caine wrote:
Anybody know how to use this script with Eclipse CVS on Windows ?
rsync has nothing to do with CVS. Try getting a Windows client of rsync.
On the other hand, since the PHP website is running on UNIX, I don't
think it should be tested on Windows. We have recently seen bugs with
PHP5 that only happened on Windows. The opposite might be true, and
while it could run fine on Windows, maybe it'd segfault on UNIX.
Sincerely,
Olivier
GB/E/IT d+ s+:+ a-- C++$ UL++++$ P++++ L+++$ E- W++$ N- ?o ?K w--(---)
!O M+$ V- PS+ PE- Y PGP t++ 5-- X+@ R- tv++ b++(+++) DI++++ D+ G++ e+>++
h(*) r y+(?)
Lester Caine wrote:
Anybody know how to use this script with Eclipse CVS on Windows ?
rsync has nothing to do with CVS. Try getting a Windows client of
rsync.On the other hand, since the PHP website is running on UNIX, I don't
think it should be tested on Windows. We have recently seen bugs with
PHP5 that only happened on Windows. The opposite might be true, and
while it could run fine on Windows, maybe it'd segfault on UNIX.
Why eliminate a testing platform? PHP5 should be tested wherever
possible and bugs reported.
George
George Schlossnagle wrote:
Why eliminate a testing platform? PHP5 should be tested wherever
possible and bugs reported.
+1 ;)
You are right. What I meant was more: "Let's test it on Windows, but
before we can conclude the website is PHP5 ready, let's test it on the
same platform it is already running on".
Which raise another question: Is someone hosting a PHP website mirror
would be ready to migrate to PHP5? While it would give a good
indication, it would not shut down the main site in case of problems. Is
it something we would like to do?
If I'm being ridiculous, I'm terribly sorry,
Olivier
GB/E/IT d+ s+:+ a-- C++$ UL++++$ P++++ L+++$ E- W++$ N- ?o ?K w--(---)
!O M+$ V- PS+ PE- Y PGP t++ 5-- X+@ R- tv++ b++(+++) DI++++ D+ G++ e+>++
h(*) r y+(?)
You are right. What I meant was more: "Let's test it on Windows, but
before we can conclude the website is PHP5 ready, let's test it on the
same platform it is already running on".Which raise another question: Is someone hosting a PHP website mirror
would be ready to migrate to PHP5? While it would give a good
indication, it would not shut down the main site in case of problems. Is
it something we would like to do?
There are already two mirrors running PHP 5!
I'm also running PHP 5 in my windows box since the first beta and now it
doesn't crash. (bah, when I restart/stop apache2 it sometimes gives an
error....).
Nuno
Nuno Lopes wrote:
You are right. What I meant was more: "Let's test it on Windows, but
before we can conclude the website is PHP5 ready, let's test it on the
same platform it is already running on".Which raise another question: Is someone hosting a PHP website mirror
would be ready to migrate to PHP5? While it would give a good
indication, it would not shut down the main site in case of problems. Is
it something we would like to do?There are already two mirrors running PHP 5!
I'm also running PHP 5 in my windows box since the first beta and now it
doesn't crash. (bah, when I restart/stop apache2 it sometimes gives an
error....).
Had that with RC1. It's been fine on RC2 and 3
--
Lester Caine
L.S.Caine Electronic Services
Hi,
I did the rsync for Lester and put up an archive
for him to download, excluding extra/ distributions/
and manual/
I sent him the URL to the archive in a private mail,
if anyone else is interested, please drop me a note.
Jan
GPG Key: BB96 56B0
Q: Thank Jan? - A: http://geschenke.an.dasmoped.net/