Installation PHP+Apaceh
| From: | Jose Manuel | Date: | Mon, 23 Jun 2003 15:14:50 +0000 |
| Subject: | Installation PHP+Apaceh | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-11163@lists.php.net to get a copy of this message | ||
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.