Mysql5/PHP5 installed from ports on FBSD 6




Playing around with a new machine, installed FBSD 6 and decided to try the
latest PHP5 and MySQL5 in the ports tree. Normally using PHP4 something
under apache 1.3.29 for ages now.

Did a portsnap to get the latest port tree.

Built from ports: apache 2.0.55, then mysql 5.0.19 and started it then
built php 5.1.2 and installed the php5 extensions for mysql.

Everything starts up ok, hit the server and do a phpinfo() ok things look
like they went ok, scroll down and see for the mysql settings:

Active Persistent Links 0
Active Links 0
Client API version 5.0.19
MYSQL_MODULE_TYPE no value
MYSQL_SOCKET /tmp/mysql.sock
MYSQL_INCLUDE no value
MYSQL_LIBS no value

oh thats not good, seeing the INCLUDE and LIBS with 'no value'. So copy
over a small test db and some php scripts to the new server, all I get
output is 'error' when doing a sql query via php...nothing in
httpd-error.log like my other php4/apache1.3 machine either, so I dont
know how its failing.

Did I miss a --with-mysql somewhere while doing php?

Anyone have an idea here of what to try next?

Thanks.


_______________________________________________
freebsd-isp@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-isp
To unsubscribe, send any mail to "freebsd-isp-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Advice needed - how did I get into this mess?
    ... PostgreSQL + MySQL was a decent way to set up a development server. ... all this on a dual Xeon platform - spent ages configuring and getting things ... running - last thing to load is the PHP development side - i.e. Zend ... The easiest way I know if is to cvsup your ports tree to the day just ...
    (freebsd-questions)
  • why is php4.3.3rc2 the latest version in ports?
    ... this process updated my version of php from 4.3.1 to 4.3.3rc2. ... we use pdflib commands pretty frequently on our site, ... pdflib version 4.0.1 is also broken in the latest ports tree. ... etc. because of the broken pdflib support in php4.3.3rc2. ...
    (freebsd-questions)
  • Re: Updated php, and apache segfaults on SIGHUP
    ... I get this in the apache error log: ... I narrowed it down to php - when I disable the php5 module, ... php5-gettext-5.2.6 The gettext shared extension for php ... In case it was an out of date dependency, I did a cvsup on the ports tree, ...
    (freebsd-current)
  • Re: Updated php, and apache segfaults on SIGHUP
    ... I get this in the apache error log: ... I narrowed it down to php - when I disable the php5 module, ... php5-gettext-5.2.6 The gettext shared extension for php ... In case it was an out of date dependency, I did a cvsup on the ports tree, ...
    (freebsd-questions)
  • Updated php, and apache segfaults on SIGHUP
    ... I recently upgraded my php5 ports to latest ports tree versions, and now I'm in a situation where any HUP signal sent to apache is causing the entire process to dump core. ... I narrowed it down to php - when I disable the php5 module, ... php5-gettext-5.2.6 The gettext shared extension for php ...
    (freebsd-current)