Re: [PHP] PHP not working with apache2

2004-08-15 Thread Burhan Khalid
Grant wrote: I'm running Gentoo Linux, and emerged (installed) squirrelmail which automatically installed all of its dependencies including PHP and (I think) mod_php. PHP doesn't seem to be working though, as I always end up looking at the raw PHP code in a browser. I do have apache and apache2 i

Re: [PHP] PHP not working with apache2

2004-08-14 Thread Jason Wong
On Sunday 15 August 2004 10:09, Grant wrote: > I have asked about this on the Gentoo list and was > told to add "-D PHP4" to an apache2 directive. I did > that, but it still doesn't work. Then escalate the issue! Or go through the chapter: manual > Installation > Servers-Apache 2.0 to make s

Re: [PHP] PHP not working with apache2

2004-08-14 Thread Grant
--- Jason Wong <[EMAIL PROTECTED]> wrote: > On Sunday 15 August 2004 07:45, Grant wrote: > > I'm running Gentoo Linux, and emerged (installed) > > squirrelmail which automatically installed all of > its > > dependencies including PHP and (I think) mod_php. > PHP > > doesn't seem to be working th

Re: [PHP] PHP not working with apache2

2004-08-14 Thread Jason Wong
On Sunday 15 August 2004 07:45, Grant wrote: > I'm running Gentoo Linux, and emerged (installed) > squirrelmail which automatically installed all of its > dependencies including PHP and (I think) mod_php. PHP > doesn't seem to be working though, as I always end up > looking at the raw PHP code in

Re: [PHP] PHP not working with apache2

2004-08-14 Thread Grant
--- John Holmes <[EMAIL PROTECTED]> wrote: > Grant wrote: > > > I'm running Gentoo Linux, and emerged (installed) > > squirrelmail which automatically installed all of > its > > dependencies including PHP and (I think) mod_php. > PHP > > doesn't seem to be working though, as I always end > up >

Re: [PHP] PHP not working with apache2

2004-08-14 Thread John Holmes
Grant wrote: I'm running Gentoo Linux, and emerged (installed) squirrelmail which automatically installed all of its dependencies including PHP and (I think) mod_php. PHP doesn't seem to be working though, as I always end up looking at the raw PHP code in a browser. I do have apache and apache2 i

Re: [PHP] PHP not working with Apache

2004-02-01 Thread Paul Furman
The php installer doesn't do everything for a windows installation. You'll need to edit php.ini & httpd.config for apache, as described in the installation guide. Raditha Dissanayake wrote: Yes sounds like you have not read the installation guide. Mark Mark wrote: I am running Apache 1.3.29 a

Re: [PHP] PHP not working with Apache

2004-01-31 Thread Raditha Dissanayake
Yes sounds like you have not read the installation guide. Mark Mark wrote: I am running Apache 1.3.29 and PHP 4.3.3. I installed apache first and got it to work. Then, I install the php installer and and copied the windows binary files. I followed the instruction to run as a module and I even uni

[Fwd: Re: [PHP] PHP not working in html]

2002-12-20 Thread Dries Verachtert
You can also change the apache config to use php for .html pages. example in apache 2.0.x: ... normal stuff like documentroot, servername, .. SetOutputFilter PHP SetInputFilter PHP Or globally in the /etc/httpd/conf.d/php.conf, add a: SetOutputFilter PHP SetInputFilter P

Re: [PHP] PHP not working in html

2002-12-20 Thread Dries Verachtert
You can also change the apache config to use php for .html pages. example in apache 2.0.x: ... normal stuff like documentroot, servername, .. SetOutputFilter PHP SetInputFilter PHP Or globally in the /etc/httpd/conf.d/php.conf, add a: SetOutputFilter PHP SetInputFilter PHP

Re: [PHP] PHP not working in html

2002-11-12 Thread 1LT John W. Holmes
> PHP isn't working in my html docs - what changes do I need to make to get it > to do so? Does it need to be recompiled? Can I do it without re-compiling? Give your file a .php extension, maybe? ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http:

