vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3 Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=187)
-   -   Tutorial: How to run vBulletin onto your PC (https://vborg.vbsupport.ru/showthread.php?t=39482)

assassingod 08-31-2003 08:55 AM

Quote:

08-28-03 at 04:26 PM xQuEeNzNaZcHox said this in Post #337
Attempting to attach to database...


Warning: mysql_pconnect(): Access denied for user: 'root@localhost' (Using password: YES) in C:\Network\Apache2\htdocs\forum\admin\db_mysql.php on line 38

Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in C:\Network\Apache2\htdocs\forum\admin\db_mysql.php on line 47

Try not using a password.

assassingod 08-31-2003 08:55 AM

Quote:

Yesterday at 07:43 PM groovesalad said this in Post #338
I get this:

You are not running PHP - Please contact your system administrator.

When I go here:

http://localhost/forum/admin/install.php

Any ideas?

You havent installed PHP properly, try re-installing it.

hagan 08-31-2003 10:45 AM

I cant connect to mysql on localhost.
i tried it with phpmyadmin and a php file with a mscql connect script.
Mysql says access denied.

But username and password are correct in both, the php script and the PHPmyadmin config file.

Anyone an idea ?

groovesalad 08-31-2003 03:28 PM

Quote:

Today at 10:55 AM assassingod said this in Post #342
You havent installed PHP properly, try re-installing it.
I've done all of this:


PHP Binary INSTALLATION
01. Extract the contents of PHP .zip file to C:\Network\Php folder.

02. Copy the 'C:\Network\Php\php.ini-dist' file to your %SYSTEMROOT% directory (C:\WINDOWS for winXP; C:\WINNT for win2K).
In %SYSTEMROOT% folder, rename php.ini-dist to 'php.ini' and open it.

03. In php.ini, you will need to set the 'doc_root' to point to your web server(apache) document_root, like below:
; The root of the PHP pages, used only if nonempty.
; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
; if you are running php as a CGI under any web server (other than IIS)
; see documentation for security issues. The alternate is to use the
; cgi.force_redirect configuration below
doc_root = "c:\network\apache2\htdocs"

04. Still in php.ini, change the 'extension_dir' setting to point to your php-install-dir, like below:
; Directory in which the loadable extensions (modules) reside.
extension_dir = "c:\network\php"

05. Still in php.ini, change the 'mail function' setting to point to your ISP, like below:
[mail function]
; For Win32 only.
SMTP = smtp.myisp.com
; For Win32 only.
sendmail_from = johndoe@myisp.com

06. Save and close the php.ini file.

07. In C:\Network\Php folder, find php4ts.dll file. Move it to the %SYSTEMROOT%\system32 folder.

NOTE: Make sure you MOVE that file, DO NOT copy it only.


is there something else I need to be doing? I never actually double clicked an install.exe on PHP, do I have do download the Windows Installer and actually install it? Or does unzipping it to a certain folder, moving and copying a few files in my Windows directory do the trick? If so, PHP still isn't working for me.

assassingod 08-31-2003 03:32 PM

I never used TECKs guide so I can't help any further. You may have to configure apache to work with PHP.

blakkboy 09-12-2003 02:31 AM

sry for not screening all pages for this but....

could this be done on windows me??????

Dean C 09-12-2003 06:46 AM

Quote:

Originally Posted by blakkboy
sry for not screening all pages for this but....

could this be done on windows me??????

I would have though so yes :)

Side note: I installed apache2 and php4 on xp pro about a week ago without using this tutorial. It's pretty easy :)

blakkboy 09-12-2003 03:58 PM

damn i cant even find my system root directory

i have windows me and it should be C:/WINDOWS but i cant find it, can someone help me out or point me to help

Dean C 09-12-2003 05:40 PM

Go to Start > Run and type in:

%SYSTEMROOT%

It should take you there :)

blakkboy 09-12-2003 11:56 PM

nope it didnt do that for me.. im running windows me


All times are GMT. The time now is 03:22 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01538 seconds
  • Memory Usage 1,741KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete