Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 02-24-2002, 10:18 PM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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.
Reply With Quote
  #2  
Old 02-24-2002, 10:41 PM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

whohoooooo!!!!!! i got it working, thanks guys
Attached Images
File Type: gif php411.gif (43.1 KB, 0 views)
Reply With Quote
  #3  
Old 02-24-2002, 10:56 PM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Attached Images
File Type: gif index.gif (28.7 KB, 0 views)
Reply With Quote
  #4  
Old 02-24-2002, 11:16 PM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the syntax... ok.
Attached Images
File Type: gif syntax.gif (9.0 KB, 0 views)
Reply With Quote
  #5  
Old 02-25-2002, 12:06 AM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the mySql check.. ok
Attached Images
File Type: gif mysqlcheck.gif (12.2 KB, 0 views)
Reply With Quote
  #6  
Old 02-25-2002, 12:06 AM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the mySql report... ok
Attached Images
File Type: gif mysqlreport.gif (1.2 KB, 0 views)
Reply With Quote
  #7  
Old 02-25-2002, 02:26 AM
FWC's Avatar
FWC FWC is offline
 
Join Date: Oct 2001
Location: Ontario, CA
Posts: 821
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #8  
Old 02-25-2002, 04:55 AM
Admin's Avatar
Admin Admin is offline
Coder
 
Join Date: Oct 2023
Location: Server
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Bahh use IIS.

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

Oh, and I do look in the PHP forum first.
Reply With Quote
  #9  
Old 02-25-2002, 06:27 AM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #10  
Old 02-25-2002, 06:35 AM
Admin's Avatar
Admin Admin is offline
Coder
 
Join Date: Oct 2023
Location: Server
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:27 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04590 seconds
  • Memory Usage 2,283KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (5)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete