Jump to content

[SOLVED] PHP 5 with Apache 2.2.4 on Vista Problem


jskrauss

Recommended Posts

I installed apache on my local machine. In order to getit o install I had to disable user control. I got it running and verified the install. I then installed PHP. I eddited the php.ini file and added the doc_root command. I also added a few lines to the httpd fle

 

ScriptAlias /PHP "C:/PHP"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php-cgi.exe"

 

I cant get a very simple test file to execute. Any ideas?

 

Full .ini and conf files attached in single document seperated by file name php.ini

 

 

[attachment deleted by admin]

Link to comment
Share on other sites

Whats Apache/logs/error.log say?

 

[Thu Jun 28 10:15:13 2007] [notice] Parent: Created child process 6056

[Thu Jun 28 10:15:14 2007] [notice] Child 6056: Child process is running

[Thu Jun 28 10:15:14 2007] [notice] Child 6056: Acquired the start mutex.

[Thu Jun 28 10:15:14 2007] [notice] Child 6056: Starting 250 worker threads.

[Thu Jun 28 10:15:14 2007] [notice] Child 6056: Starting thread to listen on port 80.

[Thu Jun 28 10:17:06 2007] [error] [client 127.0.0.1] script 'C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/test.php' not found or unable to stat

 

Link to comment
Share on other sites

Hmmm... I Have Windows Vista Home Premium

And Evrything Seems Fine

 

But Then Again I Prefer XAMPP Coz I Use It On A Memory Stick

 

 

In What Way Does The Test File Not Work..?

 

I'm givving this a shot... I think it may just be a vista thing because now http://localhost wont even come up. I stopped and  restarted services...

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.