Re: [PHP] PHP not working in html

2002-11-07 Thread Jason Wong
On Friday 08 November 2002 05:35, Mike At Spy wrote: > There isn't any .htaccess file in the directory - I added one with the line > you specified, and my directory comes up with a 'server misconfiguration > error'. Any other ideas? :) You may have to put it inside a directory container: A

RE: [PHP] PHP not working in html

2002-11-07 Thread Mike At Spy
There isn't any .htaccess file in the directory - I added one with the line you specified, and my directory comes up with a 'server misconfiguration error'. Any other ideas? :) Thanks! -Mike > > > In your .htaccess file remove anything that looks like this: > AddHandler server-parsed .html

Re: [PHP] PHP not working in html

2002-11-07 Thread Kevin Stone
In your .htaccess file remove anything that looks like this: AddHandler server-parsed .html And add this line: AddType application/x-httpd-php .php .htm .html Do a search for "parse html php" for more help. -Kevin - Original Message - From: "Mike At Spy" <[EMAIL PROTECTED]> To: <[EMAIL

Re: [PHP] PHP not working in html

2002-11-07 Thread Marco Tabini
What extension are your files? Your web server is probably not set up to handle your files as PHP files. Marco -- php|architect - The magazine for PHP Professionals The first monthly worldwide magazine dedicated to PHP programmer Come visit us at http://www.phparch.com! --- Begi

RE: [PHP] PHP not working on Apache at XP Pro.

2002-06-26 Thread sonjaya
If you use win xp pro try use phptriad is working in my winbox , phptriads include = apache+mysql+php. You can download in sourceforge. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] PHP not working on Apache at XP Pro.

2002-06-26 Thread David Freeman
> I've got Windows XP Pro OS. I installed and am running > mySQL on that. > However, PHP is not getting configured with Apache on > it. I got the latest Apache, 1.3.24 or something, not > the Version 2. Anyway, Apache runs perfectly on it. > However, when i put in the required PHP lines i

RE: [PHP] php not working

2001-06-25 Thread scott [gts]
here's my apache config i use at home (where i have the binary version, *not* server module) ScriptAlias /pbin/ /usr/local/php-bin/ AddType application/x-httpd-php .php Action application/x-httpd-php /pbin/php > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]

Re: [PHP] php not working

2001-06-25 Thread Richard Lynch
> I even tried the LoadModule trick, but since I didn't compile as a > module, that just gave me an error when I restarted the server. And therein lies the rub. If you compiled as a stand-alone binary (aka CGI) you don't want AddHandler, you want "Action". Something not unlike: Action applica

Re: [PHP] php not working

2001-06-24 Thread brent
Jason et. al., Thanks for the suggestion, but I'm still up the creek. I've seen some posts about AddHandler, so I tried adding the following to the .conf file: AddHandler php-script .php but again, with no success. Any other ideas? TIA again. Brent Jason Lustig wrote: > >I've added the lin

Re: [PHP] php not working

2001-06-24 Thread lenar
php.exe he's using redhat ... so there might be a _very_good_ possibility that he doesn't have php.exe laying around. lenar. ""Jason Lustig"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > >I've added the lines: > >AddType application/x-httpd-php .

RE: [PHP] php not working

2001-06-24 Thread Jason Lustig
>I've added the lines: >AddType application/x-httpd-php .php >AddType application/x-httpd-php-source .phps >to my httpd.conf file Maybe try adding: AddType application/x-httpd-php4 .php instead of: AddType application/x-httpd-php .php It depends on how you did th

Re: [PHP] PHP not working on Win95/Apache

2001-01-17 Thread Brian Clark
Hello Phil, (PS == "Phil Scopes") [EMAIL PROTECTED] writes: PS> I am trying to run PHP in Windows '95 with Apache server. I followed all PS> the instructions in the installation doc, including editting the Apache and PS> PHP configuration files, and putting the PHP.INI file in my Windows PS>