vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Problems with 4.1.1 binaries and Apache 1.3.23 (https://vborg.vbsupport.ru/showthread.php?t=35407)

TECK 02-24-2002 10:18 PM

Problems with 4.1.1 binaries and Apache 1.3.23
 
first i want to apologise for posting this thread here, and not in the PHP forum, but i know that PPN and FireFly look first here... ;)
PPN, i know you run a localhost on your pc (or anyone expert on this area), i need your help configuring again my server.

here it is the tale:
once upon a time, nakkid decided to reformat his pc and install again winXP... ok let's get serious... ;)

01. i reformated the pc and installed winXP pro

02. downloaded Apache 1.3.23 server .msi file and install it. configured succesfully the httpd.conf file and got an Syntax OK when i ran a test config.

03. downloaded the PHP 4.1.1 binaries and ran the install.

04. made sure the MSVCRT.DLL is in /system32

05. copied "php.ini-dist" to c:\windows and rename it "php.ini"

06. oppened again the httpd.conf file and added the following lines:
(under LoadModule)
-------------------------------------
LoadModule php4_module "c:/program files/php/sapi/php4apache.dll"

(under AddModule)
-------------------------------------
AddModule mod_php4.c

(under AddType)
-------------------------------------
AddType application/x-httpd-php .php
AddType application/x-httpd-php .php3

07. did a test config and got again the Syntax OK.

08. made a index.php file with the content:
Code:

<HTML>
<HEAD>
<TITLE>PHP Version Information</TITLE>
</HEAD>
<BODY>
<?php phpinfo(); ?>
</BODY>
</HTML>

and place it in C:\Program Files\Apache Group\Apache\htdocs

09. deleted all C:\Program Files\Apache Group\Apache\htdocs folder contents (except the index.php ;))

10. restarted the server.

now, when i try to load the http://localhost i get to view the index.php file but it will not load it. what did i do wrong?

i tested individually the apache and php install, all ok, got the classic zillion long printout that rolls down at the prompt. let me know where i went bad. thanks.

TECK 02-24-2002 10:41 PM

1 Attachment(s)
whohoooooo!!!!!! i got it working, thanks guys :D

TECK 02-24-2002 10:56 PM

1 Attachment(s)
hmmmm, i still have a problem. if i refresh, it doesnt go automatically to index.php file posted as attachment above. any idea why? but is listed there... if i click on it, it will show the info. thanks alot for your help :)

TECK 02-24-2002 11:16 PM

1 Attachment(s)
the syntax... ok.

TECK 02-25-2002 12:06 AM

1 Attachment(s)
the mySql check.. ok

TECK 02-25-2002 12:06 AM

1 Attachment(s)
the mySql report... ok

FWC 02-25-2002 02:26 AM

Quote:

Originally posted by nakkid
hmmmm, i still have a problem. if i refresh, it doesnt go automatically to index.php file posted as attachment above. any idea why? but is listed there... if i click on it, it will show the info. thanks alot for your help :)
Did you add index.php to Module mod_dir.c?

Admin 02-25-2002 04:55 AM

Bahh use IIS. :D

And Win2k what's up with this WinXP...

Oh, and I do look in the PHP forum first. ;)

TECK 02-25-2002 06:27 AM

FWC.. i dont have the module mod_dir.c... hmm i had previously configured my pc by one of my friends and since i upgraded to winXP i only have problems..

but winXP is alot more stable and interactive. is here to stay for me. i have to find a way to get it back on track. it's not a rush anyway. so if you are kind enough to give me an extra tip, you can post it here.. thanks.

Admin 02-25-2002 06:35 AM

Add this to your httpd.conf (be sure to restart Apache):
Code:

DirectoryIndex index.shtml index.shtm index.php index.php3 index.phtml index.php4 index.html index.htm default.htm default.html home.html


All times are GMT. The time now is 08:28 PM.

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.00975 seconds
  • Memory Usage 1,743KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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