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] Installing PHP
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: php-general@lists.php.net
Assunto: Re:
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
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 doesnrsquo;t work with
the php.
-Mensagem original-
De:
Bastien [mailto:phps...@gmail.com]
Enviada em:
terça-feira, 20 de setembro de 2011
Cc: 'Bastien';
php-general@lists.php.net
Assunto: Re: RES: [PHP] Installing
PHP
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
doesnrsquo;t work with the php.
-Mensagem
original
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
#END
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
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
8 matches
Mail list logo