Not sure myself, but I’m guessing with cgi in the address that it has to do with how PHP is configured on your server. You may want to contact your host about it.
Thread Starter
000pat
(@000pat)
Thanks, miklb.
But my host is no help: “Without sounding too pretentious, there are plenty of books out there about this stuff.”
Anyway, I disabled CGI, deleted everything, then re-installed their 1.2 version of WordPress, downloaded the config.php file it created (in case I had screwed up my username and pw), then removed CGI again, deleted everyhting, and did a clean install of 2.02.
Now I get this:
Fatal error: Failed opening required ‘../wp-config.php’ (include_path=’.:/usr/share/pear’) in /www/cgi/wp/admin.php on line 5
Again, I can go into the admin part of it and edit, post, do everything in the dashboard, but when I click “View Site,” I just get that error.
http://stocksandmutualfunds.com/cgi/wp/
Any ideas?
Thanks,
Pat
Something is wrong.
The error has: /www/cgi/wp/admin.php
admin.php should be in the directory ‘wp-admin’ and not in the directory where you installed WP to (/www/cgi/wp).
Double check to see if you’ve uploaded everything by preserving the directory structure.
If your host replied with
“Without sounding too pretentious, there are plenty of books out there about this stuff.”
I think I’d reply with, “without sounding too pretentious, there are plenty of hosts out there offering this stuff”, and quickly change.
Thread Starter
000pat
(@000pat)
LOL, I agree, but, man are they cheap.
Turns out, they only support Php 4.12.
According to this page: http://codex.wordpress.org/Hosting_WordPress
I only need 4.1, but that’s for version 1.2.2.
But here is where I should’ve looked:
http://wordpress.org/about/requirements/
Can I run WP 1.5 on php 4.1.2? Or am I stuck with WP 1.2, should I choose to stick with this host?
Thanks,
Pat
I’m looking into the details. I’ll post back with correct info, as well as update the codex page.
oopat:”without sounding too pretentious”, you host stinks.
Cheap has a double meaning to it π
First I don’t think it is a good idea to have your WordPress installation in a “cgi” directory. It normally is a directory or an alias for a directory, where you keep your executable scripts. In such a case, that directory is not in the web servers document tree, and cannot be reached from a web browser.
Your WP installation should clearly be in your document root or in a directory below that, and you should be able to point your browser to something like:
http://stocksandmutualfunds.com/ or http://stocksandmutualfunds.com/blog/ to show your entrance page. In that directory, you should find among other files, index.php and wp-config.php
As srikat pointed out, you should find your admin.php in the wp-admin directory, like in http://stocksandmutualfunds.com/blog/wp-admin/
For the PHP requirement, wait for miklb.
I’ve looked into things, and to err on the safe side, I think the “official” stance of 4.2 for WP 2.x and above should be followed. I’ve updated the codex page to reflect that stance. I wish I had better info for your particular situation.