Title: Installation problems with path
Last modified: August 18, 2016

---

# Installation problems with path

 *  [banyan](https://wordpress.org/support/users/banyan/)
 * (@banyan)
 * [20 years, 9 months ago](https://wordpress.org/support/topic/installation-problems-with-path/)
 * I’ve searched and searched but can find no definitive answer to this question.
   This is another _include_ problem.
 * I have WP working on one site. I want to set up a new WP installation on another
   domain (different site). I unzipped WP into a folder named Wpj. I have created
   a new DB, set the user, and entered the configuration into _wp-config.php_.
 * I keep getting errors that relate to undefined functions and it appears this 
   is due to required files not getting included.
 * I set up a test and get this info:
 * getcwd = /home/jimryan/public_html/Wpj
    $_SERVER[‘DOCUMENT_ROOT’] is /home/jimryan/
   public_html
 * I modified .htaccess and added these paths to the PHP include path:
    get_include_path()
   = /usr/lib/php:/usr/local/lib/php:/home/jimryan/public_html/Wpj:/home/jimryan/
   public_html/Wpj/wp-includes:/home/jimryan/public_html/Wpj/wp-admin
 * No matter what I do, install.php dies with this:
    **Fatal error: Call to undefined
   function: get_option() in /home/jimryan/public_html/Wpj/wp-includes/template-
   functions-general.php on line 116**
 * I have also tried changing the define of ABSPATH to the actual path string instead
   of using dirname(__FILE__).
 * I’ve also tried copying over my wordpress files from the other site since I know
   those work. I then entered the new site’s DB configuration. This gives the same
   error.
 * I’m stumped. Is this site specific? Any ideas?
 * Thanks

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

 *  [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [20 years, 9 months ago](https://wordpress.org/support/topic/installation-problems-with-path/#post-262157)
 * “Fatal error: Call to undefined function: get_option()”
 * I would usually say this is caused by a faulty file transfer to the server – 
   tried deleting and reuploading ?
 *  Thread Starter [banyan](https://wordpress.org/support/users/banyan/)
 * (@banyan)
 * [20 years, 9 months ago](https://wordpress.org/support/topic/installation-problems-with-path/#post-262159)
 * Me again with a followup. Site running PHP 4.4, Mysql 4.0.22.
 *  [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [20 years, 9 months ago](https://wordpress.org/support/topic/installation-problems-with-path/#post-262160)
 * Did you try the file replacement ?
 *  Thread Starter [banyan](https://wordpress.org/support/users/banyan/)
 * (@banyan)
 * [20 years, 9 months ago](https://wordpress.org/support/topic/installation-problems-with-path/#post-262165)
 * Hi
 * Yup. Just did and it worked fine. Wonder what was missing or misplaced? Oh well,
   at least I know a bit more about WP now 🙂
 * Thanks
 *  [stevebishop](https://wordpress.org/support/users/stevebishop/)
 * (@stevebishop)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/installation-problems-with-path/#post-262316)
 * Finding the same problem with this file: edit-form-advanced.php Fatal error: 
   Call to undefined function get_option() in D:\content\onlinebloghost2341\wp-admin\
   edit-form-advanced.php on line 23
 * I tried replacing from the zip file, but nada. Cool tool tho!

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

The topic ‘Installation problems with path’ is closed to new replies.

## Tags

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

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 5 replies
 * 3 participants
 * Last reply from: [stevebishop](https://wordpress.org/support/users/stevebishop/)
 * Last activity: [20 years, 7 months ago](https://wordpress.org/support/topic/installation-problems-with-path/#post-262316)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
