Author |
|
MHERRON
Joined: 06 Mar 2007 Posts: 10 Location: Metro Atlanta Ga
|
Posted: Wed 07 Mar '07 16:14 Post subject: |
|
|
James Blond wrote: | Whoops!
I forgot a Quote (") after PHPdir "C:\php5 that must be PHPdir "C:\php5" |
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
|
Posted: Wed 07 Mar '07 17:12 Post subject: |
|
|
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
|
Posted: Thu 08 Mar '07 21:40 Post subject: It works sort of |
|
|
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
|
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7298 Location: Germany, Next to Hamburg
|
Posted: Fri 09 Mar '07 10:43 Post subject: |
|
|
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
|
Posted: Sat 10 Mar '07 13:13 Post subject: |
|
|
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 ?
Hits head on wall and realizes missing php that comes after <?
Now all work well YEAH!!!! |
|
Back to top |
|
MHERRON
Joined: 06 Mar 2007 Posts: 10 Location: Metro Atlanta Ga
|
Posted: Wed 25 Apr '07 19:31 Post subject: Re: Novice user in need of some help |
|
|
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
|
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7298 Location: Germany, Next to Hamburg
|
Posted: Thu 26 Apr '07 10:13 Post subject: |
|
|
What does not work? |
|
Back to top |
|
MHERRON
Joined: 06 Mar 2007 Posts: 10 Location: Metro Atlanta Ga
|
Posted: Thu 26 Apr '07 14:10 Post subject: |
|
|
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
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
|
Posted: Thu 26 Apr '07 15:14 Post subject: |
|
|
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
|
Posted: Thu 26 Apr '07 15:23 Post subject: |
|
|
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
Michael |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7298 Location: Germany, Next to Hamburg
|
|
Back to top |
|
BoostSamurai
Joined: 20 Feb 2008 Posts: 1 Location: Australia
|
Posted: Wed 20 Feb '08 3:08 Post subject: |
|
|
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
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 |
|
Back to top |
|