11-26-2001
get error while compiling apache with php module
hi, i'm compiling apache with php module after i finish compile mysql-4.0.0-alpha.
i do it as the follow steps after untar'ed them in the same directory,
1) cd apache_1.3.22
./configure
2) cd php-4.0.6
./configure --with-mysql=/usr/local/mysql \
--with-apache=../apache_1.3.22 \
--enable-track-vars
make
make install
3) cd apache_1.3.22
./configure --prefix=/usr/local/apache \
--activate-module=src/modules/php4/libphp4.a
make
but i get the following error messages:
modules/php4/libphp4.a(internal_functions.o): In function `php_startup_internal_extensions':
/home/pub/php-4.0.6/main/internal_functions.c:56: undefined reference to `mysql_module_entry'
collect2: ld returned 1 exit status
make[2]: *** [target_static] Error 1
make[2]: Leaving directory `/home/pub/apache_1.3.22/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/home/pup/apache_1.3.22'
make: *** [build] Error 2
i compile them on debian linux and sunos5.7, but always get the same error messages ;(
could somebody help me? please
Last edited by jApHEth; 11-27-2001 at 01:09 AM..
10 More Discussions You Might Find Interesting
1. Solaris
Hi everyone,
I have SUn E250 server running solaris 10. I have installed apache 2 + MySQL + PHP-5.1.4 following the guidelines on this website
http://meljr.com/~meljr/AMPSolaris10.html
Excellent document for first time installation. Now, because I wanted to use Coppermine Photo Gallery, I... (9 Replies)
Discussion started by: callingrohit
9 Replies
2. HP-UX
hello everyone,
here i attempting to compile a c++ module .
I am using the following command
make -d dummyCHARGP.
i am using the gcc compiler .my os is HP-UX 11.11.
here i am getting the following errors.
errors:
=======
/swtemp/usbs/cc/unix-ce/root/subsys/include/main.h:146:... (1 Reply)
Discussion started by: mannam srinivas
1 Replies
3. UNIX and Linux Applications
I'm trying to compile an apache module (a tutorial module, Apache 2 Module Tutorial - GNU Build Tools and the Development Environment) and I get errors like this:
apr.h:273: error: expected ´=´, ´,´,´;´,´asm´ or ´__attribute__´ before ´apr_off_t´
those errors occur like 30 times in different... (4 Replies)
Discussion started by: hjalle
4 Replies
4. UNIX for Advanced & Expert Users
Hi I am trying to install drbd8 via apt-get on ubuntu10
sudo apt-get install drbd8-source
password for vishals:
Reading package lists... Done
Building dependency tree
Reading state information... Done
drbd8-source is already the newest version.
drbd8-source set to manually installed.
0... (0 Replies)
Discussion started by: vishal_vsh1
0 Replies
5. Web Development
Hi,
I am working on Linux Platform. I am just trying to port a CPP module to apache as a module. When I try to build the Apache , it throws an error as follows
libtool: unrecognized option `-DLINUX=2' Later I did some search and changed the config_vars.mk file under the "build" directory of... (0 Replies)
Discussion started by: ashabb
0 Replies
6. Red Hat
Hello,
I am facing an issue while starting the apache server after compiling php and curl.
Below are the versions i am using.
php-5.2.17
httpd-2.2.17
curl-7.16.0
CentOS5.5x64
Compiling above packages without curl working very fine but when trying to compile php with curl below error is... (1 Reply)
Discussion started by: sunnysthakur
1 Replies
7. UNIX for Dummies Questions & Answers
Hello All,
OS: OpenSuSE 12.3 x86_64
A little while back I installed Snort 2.9.6 and was trying to use the NFQ module along with it for packet acquisition but got errors that the module is not present. If I run:
# snort --daq-list
Available DAQ modules:
pcap(v3): readback live multi... (0 Replies)
Discussion started by: mrm5102
0 Replies
8. Web Development
Hi,
I'm new to developing modules for Apache. I understand the basics now and can develop something simple which allows a 'GET' request to happen, but what I want to do is actually 'POST' information to my site. I know the basic POST Request works and I can see that it is post by looking at... (2 Replies)
Discussion started by: fishman2001
2 Replies
9. Solaris
Hi,
I need to install php 5.5.30 as an apache (2.4.17) module on Solaris 10.
Please any help is wellcome.
Some aditional info:
/usr/sfw/bin/gcc -v
Reading specs from /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/specs
bash-3.2# g++ -v
Reading specs from... (0 Replies)
Discussion started by: lbslbs
0 Replies
10. Shell Programming and Scripting
Hi,
I need to install php 5.5.30 as an apache (2.4.17) module on Solaris 10.
Please any help is wellcome.
Some aditional info:
/usr/sfw/bin/gcc -v
Reading specs from /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/specs
bash-3.2# g++ -v
Reading specs from... (1 Reply)
Discussion started by: lbslbs
1 Replies
LEARN ABOUT SUSE
php-config5
php-config(1) Scripting Language php-config(1)
NAME
php-config - get information about PHP configuration and compile options
SYNOPSIS
php-config [options]
DESCRIPTION
php-config is a simple shell script for obtaining information about installed PHP configuration.
OPTIONS
--prefix Directory prefix where PHP is installed, e.g. /usr/local
--includes List of -I options with all include files
--ldflags LD Flags which PHP was compiled with
--libs Extra libraries which PHP was compiled with
--extension-dir
Directory where extensions are searched by default
--include-dir Directory prefix where header files are installed by default
--php-binary Full path to php CLI or CGI binary
--php-sapis Show all SAPI modules available
--configure-options
Configure options to recreate configuration of current PHP installation
--version PHP version
--vernum PHP version as integer
SEE ALSO
php(1)
VERSION INFORMATION
This manpage describes php, version 5.3.2.
COPYRIGHT
Copyright (C) 1997-2006 The PHP Group
This source file is subject to version 3.01 of the PHP license, that is bundled with this package in the file LICENSE, and is available
through the world-wide-web at the following url:
http://www.php.net/license/3_01.txt
If you did not receive a copy of the PHP license and are unable to obtain it through the world-wide-web, please send a note to
license@php.net so we can mail you a copy immediately.
The PHP Group 2006 php-config(1)