Top Mud Sites Forum Return to TopMudSites.com
Go Back   Top Mud Sites Forum > Mud Development and Administration > MUD and RPG Webmasters
Click here to Register

Reply
 
Thread Tools
Old 05-02-2002, 07:37 PM   #1
Seth
Senior Member
 
Join Date: Apr 2002
Location: Ede, The Netherlands
Posts: 271
Seth is on a distinguished road
Send a message via ICQ to Seth Send a message via MSN to Seth
Okay, having installed Apache 2.0 and PHP 4.2, I have now begun testing these two. Hopefully, this won't end up in a complete disaster. I'm going to test the most-used PHP functions, like MySQL support and the File functions, so in case I do encounter something odd, one of you people who might consider this (new) combination will know what to do, hopefully...

So far, MySQL doesn't seem to be working with PHP 4.2. Very odd considering it did work with version 4.1. But this might be dismissed as due to me disabling safe_mode...

Looking for input
Seth is offline   Reply With Quote
Old 05-02-2002, 08:03 PM   #2
Xanferious
Senior Member
 
Join Date: Apr 2002
Location: The Void
Posts: 490
Xanferious is on a distinguished road
Send a message via AIM to Xanferious
my shell has mysql and php 4.2 they work fine from what ive seen, but then again i dont know to much about Mysql...
Xanferious is offline   Reply With Quote
Old 05-03-2002, 04:44 AM   #3
Seth
Senior Member
 
Join Date: Apr 2002
Location: Ede, The Netherlands
Posts: 271
Seth is on a distinguished road
Send a message via ICQ to Seth Send a message via MSN to Seth
Concerning PHP, apparently due to an error in the conguration script, some nasty happens to your MySQL module, causing it to map all 'localhost' calls to the db to 'localhost.localdomain'. Fortunatly, the PHP crew have give us a new configure script to reconfigure and recompile PHP with. Yay. Time for another 30 minutes of looking at scrolling text... Ah well.
Seth is offline   Reply With Quote
Old 05-04-2002, 01:19 PM   #4
Seth
Senior Member
 
Join Date: Apr 2002
Location: Ede, The Netherlands
Posts: 271
Seth is on a distinguished road
Send a message via ICQ to Seth Send a message via MSN to Seth
Ah well, the adviced configure script does not work. However, if you are lucky and have autoconf version 2.13 installed, you can ./buildconf a new configure file and use that one, I tried that method and my MySQL now works flawlessly along with PHP and Apache
Seth is offline   Reply With Quote
Old 05-08-2002, 10:55 PM   #5
Xanferious
Senior Member
 
Join Date: Apr 2002
Location: The Void
Posts: 490
Xanferious is on a distinguished road
Send a message via AIM to Xanferious
im off topic here, but did you hear about ip version 6
the currernt version of the IP system we use now is ipv4 and its 32 bit, withh all the class range a,b,c,d,e, there all mostly sold out, ipv6 is 128 bit in hex. sounds nifty doesnt it...
Xanferious is offline   Reply With Quote
Old 05-09-2002, 08:44 AM   #6
Seth
Senior Member
 
Join Date: Apr 2002
Location: Ede, The Netherlands
Posts: 271
Seth is on a distinguished road
Send a message via ICQ to Seth Send a message via MSN to Seth
Don't know allot about IPv6 yet, but hexadecimal? You mean hex IP adresses instead of decimal IP adresses? Like no more 212.187.15.61 but xD4.xBB.x0F.x3D ?
Seth is offline   Reply With Quote
Old 05-09-2002, 08:57 AM   #7
Xanferious
Senior Member
 
Join Date: Apr 2002
Location: The Void
Posts: 490
Xanferious is on a distinguished road
Send a message via AIM to Xanferious
something like that it will be 128 bit in hex, so it would look something like this af:4d:00:b4:32:c2:ff:f5
do a search here for ipv6, all the info is here
Xanferious is offline   Reply With Quote
Old 05-09-2002, 08:57 AM   #8
Yui Unifex
Senior Member
 
Join Date: Apr 2002
Location: Florida
Posts: 323
Yui Unifex is on a distinguished road
Send a message via ICQ to Yui Unifex Send a message via AIM to Yui Unifex
Question

IPv6 address look something like this: 3ffe:1900:4545:3:200:f8ff:fe21:67cf

A site with some information: http://www.opus1.com/ipv6/whatdoesan...slooklike.html

Although I must say that IPv6 has been greatly hindered by the proliferation of NAT (Network Address Translation).  Everything that was supposed to have taken an extra IP is usually just translated through special-purpose devices.  If you've got one of those excellent Cable/DSL routers that Linksys makes, you've got a little NAT box.

