OO comes from the heart. You know you have it when everything you look at
turn into objects, attributes, accessors, mutators, and constructors.
When IBM transitioned from functional to OO level programming, they had their
top level engineers walk into a room and tell their employees that 80% of th
interface Shape {
public double getArea();
}
class Circle implements Shape {
double radius;
public Circle(int double radius) {
this.radius = radius;
}
public double getArea() {
return (radius * radius * 3.1415);
}
}
class Square implements Shape {
double side;
public
Hello Everyone,
I am trying to compile php from source using the following config:
./configure --prefix=/usr/local/php
--with-apxs2=/usr/local/apache/bin/apxs
--with-config-file-path=/usr/local/php
--with-mcrypt=/usr/local/bin/mcrypt --with-mysqli
--with-gettext=./ext/gettext --with-pear
--with-l
Hello Everyone,
I am trying to compile php from source using the following config:
./configure --prefix=/usr/local/php
--with-apxs2=/usr/local/
apache/bin/apxs
--with-config-file-path=/usr/local/php
--with-mcrypt=/usr/local/bin/mcrypt --with-mysqli
--with-gettext=./ext/gettext --with-pear
--with-
I have been stuck on this, and have no idea what is causing it. I have
compiled PHP with mysqli support:
./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache/bin/apxs
--with-config-file-path=/usr/local/php --with-mcrypt=/usr/local/bin/mcrypt
--with-mysqli --with-gettext=./ext/gettext
I was just going to try recompilign with mysql instead of mysqli... I hope
this fixes it.
In terms of mysql being compiled into the core, does this mean I do not have
to add
extension=mysqli.so
extension_dir=/usr/local/php/
include/php/ext/
Thanks in Advance,
Correct. Extensions, such as those found in the PECL repository,
are added in that manner. Things compiled into the core, such as what
you're doing with MySQLi, are automatically loaded regardless, because
they're statically-built into the PHP binary itself.
7 matches
Mail list logo