I heve installed apache ok.
I have done the following:
Installed
configured http.conf
add
we go to the line DirectoryIndex
and add
in the apache modules loaded must olready exist
modified loader.conf
and add
restart the service
we also installed
We check whether we really have php service, for this we will create a file named: test.php in /usr/local/www/apache/data
edit
In the file put the following code:
and I do not work and I don’t Know why. Can help me please.
Thank you very much
I have done the following:
Code:
# cd /usr/ports/lang/php5
Installed
Code:
# make install clean
configured http.conf
Code:
# ee /usr/local/etc/apache22/httpd.conf
add
Code:
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
we go to the line DirectoryIndex
and add
Code:
DirectoryIndex index.php index.htm index.html
in the apache modules loaded must olready exist
Code:
LoadModule php5_module libexec/apache22/libphp5.so
modified loader.conf
Code:
# ee /boot/loader.conf
and add
Code:
accf_http_load=â€YESâ€
restart the service
we also installed
Code:
/usr/ports/lang/php5-extensions
/usr/ports/databases/php5-mysql
/usr/ports/www/php5-session
/usr/ports/graphics/php5-gd
We check whether we really have php service, for this we will create a file named: test.php in /usr/local/www/apache/data
edit
Code:
# ee / usr/local/www/apache22/data/test.php
In the file put the following code:
Code:
<? Php phpinfo ();?>
and I do not work and I don’t Know why. Can help me please.
Thank you very much