Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.




49 posts

Geek


Topic # 26477 23-Sep-2008 22:34
Send private message

Install php by using the below information and copy wp to c:/inetpub/blog and created a virtual directory in IIS call blog. Also use the mysql command to create a database call blog, without ant issues.

When I open localhost/blog or localhost/blog/wp-admin/install.php it come back with

The page cannot be found
The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.
________________________________________
Please try the following:
? Make sure that the Web site address displayed in the address bar of your browser is spelled and formatted correctly.
? If you reached this page by clicking a link, contact the Web site administrator to alert them that the link is incorrectly formatted.
? Click the Back button to try another link.
HTTP Error 404 - File or directory not found.
Internet Information Services (IIS)


Same message is I try to open localhost/phpinfo.php which contain

Anybody got ideas what causing this. I can open my website, which is under the public directory without any problems

Install PHP
1. Extract the files from the PHP zip and place the files in "C:\php". Extract the PECL modules to "C:\php\ext".
2. Rename C:\php\php.ini-recommended to "C:\php\php.ini".
3. Open the php.ini file you have now and uncomment cgi.force_redirect in php.ini and set it to 0
4. Find and change 'upload_tmp_dir = ' and set it to 'upload_tmp_dir = "C:\php\upload" ' and make the directory
5. Find and change 'session.save_path' to 'session.save_path= "C:\php\sessions" ' and make the directory
6. Set the line 'extension_dir' as 'extension_dir = "C:\PHP\ext" '.
7. Find the line that says ';error_log = filename' and change it to look like this: 'error_log = "C:\php\errors.log" '
8. This part isn't necessary but may make it easier to diagnios errors that may occur. If you feel absolutely confident about what you are doing, skip this step. Else absolutely do this part!
9. Uncomment all the extensions that you will need. Recommended Extensions
10. Go to "C:\PHP" and right click on it, then select on "Properties". Go to the Security Tab, and click on the "Advanced Button". Click "Add..." and add the user "IUSR_MACHINENAME" where "MACHINENAME is your server's name. Give it Full control, and click Okay. Now enable "Replace permission entries on all child objects with entries shown here that apply to child objects", and click okay.
11. Note: The machine name is the name of the server originally. This may be SERVER, or in the case of the MediaSmart Server will be HPSERVER, making the account "IUSR_SERVER" or "IUSR_HPSERVER". If it is not one of these two look for any account starting with "IUSR_" as this will be the correct account.
12. Note: This will reset permissions on the files, and will revert back to being unchecked when it is done.
13. Go to Control panel > System Properties > Advanced Tab > Click "Environment Variables".
14. Select Path and press Edit. Now add "C:\PHP;" to it, preferably to the beginning
15. Now run "regedit.exe" or Start Registry Editor (same program)
16. Add HKEY_LOCAL_MACHINE\SOFTWARE\PHP to the registry, and under that add the string "IniFilePath" and set it to"C:\php"
17. Open Internet Services Manager which is in your Administrative Tools.
18. Right Click on Web Service Extensions located on the left hand side and choose Add a new web service extension. Enter in php and click add. Browse to C:\php\php5isapi.dll. Also set extension status to allow. Click "Okay".
19. Right Click on websites and choose properties. Go to the Documents tab and add index.php as a start document. Go to the Home Directory Tab and click on Configuration. Now go to the mappings tab and click on add. Enter .php for the extension and enter "C:\php\php5isapi.dll" in the executable textbox. Make sure all verbs is checked and click ok, click ok, click ok. You are done installing it. Now you need to test it.
20. It may prompt you about applying changes to home, remote, and UPnP DO NOT apply changes to "Remote", "Home", or "upnp" directories.
21. If you come up with any errors on one of those three directories, right click on the one that isn't working, choose properties. Got to the Home Directory tab and make sure
Recommended Extensions
22. Uncomment all of the following items:
a. extension=php_mysql.dll
b. extension=php_mysqli.dll
c. extension=php_gd2.dll
d. extension=php_gettext.dll
e. extension=php_mbstring.dll
f. extension=php_sockets.dll
g. extension=php_xmlrpc.dll
h. extension=php_zip.dll


MYSQL
mysql> create database wordpress;
Query OK, 1 row affected (0.01 sec)
mysql> use wordpress;
Database changed
mysql> GRANT ALL PRIVILEGES ON wordpress.* to wpadmin@localhost IDENTIFIED BY 'wppassword';
Query OK, 0 rows affected (0.01 sec)



Create new topic
6303 posts

Uber Geek
+1 received by user: 378

Moderator
Trusted
Lifetime subscriber

  Reply # 166896 24-Sep-2008 21:09
Send private message

Remove the Virtual Directory, you should be able to browse to http://localhost/blog if localhost is setup correctly.

From your description something is very wrong, even with php not working, you should still get a file listing, or if directory browsing is turned off, a "cannot view this directory" error.

Create new topic



Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

Fujifilm X beats its best with new top of the range, high-performance camera
Posted 24-Feb-2018 14:05


One million kiwis affected by cybercrime
Posted 24-Feb-2018 13:58


New Zealanders want to engage with government online and via mobile apps
Posted 24-Feb-2018 13:56


Samsung launches Samsung Max
Posted 24-Feb-2018 13:52


CPTPP text and National Interest Analysis released for public scrutiny
Posted 21-Feb-2018 19:43


Foodstuffs to trial digitised shopping trolleys
Posted 21-Feb-2018 18:27


2018: The year of zero-login, smart cars & the biometrics of things
Posted 21-Feb-2018 18:25


Intel reimagines data centre storage with new 3D NAND SSDs
Posted 16-Feb-2018 15:21


Ground-breaking business programme begins in Hamilton
Posted 16-Feb-2018 10:18


Government to continue search for first Chief Technology Officer
Posted 12-Feb-2018 20:30


Time to take Appleā€™s iPad Pro seriously
Posted 12-Feb-2018 16:54


New Fujifilm X-A5 brings selfie features to mirrorless camera
Posted 9-Feb-2018 09:12


D-Link ANZ expands connected smart home with new HD Wi-Fi cameras
Posted 9-Feb-2018 09:01


Dragon Professional for Mac V6: Near perfect dictation
Posted 9-Feb-2018 08:26


OPPO announces R11s with claims to be the picture perfect smartphone
Posted 2-Feb-2018 13:28



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.