• Starting today August 7th, 2024, in order to post in the Married Couples, Courting Couples, or Singles forums, you will not be allowed to post if you have your Marital status designated as private. Announcements will be made in the respective forums as well but please note that if yours is currently listed as Private, you will need to submit a ticket in the Support Area to have yours changed.

  • CF has always been a site that welcomes people from different backgrounds and beliefs to participate in discussion and even debate. That is the nature of its ministry. In view of recent events emotions are running very high. We need to remind people of some basic principles in debating on this site. We need to be civil when we express differences in opinion. No personal attacks. Avoid you, your statements. Don't characterize an entire political party with comparisons to Fascism or Communism or other extreme movements that committed atrocities. CF is not the place for broad brush or blanket statements about groups and political parties. Put the broad brushes and blankets away when you come to CF, better yet, put them in the incinerator. Debate had no place for them. We need to remember that people that commit acts of violence represent themselves or a small extreme faction.
  • We hope the site problems here are now solved, however, if you still have any issues, please start a ticket in Contact Us

  • The rule regarding AI content has been updated. The rule now rules as follows:

    Be sure to credit AI when copying and pasting AI sources. Link to the site of the AI search, just like linking to an article.

Apache Help

notto

Legend
May 31, 2002
11,130
664
56
Visit site
✟37,369.00
Faith
United Ch. of Christ
Apache 2.0 instructions are here;
http://us2.php.net/manual/en/install.apache2.php

Apache 1.3 instructions are here:
http://us2.php.net/manual/en/install.apache.php#install.apache.windows

You need to modify your http.conf file
Example 3-7. PHP and Apache 2.0 as CGI

ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php.exe"

If you would like to use PHP as a module in Apache 2.0, be sure to move php4ts.dll for PHP 4, or php5ts.dll for PHP 5, to winnt/system32 (for Windows NT/2000) or windows/system32 (for Windows XP), overwriting any older file. You need to insert these two lines to your Apache httpd.conf configuration file to set up the PHP-Module for Apache 2.0:

Example 3-8. PHP and Apache 2.0 as Module

; For PHP 4 do something like this:
LoadModule php4_module "c:/php/sapi/php4apache2.dll"
AddType application/x-httpd-php .php

; For PHP 5 do something like this:
LoadModule php5_module "c:/php/sapi/php5apache2.dll"
AddType application/x-httpd-php .php

Note: Remember to substitute the c:/php/ for your actual path to PHP in the above examples. Take care to use either php4apache2.dll or php5apache2.dll in your LoadModule directive and notphp4apache.dll or php5apache.dll as the latter ones are designed to run with Apache 1.3.x.

 
Upvote 0

notto

Legend
May 31, 2002
11,130
664
56
Visit site
✟37,369.00
Faith
United Ch. of Christ
If you give a bit more information about your setup, it would help.

1) Is the apache server on Windows or Linus/Unix?
2) What version of Apache are you using?
3) What is the directory location of your http.conf file?
4) are you getting specific errors when you start the apache server?

If you can install software on the server and it is windows, you might want to try this:
http://download.com.com/3000-2165-6474268.html?tag=lst-0-1

It works every time. Just back up your htdocs directory before you install and then put it back when you are done so you don't lose any of your webpages or work.

This will also configure MySql database which is used with a lot of php programming and will give you a tool to create databases.
 
Upvote 0

notto

Legend
May 31, 2002
11,130
664
56
Visit site
✟37,369.00
Faith
United Ch. of Christ
Did you move the appropriate DLL's to the system32 directory? (that is a step I have overlooked in the past).

If you are using an install from a php program, chances are it is in a subdirectory and not in the main directory.

What exact url for localhost (i.e. http://localhost/appdir/install.php) are you using and what directory is the install.php file on on your hard drive (i.e. c:\apache\htdocs\appdir\install.php)?
 
Upvote 0

BAChristian

Discerning the Diaconate. Please pray for me.
Aug 17, 2003
3,096
229
51
Indiana
✟28,847.00
Country
United States
Faith
Catholic
Marital Status
Married
Politics
US-Republican
Provided your php modules are being loaded correctly, you should have this:

DirectoryIndex index.html index.html.var index.htm index.php

in your httpd.conf...

Make sure your MIME stuff is added appropriately:

AddType application/x-httpd-php .php
 
Upvote 0