RE: [users@httpd] PHP Problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



To edit the config, you could use a program like "nano"

Commands to run:

cd /path/to/apache
nano -w httpd.conf
Now edit the file as described.
To save: ctrl+x
Choose "y" to save
Restart apache.

-----------------------------------
Graham Frank
(608) 359-1593
Neoservers LLC - http://www.neoservers.com/
Founder/Owner

-----Original Message-----
From:  Graham Frank
Date:  12/10/05 4:06 pm
To:  users@xxxxxxxxxxxxxxxx
Subj:  RE: [users@httpd] PHP Problem

All you need to do is paste the line provided in the previous email anywhere in the config.  A good spot to place it, so that you know it's right, is say the line right before NameVirtualHost.

-----------------------------------
Graham Frank
(608) 359-1593
Neoservers LLC - http://www.neoservers.com/
Founder/Owner

-----Original Message-----
From:  Todd Hofert
Date:  12/10/05 3:49 pm
To:  users@xxxxxxxxxxxxxxxx
Subj:  RE: [users@httpd] PHP Problem

Anyone?????   please.... This can't be stumping everyone.

________________________________

From: Todd Hofert [mailto:todd@xxxxxxxxxxxxxxxxxxx]
Sent: Fri 12/9/2005 8:46 AM
To: users@xxxxxxxxxxxxxxxx
Subject: RE: [users@httpd] PHP Prolem


I apologize for my ignorance but I still cannot make this work. Can someone please offer specific direction on how to edit the .conf file to allow my appache server to properly display php files in browsers?

Thanks
Todd

________________________________

From: myhapwcforever [mailto:myhapwcforever@xxxxxxxxx]
Sent: Thu 12/8/2005 9:06 AM
To: users@xxxxxxxxxxxxxxxx
Subject: Re: [users@httpd] PHP Prolem


AddType application/x-httpd-php .php

I met with your problem.And add it. ;)
---- Original Message -----

	From: Todd Hofert <mailto:todd@xxxxxxxxxxxxxxxxxxx>
	To: users@xxxxxxxxxxxxxxxx
	Sent: Thursday, December 08, 2005 8:57 PM
	Subject: RE: [users@httpd] PHP Prolem

	Where do I add this? I added it in the section that previously read:

	<IfModule mod_dir.c>
	    DirectoryIndex index.html
	</IfModule>

	Doing so now just opens the php file as text in the browser window.

	Thanks in advance.
	Todd

________________________________

	From: ludi [mailto:myhapwcforever@xxxxxxxxx]
	Sent: Wednesday, December 07, 2005 9:37 PM
	To: users@xxxxxxxxxxxxxxxx
	Subject: Re: [users@httpd] PHP Prolem


	AddType application/x-httpd-php .php
	DirectoryIndex index.html index.html.var index.php
	Add to the httpd.conf


	2005/12/8, Todd Hofert <todd@xxxxxxxxxxxxxxxxxxx>:

		I just installed Apache 1.3 on local computer. I am now trying to install Zen-Cart and when I access the appropriate directory the result is a directory listing. The directions indicate that if you get a directory listing you should speak to your Hosting Site about how to setup your server to auto-detect PHP filename extensions.

		So since I am the host, how do I configure Apache to auto-detect PHP filename extensions?

		Thanks
		Todd

		This e-mail and any attachments may contain confidential and privileged
		information. If you are not the intended recipient, please notify the
		sender immediately by return e-mail, delete this e-mail and destroy any
		copies. Any dissemination or use of this information by a person other
		than the intended recipient is unauthorized and may be illegal.

		---------------------------------------------------------------------
		The official User-To-User support forum of the Apache HTTP Server Project.
		See <URL:http://httpd.apache.org/userslist.html> for more info.
		To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
		   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
		For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




	This e-mail and any attachments may contain confidential and privileged information. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this e-mail and destroy any copies. Any dissemination or use of this information by a person other  than the intended recipient is unauthorized and may be illegal.





This e-mail and any attachments may contain confidential and privileged
information. If you are not the intended recipient, please notify the
sender immediately by return e-mail, delete this e-mail and destroy any
copies. Any dissemination or use of this information by a person other
than the intended recipient is unauthorized and may be illegal.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux