php-general Digest 21 Sep 2011 12:15:53 -0000 Issue 7489

Topics (messages 314967 through 314968):

Re: Installing PHP
        314967 by: Alejandro Michelin Salomon (Hotmail)
        314968 by: Mateus Almeida

Administrivia:

To subscribe to the digest, e-mail:
        [email protected]

To unsubscribe from the digest, e-mail:
        [email protected]

To post to the list, e-mail:
        [email protected]


----------------------------------------------------------------------
--- Begin Message ---
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 PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL

2 ) Trocar o directory index do apache
<IfModule dir_module>
    DirectoryIndex index.html index.php adicionar index.php como um arquivo
padrão para ele procurar
</IfModule>

Inglish:

Mateus:
To configure php on apache:
1) Add this lines in httpd.conf

Change this "D:\PHP\" to yours instalation data.
#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 PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL

2 ) Change the directory index on apache
<IfModule dir_module>
    DirectoryIndex index.html index.php ==> add index.php to be a default
file to search
</IfModule>

Alejandro M.S.
PAO/RS
Brasil

-----Mensagem original-----
De: Mateus Almeida [mailto:[email protected]] 
Enviada em: segunda-feira, 19 de setembro de 2011 18:32
Para: [email protected]
Assunto: [PHP] Installing PHP

Hello, I'm newbie and I'm trying to install PHP with Apache, but it doesn't
work. 

Every time I try to run a test I receive the message "Not Found The
requested URL /php/php-cgi.exe/test.php was not found on this server." OR
(when I try to change some options) "Forbidden You don't have permission to
access /php/php-cgi.exe/test.php on this server."

I've tried to copy the recommended configurations from some sites, but it
haven't worked. 

The machine runs Windows XP, I'm using an administrator account, no firewall
is blocking me, PHP and Apache are the most recent versions.

Thanks in advance.



--- End Message ---
--- Begin Message ---
Thanks for the help, people. Problem solved.


-----Mensagem original-----
De: Alejandro Michelin Salomon (Hotmail) [mailto:[email protected]] 
Enviada em: quarta-feira, 21 de setembro de 2011 00:07
Para: 'Mateus Almeida'
Cc: [email protected]
Assunto: RES: [PHP] Installing PHP

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 PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL

2 ) Trocar o directory index do apache
<IfModule dir_module>
    DirectoryIndex index.html index.php adicionar index.php como um arquivo
padrão para ele procurar
</IfModule>

Inglish:

Mateus:
To configure php on apache:
1) Add this lines in httpd.conf

Change this "D:\PHP\" to yours instalation data.
#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 PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL

2 ) Change the directory index on apache
<IfModule dir_module>
    DirectoryIndex index.html index.php ==> add index.php to be a default
file to search
</IfModule>

Alejandro M.S.
PAO/RS
Brasil

-----Mensagem original-----
De: Mateus Almeida [mailto:[email protected]] 
Enviada em: segunda-feira, 19 de setembro de 2011 18:32
Para: [email protected]
Assunto: [PHP] Installing PHP

Hello, I'm newbie and I'm trying to install PHP with Apache, but it doesn't
work. 

Every time I try to run a test I receive the message "Not Found The
requested URL /php/php-cgi.exe/test.php was not found on this server." OR
(when I try to change some options) "Forbidden You don't have permission to
access /php/php-cgi.exe/test.php on this server."

I've tried to copy the recommended configurations from some sites, but it
haven't worked. 

The machine runs Windows XP, I'm using an administrator account, no firewall
is blocking me, PHP and Apache are the most recent versions.

Thanks in advance.




--- End Message ---

Reply via email to