Re: Installation PHP+Apaceh
| From: | Adam Voigt | Date: | Fri, 27 Jun 2003 12:41:38 +0000 |
| Subject: | Re: Installation PHP+Apaceh | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-11164@lists.php.net to get a copy of this message | ||
First, restart apache (or the machine).
Second, change it to:
<html>
<body>
<?php
print("Prueba");
?>
</body>
</html>
On Mon, 2003-06-23 at 11:14, Jose Manuel wrote:
> I have installed PHP 4.3.1 with Apache 1.3.23.
> PHP was compiled with
>
> #./configure --with-mysql --with-apxs
> #make
> #make install
>
> I have tested the file info.php and show the configuration of PHP correctly
> but when i try to test a web page, not function.
>
> I have created a little file prueba.php:
>
> <html>
> <body>
> Ejemplo
> <?
> print("Prueba");
> ?>
> </body>
> </html>
>
> and the output is
>
> Ejemplo
>
> It seems that not parse the php code
>
> PHP /usr/local/php-4.3.1
> php.ini /usr/local/lib/php.ini
> httpd.conf /etc/httpd/httpd.conf
>
> and i have insert the modules over httpd.conf
>
> ScriptAlias /php/ "/usr/local/lib"
> AddType application/x-hhtpd-php .php
> AddType application/x-hhtpd-php-source .phps
> Action application/x-httpd-php "/php/php"
>
> Any ideas.
>
--
Adam Voigt (adam@cryptocomm.com)
Linux/Unix Network Administrator
The Cryptocomm Group