logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Apache Virgin Page Previous  1, 2
Author
Diana



Joined: 05 Oct 2012
Posts: 17
Location: Canada

PostPosted: Sat 06 Oct '12 15:18    Post subject: Reply with quote

What do you mean by "# configure the path to php.ini"

I followed the rest of the instructions.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7445
Location: EU, Germany, Next to Hamburg

PostPosted: Sat 06 Oct '12 20:38    Post subject: Reply with quote

That is what the line with PHPIniDir is for. So makes apache find the right path to the php.ini Wink
Back to top
Diana



Joined: 05 Oct 2012
Posts: 17
Location: Canada

PostPosted: Sat 06 Oct '12 21:14    Post subject: Reply with quote

Gotcha. I have it configured correctly and its the last line of the php.ini.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7445
Location: EU, Germany, Next to Hamburg

PostPosted: Sat 06 Oct '12 21:38    Post subject: Reply with quote

Diana wrote:
Gotcha. I have it configured correctly and its the last line of the php.ini.


nope that is code for the httpd.conf directly after the loading of the php module.





##POST 4000##
Back to top
Diana



Joined: 05 Oct 2012
Posts: 17
Location: Canada

PostPosted: Sat 06 Oct '12 21:52    Post subject: Reply with quote

? I'm so confused. Sorry I don't have a programming background, so this is all very new to me. I'm trying to learn all this as I go along.

localhost doesn't work anymore after I messed around with this file. Sad

The last line of my httpd.conf file is
PHPIniDir "C:/PHP5"
Back to top
Diana



Joined: 05 Oct 2012
Posts: 17
Location: Canada

PostPosted: Sat 06 Oct '12 21:57    Post subject: Reply with quote

Should I just install WAMP? Would that make my life easier?
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Sat 06 Oct '12 22:10    Post subject: Reply with quote

Diana wrote:
Thank you! I didn't realize that you have to call folders in CMD first before opening programs.


You do if the folder is not in the systems PATH environment variable.

I was confused by your next question till I read your other post about start menu icons. I'll try and anser it there.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7445
Location: EU, Germany, Next to Hamburg

PostPosted: Sat 06 Oct '12 22:34    Post subject: Reply with quote

Quote:

Should I just install WAMP? Would that make my life easier?


I hope not.

Quote:

localhost doesn't work anymore after I messed around with this file. Sad


We will help you through this. Smile

If realy messed up you can use the command line
cd to C:Apache24/bin
and than type httpd -S that shows you any mistakes you made in the file
Back to top
Diana



Joined: 05 Oct 2012
Posts: 17
Location: Canada

PostPosted: Sat 06 Oct '12 22:59    Post subject: Reply with quote

I think I am way over my head.

In the task icons on the bottom left of the screen, I was showing Apache 2 and Apache 2.4 so I deleted the Apache2 from my Services.

Now when I type in c:/Apache24/bin I get the error

C:/apache24/bin is not recognized as an internal or external command, operable program or batch file.

Seriously.
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Sat 06 Oct '12 23:51    Post subject: Reply with quote

Slow down, take a deep breath! You're floundering a little but on the surface at least Smile
I admit, you're getting it from many sides and there is a learning curve here.

When you see anything with C: and \'s in it, it means paths (folders on the hard drive, in this case the C Drive)

when you see that, it is implied you have to cd to it in CMD... like you did to get httpd -k install working

so, if the CMD window doesn't show
C:\Apache24\bin>_ with the little blinky _ there, you need to type

cd\apache24\bin

then it will show
C:\Apache24\bin>_ with the little blinky _ there

That means you are currently in that folder. Now you can call any of the exe files in there.

httpd -h
htpasswd -h

you can even call the ApacheMonitor, it's just plain

apachemonitor


--------------------------------------------------
Mario: isn't httpd -S broken on 2.4? I know it has been fixed in the code for 2.4.4.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7445
Location: EU, Germany, Next to Hamburg

PostPosted: Sun 07 Oct '12 16:28    Post subject: Reply with quote

glsmith wrote:

--------------------------------------------------
Mario: isn't httpd -S broken on 2.4? I know it has been fixed in the code for 2.4.4.


Nope, that is httpd -M and httpd -L which is broken in the released up tp 2.4.3. I haven't tested 2.4.4 yet since it is not out yet I was a bit lazy with compiling the last months Wink

httpd -S works very great, much better than in 2.2.x

--edit --

You are right. It does not work. Since I work with debian and ubuntu, too I remembered that...
So I can't wait for 2.4.4 Wink
Back to top


Reply to topic   Topic: Apache Virgin View previous topic :: View next topic
Post new topic   Forum Index -> Apache Page Previous  1, 2