Re: Install Apache - PHP - MySQL - Oci8



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
.



Relevant Pages

  • Re: lightest weight web server with php / mysql support
    ... space as possible and that supports PHP and MySQL. ... I could, for example, install Windows XP, then install Apache, and then ...
    (comp.lang.php)
  • Re: win XP need help trying to recover from crash
    ... i performed the repair install. ... my php and mysql directories as well as install apache. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Silicon Image SIL680 RAID Controller
    ... How do I install apache from the FreeBSD 4.10 CD without installing ... but unless I install the entire group of Packages on ...
    (comp.unix.bsd.freebsd.misc)
  • Re: installing Apache
    ... First, you should ditch Linspire and install generic Debian, IMHO. ... Then 'apt-get install apache2' will install Apache. ...
    (comp.os.linux.misc)
  • Re: PHP5 install error on FreeBSD 7.0
    ... Apache seems to work fine, though, when I install apache from ... *** Error code 1 ... something went wrong with the apache install or files got ... Problem with today's modular software: ...
    (freebsd-questions)