Quote:
Originally Posted by (Seth @ blah)
causing it to map all 'localhost' calls to the db to 'localhost.localdomain'
Just put the line:
127.0.0.1 localhost.localdomain

in your /etc/hosts file =).

All that aside, I've not tested Apache 2.0 and PHP 4.2 at all.  I guess I should update my ports collection more often =).  Even though Apache is the program that crashes the most on my boxes (2-3 crashes a day), it always starts back up transparently, so nobody ever notices it.
Yui Unifex is offline   Reply With Quote
Old 05-09-2002, 12:20 PM   #9
Seth
Senior Member
 
Join Date: Apr 2002
Location: Ede, The Netherlands
Posts: 271
Seth is on a distinguished road
Send a message via ICQ to Seth Send a message via MSN to Seth
I don't see why (S)NAT hinders the development of IPv6. I think that IPv6 will be extremely hard to implement anyways due to the millions of PCs that will need instant changes to their most basic configurations, not to even mention the configurations of individual programs, the need to alter code etc... Would the advantages of IPv6 outweigh the disadvantages?

As for PHP 4.2.0, it's okay after I had build a new configure script. Everything seems to work more or less, but the GD libs seem to require humongous ammounts of systems resources, but I think that's mainly due to the fact that image generating is just a bitch on system resources.

And the MySQL bit isn't that easy to solve. All localhost connections were mapped to localhost.localdomain in the PHP MySQL libs, not due to a kernel issue. Using /etc/hosts would reroute it back to 127.0.0.1 but the request for authentication would still include localhost.localdomain as host, which would fail against most mysql.user tables because they usually only contain entries for localhost or remote hosts.
Seth is offline   Reply With Quote
Old 05-09-2002, 12:33 PM   #10
Yui Unifex
Senior Member
 
Join Date: Apr 2002
Location: Florida
Posts: 323
Yui Unifex is on a distinguished road
Send a message via ICQ to Yui Unifex Send a message via AIM to Yui Unifex
Question

Quote:
Originally Posted by (Seth @ May 09 2002,12:20 pm)
I don't see why (S)NAT hinders the development of IPv6.
It doesn't directly hinder development of IPv6.  It's just that the need for IPv6 is less urgent because it's easy to map one IP to multiple devices with NAT.

Quote:
Originally Posted by (Seth @ blah)
And the MySQL bit isn't that easy to solve. All localhost connections were mapped to localhost.localdomain in the PHP MySQL libs, not due to a kernel issue. Using /etc/hosts would reroute it back to 127.0.0.1 but the request for authentication would still include localhost.localdomain as host, which would fail against most mysql.user tables because they usually only contain entries for localhost or remote hosts.
Then why not do:
GRANT ... user@localhost.localdomain ...;

[Edit: Screw the SQL tag.  Stupid autoparser is going nuts on the email address.]
Yui Unifex is offline   Reply With Quote
Old 05-09-2002, 12:46 PM   #11
Seth
Senior Member
 
Join Date: Apr 2002
Location: Ede, The Netherlands
Posts: 271
Seth is on a distinguished road
Send a message via ICQ to Seth Send a message via MSN to Seth
Quote:
Originally Posted by (Yui Unifex @ May 09 2002,6:33 pm)
It doesn't directly hinder development of IPv6.  It's just that the need for IPv6 is less urgent because it's easy to map one IP to multiple devices with NAT.

Then why not do:
GRANT ... user@localhost.localdomain ...;

[Edit: Screw the SQL tag.  Stupid autoparser is going nuts on the email address.]
*pets his ickle Celeron 300mhz SNAT server*

Besides, the things you said would solve it indeed, but what about scripts that automatically add users or any such scripts? Besides, it simply should work with localhost.

It's like buying a car with 5 reverse gears and 1 foward gear. It works, but not the way it should, hence it should be fixed. (although 5 reverse gears would rock... Especially driving backward at 140 km/h)
Seth is offline   Reply With Quote
Reply


Thread Tools


Testing Apache 2.0 and PHP 4.2 - Similar Threads
Thread Thread Starter Forum Replies Last Post
Projected Alpha Testing Baram Tavern of the Blue Hand 0 04-25-2006 04:30 PM
testing jediwannabe Bugs and Suggestions 0 01-12-2004 02:01 AM
Intermud-3 Router Testing Samson MUD Coding 2 09-28-2003 12:40 PM
More Testing.. please ignore. imported_Synozeer Bugs and Suggestions 0 12-30-2002 01:06 AM
Apache 2.0 Seth MUD and RPG Webmasters 2 04-20-2002 05:54 PM

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

All times are GMT -4. The time now is 10:07 PM.


Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Style based on a design by Essilor
Copyright Top Mud Sites.com 2014