Re: Install Apache - PHP - MySQL - Oci8
- From: Rumba Dancer <no.mail.yet@xxxxx>
- Date: Wed, 26 Apr 2006 20:11:03 +0200
stephen.legall@xxxxxxxxx wrote:
Hello,
I would like to install Apache -PHP - MySQL with Oci8
well im not an expert but here what i have to tell.
If you want A + P + M to be installed i advice this path:
install apache
install php5
add line to the /usr/local/etc/apache22/httpd.conf
to tag
<IfModule mime_module>
AddType application/x-httpd-php .php
keep in mind that it must be httpd not http. I see many pages showing HOWTOS
that make that mistake.
Line
LoadModule php5_module libexec/apache22/libphp5.so
should be added with port mechanism
next install MySQL and Oci and then php-extensions but before edit Makefile
and put "on" on database you want support.
Next
$cd /usr/local/www/apache22/data
echo "<? phpinfo(); ?>" > test.php
$apachectl start
open 127.0.0.1/test.php and you should see some tabels
As for ld i see especially in modern version of FBSD that ld is not
searching for libs in other directories ie. /usr/X11R6/lib
way to fix it is to add -L/usr/point_to_other_libs
.
- References:
- Install Apache - PHP - MySQL - Oci8
- From: stephen . legall
- Install Apache - PHP - MySQL - Oci8
- Prev by Date: Re: Reiserfs support
- Next by Date: Re: Do wide-screen monitors work with X under FreeBSD 6.x?
- Previous by thread: Install Apache - PHP - MySQL - Oci8
- Next by thread: Reading video from DVD-RAM
- Index(es):
Relevant Pages
|
|