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: vista permissions problem Page Previous  1, 2
Author
MHERRON



Joined: 06 Mar 2007
Posts: 10
Location: Metro Atlanta Ga

PostPosted: Wed 07 Mar '07 16:14    Post subject: Reply with quote

James Blond wrote:
Whoops!
I forgot a Quote (") after PHPdir "C:\php5 that must be PHPdir "C:\php5" Wink


tried it like that and still got the same error

don't think it's the 2nd half of the command Ie " "C:\php5"

it's not likeing the PHPdir command any ideas?
Back to top
James Blond
Moderator


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

PostPosted: Wed 07 Mar '07 17:12    Post subject: Reply with quote

Second thing you can try, if Apache if also somewhere on C:\

Code:

PHPIniDir "/php5"
LoadModule php5_module "/php5/php5apache2_2.dll"
AddType application/x-httpd-php .php
Back to top
MHERRON



Joined: 06 Mar 2007
Posts: 10
Location: Metro Atlanta Ga

PostPosted: Thu 08 Mar '07 21:40    Post subject: It works sort of Reply with quote

Very Happy Mr. Bond thanks for your help it's now looks like the httpd.cof is working but when I try to pull up http://localhost/phpinfo.php it connects but blank screen I'm going to work on this part and see where the error is
if you have an idea where to look that would help thanks for your help
Cool Cool Cool
Back to top
James Blond
Moderator


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

PostPosted: Fri 09 Mar '07 10:43    Post subject: Reply with quote

Just guessing, but see if in php.ini

Code:

short_open_tag = On
Back to top
MHERRON



Joined: 06 Mar 2007
Posts: 10
Location: Metro Atlanta Ga

PostPosted: Sat 10 Mar '07 13:13    Post subject: Reply with quote

James Blond wrote:
Just guessing, but see if in php.ini

Code:

short_open_tag = On



Didn't see it in there dose it need 2 be ? Shocked

Mad Hits head on wall and realizes missing php that comes after <?

Now all work well YEAH!!!! Mr. Green Cool Very Happy
Back to top
MHERRON



Joined: 06 Mar 2007
Posts: 10
Location: Metro Atlanta Ga

PostPosted: Wed 25 Apr '07 19:31    Post subject: Re: Novice user in need of some help Reply with quote

I can't seem to get the alias function to work and now when I try to run my project it brings up the directory of the project and won't run project not sure where I went wrong any help anyone can give me would be greatly apprecaited

Mike
Exclamation Mad Exclamation
Back to top
James Blond
Moderator


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

PostPosted: Thu 26 Apr '07 10:13    Post subject: Reply with quote

What does not work?
Back to top
MHERRON



Joined: 06 Mar 2007
Posts: 10
Location: Metro Atlanta Ga

PostPosted: Thu 26 Apr '07 14:10    Post subject: Reply with quote

James Blond wrote:
What does not work?


Sorry my spelling is bad is should have read that I tried to get the Alias function to work correctly thought I did was trying to associate my Project folder in this case C:\ABS with a virtuial folder in Apache

I might have mis understood what I was supposed to do and I changed Doucment_Root to C:\ABS

If I run localhost\phpinfo.php it runs just fine and gives me all my info

but if I try to run the project by calling localhost\ABS it brings up the parent directory and doesn't run the project

Any suggestions of what I might have done wrong Question

any help would be greatly appreaciated

Thanks,

Michael
Back to top
James Blond
Moderator


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

PostPosted: Thu 26 Apr '07 15:14    Post subject: Reply with quote

If you don't post the path with the alias, how could we help?
Back to top
MHERRON



Joined: 06 Mar 2007
Posts: 10
Location: Metro Atlanta Ga

PostPosted: Thu 26 Apr '07 15:23    Post subject: Reply with quote

James Blond wrote:
If you don't post the path with the alias, how could we help?


Sorry here is the alias section from httpd

#
# Alias: Maps web paths into filesystem paths and is used to
# access content that does not live under the DocumentRoot.
# Example:
# Alias /webpath /full/filesystem/path
Alias /ABS/ "c:/ABS/"
Alias /ABS "c:/ABS"

thanks Embarassed

Michael
Back to top
James Blond
Moderator


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

PostPosted: Wed 02 May '07 11:19    Post subject: Reply with quote

Now there is a wiki page about Apache on Vista

http://wiki.apache.org/httpd/Platform/WindowsVista
Back to top
BoostSamurai



Joined: 20 Feb 2008
Posts: 1
Location: Australia

PostPosted: Wed 20 Feb '08 3:08    Post subject: Reply with quote

An update if you will...

This problem had me stummped for about 1/2 a day. I Googled just about everything I could think of to see if there was an easy/quick solution and after trying a few things this is what I now have.

OS: Vista Ultimate x64 (build 6000)
Server: Apache/2.2.8 x64 (shows up as "Apache/2.2.8 (Win32)" though)
Scripting: PHP 5.2.5 x64
Database: MySQL 5.0.51a x64

I configured and installed everything manually, pretty much, just because I like to see what's happening.

Anyway, the actual solution to installing Apache etc. was a lot simpler than I had imagined and all the clues were there for the taking on the Googleverse Wink

I'll skip all the configuration bits and pieces and assume you have all the software, you need to run, setup in their respective directories. Now, here's the easy part...

1. Go to your Start Menu (Vista)
2. in the 'Start Search' box at the bottom of the menu, type 'cmd'
3. This should now show the cmd.exe file in the menu at the top
4. Right click and select 'Run as administrator'
5. In you DOS window, change directory to your Apache installs 'bin' directory (i.e. cd c:\apache\bin or whatever)
6. Type 'httpd.exe -k install' and you should be gold!

The service installs and starts up after a reboot without the need to turn off UAC or anything like that.

Oh yeah, with MySQL I just downloaded the 'MySQL GUI Tools 5.0' suite, ran the System Tray Monitor .exe as administrator (right click, etc.), installed a mysql instance, configured it and started the mysql server.

Basically, I think, the secret is to run this kind of stuff using 'Run as administrator'

Good luck Very Happy
Back to top


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