Easy XAMMP question

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Easy XAMMP question

Postby teh-gamer » 04. July 2009 15:36

Hey all, I am new to using XAMMP and was wondering if some kind person would be willing to help me sort out a problem I am having, I want to view php scripts I write but I cannot how do I edit php ini so that I can and which php ini is the correct one? Also when editing php ini do I need the full folder destination for example "C:xammp/htdocs/xampp/foo"?
Thanks in advance
teh-gamer
 
Posts: 2
Joined: 04. July 2009 15:30

Re: Easy XAMMP question

Postby glitzi85 » 04. July 2009 15:43

If you have the latest XAMPP, there is only one php.ini left (in the php folder AFAIK). In older installations the right one resides in xampp\apache\bin.

May I ask what you need to change in the php.ini?

glitzi
User avatar
glitzi85
 
Posts: 1920
Joined: 05. March 2004 23:26
Location: Dahoim

Re: Easy XAMMP question

Postby teh-gamer » 04. July 2009 17:19

Because I dont know how to see my test scripts on my browser window and would like a seperate folder for my test scripts
teh-gamer
 
Posts: 2
Joined: 04. July 2009 15:30

Re: Easy XAMMP question

Postby glitzi85 » 04. July 2009 17:32

Then the php.ini is absolutely the wrong place to change something. It is the configuration file for the PHP parser, it has nothing to do with the Webserver Apache, where the paths can be set.

Just create in the folder xampp\htdocs another folder (eg. mytest) and put your php file (index.php) inside this folder. Then point your Browser to http://localhost/mytest
That's the easiest way of separating your Projects.

glitzi
User avatar
glitzi85
 
Posts: 1920
Joined: 05. March 2004 23:26
Location: Dahoim

Re: Easy XAMMP question

Postby twidlar » 05. July 2009 01:15

I have very simple questions too.

1. I installed XAMPP on WinXP GISKARD without problems. All the services are running.
2. On GISKARD, I go to localhost/ in Firefox. http://localhost/xampp (XAMPP for Windows) comes right up.
3. On WinXP GORT in the LAN I tried localhost/. Nothing. Firefox doesn't complain.
4. I turned off the WinXP firewall on GORT and GISKARD. /localhost on GORT still nothing,

What have I done wrong or left out?

Thanks
twidlar
 
Posts: 14
Joined: 05. July 2009 00:28
XAMPP version: 5.5.30
Operating System: Win 10 Enterprise

Re: Easy XAMMP question

Postby Wiedmann » 05. July 2009 09:40

"localhost" is always and only the own pc.
..> On another pc, e.g. GORT, you must use "http://GISKARD/".
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: Easy XAMMP question

Postby twidlar » 05. July 2009 16:41

1. That brought up http://www.giskard.com/ BAD
2. I turned off both WinXP firewalls and /giskard/xampp/ came up. GOOD
3. What do I have to change in the firewalls to let GORT and GISKARD talk?
4. How do I bring XAMPP up automatically at bootup?

Thanks.
twidlar
 
Posts: 14
Joined: 05. July 2009 00:28
XAMPP version: 5.5.30
Operating System: Win 10 Enterprise

Re: Easy XAMMP question

Postby twidlar » 05. July 2009 17:20

I figured out how GORT can talk to GISKARD through the WinXP firewall. I went to the WinXP Control Panel => Firewall => Exception => Settings and turned on the FTP, SMTP, HTTP and HTTPS ports and said they were hosted on GISKARD.

So what remains right now is how to bring up XAMPP at boottime.

What I am trying to do over all is

1. A website with PHP scripts which I have debugged with brute force echo statements. It uses MYSQL and autoresponder software which I have modified. DONE.
2. Debug single PHP page a local copy of the website with the Eclipse PDT IDE. DONE
3. Debug page to page on remote website with Eclipse PDT. CAN'T CONNECT TO ZEND DEBUGGER
4. Debug locally but connect to remote MySQL Server. CAN'T CONNECT.
5. So I installed XAMPP.
6. I will install XDEBUG
7. Then debug pape to page with Eclipse PDT
8. +
9. I will install other small websites on GISKARD (so I need to learn virtual hosting)
10. I will use no-ip.com to get a fake static IP number for these sites.

Thanks
twidlar
 
Posts: 14
Joined: 05. July 2009 00:28
XAMPP version: 5.5.30
Operating System: Win 10 Enterprise

Re: Easy XAMMP question

Postby Wiedmann » 05. July 2009 17:48

So what remains right now is how to bring up XAMPP at boottime.

Install Apache, MySQL, ... as Windows service (SVC).
(see readme_en.txt)
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: Easy XAMMP question

Postby twidlar » 05. July 2009 18:23

Thanks.
twidlar
 
Posts: 14
Joined: 05. July 2009 00:28
XAMPP version: 5.5.30
Operating System: Win 10 Enterprise

Re: Easy XAMMP question

Postby twidlar » 05. July 2009 21:35

So I gather I put the start BAT commands I want into
\WINDOWS\System32\autoexec.nt, right?

In the past year I've watched several opera DVDs from Stuttgart.
The orchestra is very good (except for the long horn call in Wagner's
Siegfried) as is the singing.
twidlar
 
Posts: 14
Joined: 05. July 2009 00:28
XAMPP version: 5.5.30
Operating System: Win 10 Enterprise

Re: Easy XAMMP question

Postby glitzi85 » 06. July 2009 04:51

twidlar wrote:So I gather I put the start BAT commands I want into
\WINDOWS\System32\autoexec.nt, right?

No. Open the Control Panel (with Administrative Rights) and tick the Checkboxes (SVC) on the left side. This will start up the according program (Apache, MySQL...) directly after boot time before you log in. Adding the programs to the autostart will start the programs after login.

glitzi
User avatar
glitzi85
 
Posts: 1920
Joined: 05. March 2004 23:26
Location: Dahoim

Re: Easy XAMMP question

Postby twidlar » 06. July 2009 16:21

You mean the XAMPP Control Panel, not WinXP, right?

The SVC boxes had been checked on previous bootups. When we booted GISKARD today, we had to click the desktop icon to get it running. The SVC boxes were still checked when it came up. Might I have something else wrong?
twidlar
 
Posts: 14
Joined: 05. July 2009 00:28
XAMPP version: 5.5.30
Operating System: Win 10 Enterprise

Re: Easy XAMMP question

Postby glitzi85 » 06. July 2009 16:56

Then log in to GISKARD as Administrator, click Start -> Run -> enter services.msc in the field and click OK. Now the service Window will open. Double click on the entry Apache2.2. What's in the startup type selected? If Manual or Disabled set the startup type to Automatic.

BTW: Yes, i meant the XAMPP Control Panel. Didn't realize that Windows also has a Control Panel ;-)

glitzi
User avatar
glitzi85
 
Posts: 1920
Joined: 05. March 2004 23:26
Location: Dahoim

Re: Easy XAMMP question

Postby twidlar » 06. July 2009 18:05

Thanks. Apache2.2 and MySQL were already marked Automatic in services.msc. Filezilla was Manual although the SVC box in XAMPP was checked.

Maybe I am asking the wrong question. After bootup I didn't see the XAMPP icon in the task bar. Could it be that Apache and MySQL were already running after bootup and the XAMPP icon is only for the Control Panel, not Apache or MySQL?
twidlar
 
Posts: 14
Joined: 05. July 2009 00:28
XAMPP version: 5.5.30
Operating System: Win 10 Enterprise

Next

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 84 guests