Date: 12/18/00
- Next message: Matt McClanahan: "Re: [PHP] calling php from perl"
- Previous message: Michael Kimsal: "Re: [PHP] Making objects session persistent"
- In reply to: Rock Kake: "[PHP] PHP4 to work in Apache (for WinNT) and MySQL"
- Next in thread: Daniel Convissor: "Re: [PHP] PHP4 to work in Apache (for WinNT) and MySQL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
try the following changes in httpd.conf
insert below the Addtype-stuff: Action application/x-httpd-php3
/php/php.exe [or wherever your php-interpreter lies]
and then you should make sure that the mod_mime.c in the Addmodule-Section
is loaded (had been uncommented with my release by a '#')
after that it should run
MfG Andreas
----- Original Message -----
From: Rock Kake <__zzz <email protected>>
To: <php-general <email protected>>
Sent: Monday, December 18, 2000 8:19 PM
Subject: [PHP] PHP4 to work in Apache (for WinNT) and MySQL
> Well I got Apache running for WinNT, and now php3 extensions display the
> .php3 webpage(I've installed PHP4 though) -
> but they don't actually work I don't think because the database connect
just
> displays the field and variable names and printf statements.
>
> I don't think Apache is actually running the PHP3 code because when I do a
> plain PHP3 file with PHP3 include statements the included files don't
> display at all and I get a blank page.
>
> If I'm right MySQL support is built into PHP4 so it's not that which isn't
> working, must be PHP itself.
>
> I've edited httpd.conf and put the following lines in - is this all I need
> to do - must be missing something
>
>
> AddType application/x-httpd-php-source .phps
>
> AddType application/x-tar .tgz
> AddType application/x-httpd-php3 .php3
> AddType application/x-httpd-php3 .phtml
>
> This is what the official documentation says,
> but I think it refers to PHP3 only.
>
> I have PHP4, but still name my files .php3, they should still work anyway
as
> no PHP4 features are used in them.
>
>
> Help
>
> J
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe <email protected>
> For additional commands, e-mail: php-general-help <email protected>
> To contact the list administrators, e-mail: php-list-admin <email protected>
>
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Matt McClanahan: "Re: [PHP] calling php from perl"
- Previous message: Michael Kimsal: "Re: [PHP] Making objects session persistent"
- In reply to: Rock Kake: "[PHP] PHP4 to work in Apache (for WinNT) and MySQL"
- Next in thread: Daniel Convissor: "Re: [PHP] PHP4 to work in Apache (for WinNT) and MySQL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

