Thanks for the help, people. Problem solved.
-Mensagem original-
De: Alejandro Michelin Salomon (Hotmail) [mailto:amichel...@hotmail.com]
Enviada em: quarta-feira, 21 de setembro de 2011 00:07
Para: 'Mateus Almeida'
Cc: php-general@lists.php.net
Assunto: RES: [PHP] Inst
Mateus:
Para configurar o php no apache :
1) Adicionar estas linhas no httpd.conf
Troca "D:\PHP\" pelos dados da tua instalação.
#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
PHPIniDir "D:\PHP\"
LoadModule php5_module "D:\PHP\php5apache2_2.dll"
AddHandler application/x-httpd-php .php
#E
directive tells the
module where the hint definitions are located.
>
> #
>
> #MIMEMagicFile conf/magic
>
>
>
> #
>
> # Customizable error responses
come in three flavors:
>
> # 1) plain text 2) local
redirects 3) external redirects
>
> #
>
try http://localhost/test.php
Mateus Almeida
wrote:
> Yes, I've put the "test.php" in the htdocs.
> The server works with an html file, but it doesn’t work with
the php.
>
> -Mensagem original-
> De:
Bastien [mailto:phps...@gmail.com]
> Enviada em:
terça-feira, 20 de setembro de 2011
Mateus Almeida wrote:
Yes, I've put the "test.php" in the htdocs.
The server works with an html file, but it doesn’t work with the php.
Mateus
There are only tow things which need adding to httpd.conf to get PHP working.
LoadModule should point to your php installation
LoadModule php5_module
Yes, I've put the "test.php" in the htdocs.
The server works with an html file, but it doesnt work with the php.
-Mensagem original-
De: Bastien [mailto:phps...@gmail.com]
Enviada em: terça-feira, 20 de setembro de 2011 09:04
Para: Mateus Almeida
Cc:
Assunto: Re: [PHP] Installing PHP
Jim,
What is your server root set up too? I would put the apache configuration
back to the way it was and then place php script with phpinfo() function in
it. Try to run it and see if that works.
HTH,
Chris
On Jul 4, 2011 8:14 AM, "Alejandro Michelin Salomon (Hotmail)" <
amichel...@hotmail.com>
Jim:
In my Windows the install adds the lines :
#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
PHPIniDir "C:\PHP\"
LoadModule php5_module "C:\PHP\php5apache2_2.dll"
AddHandler application/x-httpd-php .php
#END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
Where is the apache version that
8 matches
Mail list logo