| Author |
|
Diana
Joined: 05 Oct 2012 Posts: 17 Location: Canada
|
Posted: Sat 06 Oct '12 15:18 Post subject: |
|
|
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
|
Posted: Sat 06 Oct '12 20:38 Post subject: |
|
|
That is what the line with PHPIniDir is for. So makes apache find the right path to the php.ini  |
|
| Back to top |
|
Diana
Joined: 05 Oct 2012 Posts: 17 Location: Canada
|
Posted: Sat 06 Oct '12 21:14 Post subject: |
|
|
| 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
|
Posted: Sat 06 Oct '12 21:38 Post subject: |
|
|
| 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
|
Posted: Sat 06 Oct '12 21:52 Post subject: |
|
|
? 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.
The last line of my httpd.conf file is
PHPIniDir "C:/PHP5" |
|
| Back to top |
|
Diana
Joined: 05 Oct 2012 Posts: 17 Location: Canada
|
Posted: Sat 06 Oct '12 21:57 Post subject: |
|
|
| 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
|
Posted: Sat 06 Oct '12 22:10 Post subject: |
|
|
| 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
|
Posted: Sat 06 Oct '12 22:34 Post subject: |
|
|
| 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.
|
We will help you through this.
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
|
Posted: Sat 06 Oct '12 22:59 Post subject: |
|
|
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
|
Posted: Sat 06 Oct '12 23:51 Post subject: |
|
|
Slow down, take a deep breath! You're floundering a little but on the surface at least
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
|
Posted: Sun 07 Oct '12 16:28 Post subject: |
|
|
| 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
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  |
|
| Back to top |
|