Title: Install can&#8217;t find php
Last modified: August 18, 2016

---

# Install can’t find php

 *  Resolved [just_bruce](https://wordpress.org/support/users/just_bruce/)
 * (@just_bruce)
 * [19 years, 10 months ago](https://wordpress.org/support/topic/install-cant-find-php/)
 * I’m installing a second blog with its own database on my win xp machine with 
   apache and php5. the first one is wp 2.0.2 and works great. i downloaded the 
   2.0.3 version of wp and created my db fine, and modified the config file for 
   the new db.
    the trouble occurs when i now run install.php (with firefox). instead
   of interpreting the php code, i actually see the php code on the screen. the 
   install.php file is identical to the one for 2.0.2, which ran fine. anyone have
   an idea what’s going wrong?
 * my blogs are installed in folders ‘blog’ and ‘courses’ under htdocs, and php5
   is also installed in htdocs.
 * i don’t seem to have any trouble running php files any other time. any help would
   be appreciated!
    best bruce

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Samuel B](https://wordpress.org/support/users/samboll/)
 * (@samboll)
 * [19 years, 10 months ago](https://wordpress.org/support/topic/install-cant-find-php/#post-412142)
 * This thread should help. Read it all.
    [http://wordpress.org/support/topic/68426?replies=7](http://wordpress.org/support/topic/68426?replies=7)
 *  Thread Starter [just_bruce](https://wordpress.org/support/users/just_bruce/)
 * (@just_bruce)
 * [19 years, 10 months ago](https://wordpress.org/support/topic/install-cant-find-php/#post-412228)
 * thanks, samboll. I tried some of these, and no luck.
    It seems that php is quitting
   when it encounters an html tag inside a quote. for instance at the start of install.
   php, ` if (!file_exists('../wp-config.php'))  die("There doesn't seem to be a
   <code>wp-config.php</code> file. I need this before we can get started. Need 
   more help? <a href='http://wordpress.org/docs/faq/#wp-config'>We got it</a>. 
   You can <a href='setup-config.php'>create a <code>wp-config.php</code> file through
   a web interface</a>, but this doesn't work for all server setups. The safest 
   way is to manually create the file.");
 * it quits right after the “there doesn’t seem to be a`..."`
 * to test i deleted this stuff (since i could read it anyway) and it ran down to
   where there is an <a html tag inside the quote a number of lines down.
 * so what does this mean? any ideas?
 *  Thread Starter [just_bruce](https://wordpress.org/support/users/just_bruce/)
 * (@just_bruce)
 * [19 years, 10 months ago](https://wordpress.org/support/topic/install-cant-find-php/#post-412568)
 * still having the same problem. i don’t think it is running php for some reason,
   though everything else i have in php is running fine.
 * Any ideas, anyone?
 *  Thread Starter [just_bruce](https://wordpress.org/support/users/just_bruce/)
 * (@just_bruce)
 * [19 years, 10 months ago](https://wordpress.org/support/topic/install-cant-find-php/#post-412569)
 * Well, I figured it out. My wordpress is installed on my machine as localhost 
   with Apache. but when I opened install.php in my browser, it was not from [http://localhost](http://localhost),
   so the server never saw it.
 * all i had to do was make sure to use the full url so it had to go thru my apache
   tree.
 * this thread can be closed from my standpoint, but i’d be glad to answer questions
   if anyone has them.
 * thanks to samboll for responding originally and making me think about this.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Install can’t find php’ is closed to new replies.

## Tags

 * [installation](https://wordpress.org/support/topic-tag/installation/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 4 replies
 * 2 participants
 * Last reply from: [just_bruce](https://wordpress.org/support/users/just_bruce/)
 * Last activity: [19 years, 10 months ago](https://wordpress.org/support/topic/install-cant-find-php/#post-412569)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
