Newbie question about XAMPP [message #183456] |
Sun, 27 October 2013 10:48 |
Robert Crandal
Messages: 3 Registered: March 2011
Karma: 0
|
Junior Member |
|
|
I was looking for an offline environment to play with
PHP and MySQL, so I chose XAMPP version 1.8.2.
If XAMPP is supposed to be able to run offline, why
did it need an Internet connection when it came time
to setup my "root" password the phpAdmin and
MySQL setup??? I'm just curious. Thank you.
Robert C.
|
|
|
Re: Newbie question about XAMPP [message #183457 is a reply to message #183456] |
Sun, 27 October 2013 11:48 |
J.O. Aho
Messages: 194 Registered: September 2010
Karma: 0
|
Senior Member |
|
|
On 27/10/13 11:48, Robert Crandal wrote:
> I was looking for an offline environment to play with
> PHP and MySQL, so I chose XAMPP version 1.8.2.
>
> If XAMPP is supposed to be able to run offline, why
> did it need an Internet connection when it came time
> to setup my "root" password the phpAdmin and
> MySQL setup??? I'm just curious. Thank you.
Never used XAMPP as I use an OS which do come with AMPP as system
packages and those don't need to download 3rd party packages which may
do things the wrong way nor relay on an OS which force you to do things
in a bad way, but I guess it detected that you had an external IP and
used it to direct you to the newly installed phpmyadmin.
--
//Aho
|
|
|
Re: Newbie question about XAMPP [message #183458 is a reply to message #183457] |
Sun, 27 October 2013 14:00 |
Jerry Stuckle
Messages: 2598 Registered: September 2010
Karma: 0
|
Senior Member |
|
|
On 10/27/2013 7:48 AM, J.O. Aho wrote:
> On 27/10/13 11:48, Robert Crandal wrote:
>> I was looking for an offline environment to play with
>> PHP and MySQL, so I chose XAMPP version 1.8.2.
>>
>> If XAMPP is supposed to be able to run offline, why
>> did it need an Internet connection when it came time
>> to setup my "root" password the phpAdmin and
>> MySQL setup??? I'm just curious. Thank you.
>
> Never used XAMPP as I use an OS which do come with AMPP as system
> packages and those don't need to download 3rd party packages which may
> do things the wrong way nor relay on an OS which force you to do things
> in a bad way, but I guess it detected that you had an external IP and
> used it to direct you to the newly installed phpmyadmin.
>
>
I agree for Linux, J.O. I find both Debian and Ubuntu's implementations
to be far better than XAMPP. Sure, you have to install several
packages, but the only real problem is figuring out which packages to
install.
On Windows, however, it is a completely different story. There I would
recommend XAMPP or LAMP to the new user.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
|
|
|
Re: Newbie question about XAMPP [message #183498 is a reply to message #183456] |
Mon, 28 October 2013 18:59 |
Arno Welzel
Messages: 317 Registered: October 2011
Karma: 0
|
Senior Member |
|
|
Am 27.10.2013 11:48, schrieb Robert Crandal:
> I was looking for an offline environment to play with
> PHP and MySQL, so I chose XAMPP version 1.8.2.
Apache, MySQL and PHP are also available as regular packages.
Configuring Apache to be able to serve PHP is also well documented, also
for Windows:
<http://www.php.net/manual/en/install.windows.manual.php>
<http://www.php.net/manual/en/install.windows.apache2.php>
Maybe it's worth a try for you and you would learn how all the
components work together and also the differences between PHP as an
Apache module or PHP as CGI.
> If XAMPP is supposed to be able to run offline, why
> did it need an Internet connection when it came time
> to setup my "root" password the phpAdmin and
> MySQL setup??? I'm just curious. Thank you.
Depending on the version the Windows firewall usually just asks if you
want to allow access to services as soon as they create listening
sockets for the first time - it does not matter if the services really
*need* this or not. It should be save to block any access from "outside"
to MySQL or Apache.
Of course it would be also wise not to allow external access within the
configuration of MySQL and Apache (e.g. only allow access from localhost
or don't bind anything else than the loopback device etc.).
--
Arno Welzel
http://arnowelzel.de
http://de-rec-fahrrad.de
|
|
|