php-install Digest 31 Aug 2001 13:18:52 -0000 Issue 437
Topics (messages 4117 through 4134):
Compiling php with apache
4117 by: Larry Cotton
Directory structure and include paths for php and apache
4118 by: Larry Cotton
Compiling php4 with apache - directory stucture and include paths
4119 by: Larry Cotton
installation of php on solaris 8 on sparc with iplanet4.1 and sy base
4120 by: Peter Francq
4123 by: Alfred Lerch
Install & Build Php4 with Apache 1.3.20 - Directory structure and include paths
4121 by: Larry Cotton
4122 by: Larry Cotton
4124 by: Larry Cotton
4126 by: Larry Cotton
4130 by: Larry Cotton
IMAP Support
4125 by: Nicolas JOUANIN
PHP-4.0.6 gd-1.8.4 freetype2.0.4 woes
4127 by: Tim Kay
4128 by: Jonathan Hilgeman
PHP make install error
4129 by: james.iph.ac.ug
PHP on iis5 as isapi "The specified module could not be found." what gives?
4131 by: Bawy
Compile : error with ludmsearch
4132 by: FL
Apache Seg Faults with php/java page.
4133 by: Bill Koch
problem with png_get_error_ptr
4134 by: ron
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
Hi
I've been trying to install and build php 4 with apache 1.3.20 on linux and
have had a couple of minor problems.
I've been following the build instructions at
http://www.php.net/manual/en/install.apache.php.
1) As indicated in the above instructions I configure the php using the
following command :
./configure --with-mysql --with-apache=../apache_1.3.20 --enable-track-vars
--with-config-file-path="/imerge/home/lc1/php-4.0.6/usr/local/lib"
'make' seems to run through fine.
when I run 'make install' it's attempting to create directories in
/usr/local/lib - which fails because I haven't got permissions :
make[1]: Entering directory `/imerge/home/lc1/php-4.0.6/pear'
make[2]: Entering directory `/imerge/home/lc1/php-4.0.6/pear'
mkdir cannot make directory '/usr/local/lib/php
+----------------------------------------------------------------------+
| The installation process is incomplete. The following resources were |
| not installed: |
| |
| Self-contained Extension Support |
| PEAR: PHP Extension and Add-on Repository |
| |
| To install these components, become the superuser and execute: |
| |
| # make install-su |
+----------------------------------------------------------------------+
make[2]: *** [install-data-local] Error 5
make[2]: Leaving directory '/imerge/home/lc1/php-4.06/pear'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory '/imerge/home/lc1/php-4.06/pear'
make: *** [install-recursive] Error 1
I've got round this by setting an INSTALL_ROOT environment variable to a
directory for which I have permissions, does anyone know how to change this
default directory more officially (using configure options) ?
2) I then confugure apache as instructed (except I've changed libphp4.a to
libmodphp4.a - since that seems to be the name of the library generated)
using the command :
./configure --activate-module=src/modules/php4/libmodphp4.a
When I make this I get compile errors for mod_php4.c for a load of php
headers, saying it can't find the files - messages something like :
mod_php4.c:28: zend.h: No such file or directory
mod_php4.c:28: php.h: No such file or directory
..... etc.
This isn't surprising since these headers are under the php directory
structure. Have I done something wrong here or am I supposed to copy the
headers to the apache directory structure otr manually update the makefile ?
Thanks
Larry
Hi
I've been trying to install and build php 4 with apache 1.3.20 on linux and
have had a couple of minor problems.
I've been following the build instructions at
http://www.php.net/manual/en/install.apache.php.
1) As indicated in the above instructions I configure the php using the
following command :
./configure --with-mysql --with-apache=../apache_1.3.20 --enable-track-vars
--with-config-file-path="/imerge/home/lc1/php-4.0.6/usr/local/lib"
'make' seems to run through fine.
when I run 'make install' it's attempting to create directories in
/usr/local/lib - which fails because I haven't got permissions :
make[1]: Entering directory `/imerge/home/lc1/php-4.0.6/pear'
make[2]: Entering directory `/imerge/home/lc1/php-4.0.6/pear'
mkdir cannot make directory '/usr/local/lib/php
+----------------------------------------------------------------------+
| The installation process is incomplete. The following resources were |
| not installed: |
| |
| Self-contained Extension Support |
| PEAR: PHP Extension and Add-on Repository |
| |
| To install these components, become the superuser and execute: |
| |
| # make install-su |
+----------------------------------------------------------------------+
make[2]: *** [install-data-local] Error 5
make[2]: Leaving directory '/imerge/home/lc1/php-4.06/pear'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory '/imerge/home/lc1/php-4.06/pear'
make: *** [install-recursive] Error 1
I've got round this by setting an INSTALL_ROOT environment variable to a
directory for which I have permissions, does anyone know how to change this
default directory more officially (using configure options) ?
2) I then confugure apache as instructed (except I've changed libphp4.a to
libmodphp4.a - since that seems to be the name of the library generated)
using the command :
./configure --activate-module=src/modules/php4/libmodphp4.a
When I make this I get compile errors for mod_php4.c for a load of php
headers, saying it can't find the files - messages something like :
mod_php4.c:28: zend.h: No such file or directory
mod_php4.c:28: php.h: No such file or directory
..... etc.
This isn't surprising since these headers are under the php directory
structure. Have I done something wrong here or am I supposed to copy the
headers to the apache directory structure otr manually update the makefile ?
Thanks
Larry
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Imerge Limited Tel :- +44 (0)1954 783600
Unit 6 Bar Hill Business Park Fax :- +44 (0)1954 783601
Saxon Way Web :- http://www.imerge.co.uk
Bar Hill
Cambridge
CB3 8SL
United Kingdom
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hi
I've been trying to install and build php 4 with apache 1.3.20 on linux and
have had a couple of minor problems.
I've been following the build instructions at
http://www.php.net/manual/en/install.apache.php.
1) As indicated in the above instructions I configure the php using the
following command :
./configure --with-mysql --with-apache=../apache_1.3.20 --enable-track-vars
--with-config-file-path="/imerge/home/lc1/php-4.0.6/usr/local/lib"
'make' seems to run through fine.
when I run 'make install' it's attempting to create directories in
/usr/local/lib - which fails because I haven't got permissions :
make[1]: Entering directory `/imerge/home/lc1/php-4.0.6/pear'
make[2]: Entering directory `/imerge/home/lc1/php-4.0.6/pear'
mkdir cannot make directory '/usr/local/lib/php
+----------------------------------------------------------------------+
| The installation process is incomplete. The following resources were |
| not installed: |
| |
| Self-contained Extension Support |
| PEAR: PHP Extension and Add-on Repository |
| |
| To install these components, become the superuser and execute: |
| |
| # make install-su |
+----------------------------------------------------------------------+
make[2]: *** [install-data-local] Error 5
make[2]: Leaving directory '/imerge/home/lc1/php-4.06/pear'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory '/imerge/home/lc1/php-4.06/pear'
make: *** [install-recursive] Error 1
I've got round this by setting an INSTALL_ROOT environment variable to a
directory for which I have permissions, does anyone know how to change this
default directory more officially (using configure options) ?
2) I then confugure apache as instructed (except I've changed libphp4.a to
libmodphp4.a - since that seems to be the name of the library generated)
using the command :
./configure --activate-module=src/modules/php4/libmodphp4.a
When I make this I get compile errors for mod_php4.c for a load of php
headers, saying it can't find the files - messages something like :
mod_php4.c:28: zend.h: No such file or directory
mod_php4.c:28: php.h: No such file or directory
..... etc.
This isn't surprising since these headers are under the php directory
structure. Have I done something wrong here or am I supposed to copy the
headers to the apache directory structure otr manually update the makefile ?
Thanks
Larry
Dear all,
has somebody already compiled and installed php as NSAPI module for iplanet
4.1 in combination with sybase 12 and that on a solaris8 on sparc?
All comments are welcome,
Kind regards,
Peter Francq
_________________________________________
Peter Francq
swITch nv/sa
Tel: +32 2 254.13.47
Fax: +32 2 254.13.00
e-mail: [EMAIL PROTECTED]
GSM: +32 498 45.28.32
Hi Peter,
have a look at http://benoit.noss.free.fr/php/install-php4.html
It covers iplanet 4 as NSAPI on Windows and UNIX, but not sybase
regards
alfred
Peter Francq wrote:
>
> Dear all,
>
> has somebody already compiled and installed php as NSAPI module for
> iplanet
> 4.1 in combination with sybase 12 and that on a solaris8 on sparc?
>
> All comments are welcome,
> Kind regards,
> Peter Francq
> _________________________________________
> Peter Francq
> swITch nv/sa
>
> Tel: +32 2 254.13.47
> Fax: +32 2 254.13.00
> e-mail: [EMAIL PROTECTED]
> GSM: +32 498 45.28.32
--
--
\\\\\///
/ ^ _ \
( (o) (o) ) --- That's all folks ---
+=oOOO=====(_)=====OOOo==========================================+
|Alfred Lerch Mentor Graphics Deutschland GmbH|
|Network & System Administrator Elsenheimer Str. 41 - 43|
|IT - Business Support Team Munich D-80687 Muenchen, Germany|
|email: [EMAIL PROTECTED] Fax : +49 89 57096-400|
|Tel. : +49 89 57096-241 Mobile: +49 172 8915200|
| |
|Helpdesk IT Central Europe in Munich |
|Tel. : +49 89 57096-110 internal: 777|
|email: [EMAIL PROTECTED] |
+=============Oooo.==============================================+
.oooO ( )
( ) ) /
\ ( (_/
\_)
Hi
I've been trying to install and build php 4 with apache 1.3.20 on linux and
have had a couple of minor problems.
I've been following the build instructions at
http://www.php.net/manual/en/install.apache.php.
1) As indicated in the above instructions I configure the php using the
following command :
./configure --with-mysql --with-apache=../apache_1.3.20 --enable-track-vars
--with-config-file-path="/imerge/home/lc1/php-4.0.6/usr/local/lib"
'make' seems to run through fine.
when I run 'make install' it's attempting to create directories in
/usr/local/lib - which fails because I haven't got permissions :
make[1]: Entering directory `/imerge/home/lc1/php-4.0.6/pear'
make[2]: Entering directory `/imerge/home/lc1/php-4.0.6/pear'
mkdir cannot make directory '/usr/local/lib/php
+----------------------------------------------------------------------+
| The installation process is incomplete. The following resources were |
| not installed: |
| |
| Self-contained Extension Support |
| PEAR: PHP Extension and Add-on Repository |
| |
| To install these components, become the superuser and execute: |
| |
| # make install-su |
+----------------------------------------------------------------------+
make[2]: *** [install-data-local] Error 5
make[2]: Leaving directory '/imerge/home/lc1/php-4.06/pear'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory '/imerge/home/lc1/php-4.06/pear'
make: *** [install-recursive] Error 1
I've got round this by setting an INSTALL_ROOT environment variable to a
directory for which I have permissions, does anyone know how to change this
default directory more officially (using configure options) ?
2) I then confugure apache as instructed (except I've changed libphp4.a to
libmodphp4.a - since that seems to be the name of the library generated)
using the command :
./configure --activate-module=src/modules/php4/libmodphp4.a
When I make this I get compile errors for mod_php4.c for a load of php
headers, saying it can't find the files - messages something like :
mod_php4.c:28: zend.h: No such file or directory
mod_php4.c:28: php.h: No such file or directory
..... etc.
This isn't surprising since these headers are under the php directory
structure. Have I done something wrong here or am I supposed to copy the
headers to the apache directory structure otr manually update the makefile ?
Thanks
Larry
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Imerge Limited Tel :- +44 (0)1954 783600
Unit 6 Bar Hill Business Park Fax :- +44 (0)1954 783601
Saxon Way Web :- http://www.imerge.co.uk
Bar Hill
Cambridge
CB3 8SL
United Kingdom
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hi
I've been trying to install and build php 4 with apache 1.3.20 on linux and
have had a couple of minor problems.
I've been following the build instructions at
http://www.php.net/manual/en/install.apache.php.
1) As indicated in the above instructions I configure the php using the
following command :
./configure --with-mysql --with-apache=../apache_1.3.20 --enable-track-vars
--with-config-file-path="/imerge/home/lc1/php-4.0.6/usr/local/lib"
'make' seems to run through fine.
when I run 'make install' it's attempting to create directories in
/usr/local/lib - which fails because I haven't got permissions :
make[1]: Entering directory `/imerge/home/lc1/php-4.0.6/pear'
make[2]: Entering directory `/imerge/home/lc1/php-4.0.6/pear'
mkdir cannot make directory '/usr/local/lib/php
+----------------------------------------------------------------------+
| The installation process is incomplete. The following resources were |
| not installed: |
| |
| Self-contained Extension Support |
| PEAR: PHP Extension and Add-on Repository |
| |
| To install these components, become the superuser and execute: |
| |
| # make install-su |
+----------------------------------------------------------------------+
make[2]: *** [install-data-local] Error 5
make[2]: Leaving directory '/imerge/home/lc1/php-4.06/pear'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory '/imerge/home/lc1/php-4.06/pear'
make: *** [install-recursive] Error 1
I've got round this by setting an INSTALL_ROOT environment variable to a
directory for which I have permissions, does anyone know how to change this
default directory more officially (using configure options) ?
2) I then confugure apache as instructed (except I've changed libphp4.a to
libmodphp4.a - since that seems to be the name of the library generated)
using the command :
./configure --activate-module=src/modules/php4/libmodphp4.a
When I make this I get compile errors for mod_php4.c for a load of php
headers, saying it can't find the files - messages something like :
mod_php4.c:28: zend.h: No such file or directory
mod_php4.c:28: php.h: No such file or directory
..... etc.
This isn't surprising since these headers are under the php directory
structure. Have I done something wrong here or am I supposed to copy the
headers to the apache directory structure otr manually update the makefile ?
Thanks
Larry
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Imerge Limited Tel :- +44 (0)1954 783600
Unit 6 Bar Hill Business Park Fax :- +44 (0)1954 783601
Saxon Way Web :- http://www.imerge.co.uk
Bar Hill
Cambridge
CB3 8SL
United Kingdom
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hi
I've been trying to install and build php 4 with apache 1.3.20 on linux and
have had a couple of minor problems.
I've been following the build instructions at
http://www.php.net/manual/en/install.apache.php.
1) As indicated in the above instructions I configure the php using the
following command :
./configure --with-mysql --with-apache=../apache_1.3.20 --enable-track-vars
--with-config-file-path="/imerge/home/lc1/php-4.0.6/usr/local/lib"
'make' seems to run through fine.
when I run 'make install' it's attempting to create directories in
/usr/local/lib - which fails because I haven't got permissions :
make[1]: Entering directory `/imerge/home/lc1/php-4.0.6/pear'
make[2]: Entering directory `/imerge/home/lc1/php-4.0.6/pear'
mkdir cannot make directory '/usr/local/lib/php
+----------------------------------------------------------------------+
| The installation process is incomplete. The following resources were |
| not installed: |
| |
| Self-contained Extension Support |
| PEAR: PHP Extension and Add-on Repository |
| |
| To install these components, become the superuser and execute: |
| |
| # make install-su |
+----------------------------------------------------------------------+
make[2]: *** [install-data-local] Error 5
make[2]: Leaving directory '/imerge/home/lc1/php-4.06/pear'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory '/imerge/home/lc1/php-4.06/pear'
make: *** [install-recursive] Error 1
I've got round this by setting an INSTALL_ROOT environment variable to a
directory for which I have permissions, does anyone know how to change this
default directory more officially (using configure options) ?
2) I then confugure apache as instructed (except I've changed libphp4.a to
libmodphp4.a - since that seems to be the name of the library generated)
using the command :
./configure --activate-module=src/modules/php4/libmodphp4.a
When I make this I get compile errors for mod_php4.c for a load of php
headers, saying it can't find the files - messages something like :
mod_php4.c:28: zend.h: No such file or directory
mod_php4.c:28: php.h: No such file or directory
..... etc.
This isn't surprising since these headers are under the php directory
structure. Have I done something wrong here or am I supposed to copy the
headers to the apache directory structure otr manually update the makefile ?
Thanks
Larry
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Imerge Limited Tel :- +44 (0)1954 783600
Unit 6 Bar Hill Business Park Fax :- +44 (0)1954 783601
Saxon Way Web :- http://www.imerge.co.uk
Bar Hill
Cambridge
CB3 8SL
United Kingdom
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hi
I've been trying to install and build php 4 with apache 1.3.20 on linux and
have had a couple of minor problems.
I've been following the build instructions at
http://www.php.net/manual/en/install.apache.php.
1) As indicated in the above instructions I configure the php using the
following command :
./configure --with-mysql --with-apache=../apache_1.3.20 --enable-track-vars
--with-config-file-path="/imerge/home/lc1/php-4.0.6/usr/local/lib"
'make' seems to run through fine.
when I run 'make install' it's attempting to create directories in
/usr/local/lib - which fails because I haven't got permissions :
make[1]: Entering directory `/imerge/home/lc1/php-4.0.6/pear'
make[2]: Entering directory `/imerge/home/lc1/php-4.0.6/pear'
mkdir cannot make directory '/usr/local/lib/php
+----------------------------------------------------------------------+
| The installation process is incomplete. The following resources were |
| not installed: |
| |
| Self-contained Extension Support |
| PEAR: PHP Extension and Add-on Repository |
| |
| To install these components, become the superuser and execute: |
| |
| # make install-su |
+----------------------------------------------------------------------+
make[2]: *** [install-data-local] Error 5
make[2]: Leaving directory '/imerge/home/lc1/php-4.06/pear'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory '/imerge/home/lc1/php-4.06/pear'
make: *** [install-recursive] Error 1
I've got round this by setting an INSTALL_ROOT environment variable to a
directory for which I have permissions, does anyone know how to change this
default directory more officially (using configure options) ?
2) I then confugure apache as instructed (except I've changed libphp4.a to
libmodphp4.a - since that seems to be the name of the library generated)
using the command :
./configure --activate-module=src/modules/php4/libmodphp4.a
When I make this I get compile errors for mod_php4.c for a load of php
headers, saying it can't find the files - messages something like :
mod_php4.c:28: zend.h: No such file or directory
mod_php4.c:28: php.h: No such file or directory
..... etc.
This isn't surprising since these headers are under the php directory
structure. Have I done something wrong here or am I supposed to copy the
headers to the apache directory structure otr manually update the makefile ?
Thanks
Larry
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Imerge Limited Tel :- +44 (0)1954 783600
Unit 6 Bar Hill Business Park Fax :- +44 (0)1954 783601
Saxon Way Web :- http://www.imerge.co.uk
Bar Hill
Cambridge
CB3 8SL
United Kingdom
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hi
Previously I wrote :
****************************************
I've been trying to install and build php 4 with apache 1.3.20 on linux and
have had a couple of minor problems.
I've been following the build instructions at
http://www.php.net/manual/en/install.apache.php.
1) As indicated in the above instructions I configure the php using the
following command :
./configure --with-mysql --with-apache=../apache_1.3.20 --enable-track-vars
--with-config-file-path="/imerge/home/lc1/php-4.0.6/usr/local/lib"
'make' seems to run through fine.
when I run 'make install' it's attempting to create directories in
/usr/local/lib - which fails because I haven't got permissions :
make[1]: Entering directory `/imerge/home/lc1/php-4.0.6/pear'
make[2]: Entering directory `/imerge/home/lc1/php-4.0.6/pear'
mkdir cannot make directory '/usr/local/lib/php
+----------------------------------------------------------------------+
| The installation process is incomplete. The following resources were |
| not installed: |
| |
| Self-contained Extension Support |
| PEAR: PHP Extension and Add-on Repository |
| |
| To install these components, become the superuser and execute: |
| |
| # make install-su |
+----------------------------------------------------------------------+
make[2]: *** [install-data-local] Error 5
make[2]: Leaving directory '/imerge/home/lc1/php-4.06/pear'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory '/imerge/home/lc1/php-4.06/pear'
make: *** [install-recursive] Error 1
I've got round this by setting an INSTALL_ROOT environment variable to a
directory for which I have permissions, does anyone know how to change this
default directory more officially (using configure options) ?
2) I then confugure apache as instructed (except I've changed libphp4.a to
libmodphp4.a - since that seems to be the name of the library generated)
using the command :
./configure --activate-module=src/modules/php4/libmodphp4.a
When I make this I get compile errors for mod_php4.c for a load of php
headers, saying it can't find the files - messages something like :
mod_php4.c:28: zend.h: No such file or directory
mod_php4.c:28: php.h: No such file or directory
..... etc.
This isn't surprising since these headers are under the php directory
structure. Have I done something wrong here or am I supposed to copy the
headers to the apache directory structure otr manually update the makefile ?
************************
I got round thse problems by setting INSTALL_ROOT and altering the #includes
in the relevant php files, but I guess there must be a "proper" way to do
them. If anyone out there knows how to do this I would still like to know
how.
Having got all this to build when I start appache and I try to run a file
with a .php extension using IE5.5 I get a dialog box up as if I have
selected a file to download :
You have chosen to download a file from this location.
hello.php from 172.20.30.3
... etc. etc.
My httpd.conf file has the following file type commands :
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
AddType application/x-tar .tgz
Anyone know what the problem might be here.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Imerge Limited Tel :- +44 (0)1954 783600
Unit 6 Bar Hill Business Park Fax :- +44 (0)1954 783601
Saxon Way Web :- http://www.imerge.co.uk
Bar Hill
Cambridge
CB3 8SL
United Kingdom
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hi,
I'm trying to enable IMAP support (--with-imap) on PHP 4.0.6 and Apache
1.3.19 on a RH 7.1 Linux.
Here's my Apache configure line:
./configure --prefix=/usr/local/apache --sysconfdir=/etc/httpd --htdocsdir=/
www/htdocs --cgidir=/www/cgi-bin --logfiledir=/var/log/httpd --enable-module
=so --enable-module=mime_magic --enable-shared=mime_magic --enable-module=he
aders --enable-shared=headers --enable-module=rewrite --enable-shared=rewrit
e --enable-module=speling --enable-shared=speling
and my PHP configure line:
./configure --with-apxs=/usr/local/apache/bin/apxs --with-config-file-path=/
usr/local/php --with-pgsql=/usr/local/pgsql --with-gd --with-xml --enable-tr
ack-vars --enable-magic-quotes --enable-debugger --enable-trans-sid --withou
t-mysql --sysconfdir=/etc/httpd/ --enable-sockets --with-informix=/usr/infor
mix --with-ldap --with-imap
I can make this compile without any problem without the --with-imap option.
I followed the instructions on www.php.net saying that you must get the last
c-client archive, compile it and copy some headers in /usr/include.
With the --with-imap option, there are not compilation errors, but after the
installation, I get the following error when starting
/usr/local/apache/bin/apachectl start :
Cannot load /usr/local/apache/libexec/libphp4.so into server:
/usr/local/apache/libexec/libphp4.so: undefined symbol: mxdriver
/usr/local/apache/bin/apachectl start: httpd could not be started
It seems that this mxdriver is from c-client.
Does anyone got any ideas about that ?
Nicolas.
Ok, end of my tether now - has _anyone_ got this combination to give
anything but "libgd was not built with TrueType font support" I've tried
every combination of
./configure --with-gd --enable-gd-native-ttf with freetype support in gd
-verified by testft and phpinfo()
./configure --with-gd --with-freetype-dir=/usr both with and without
freetype support in gd
Nothing appears to allow ImageTTFText to run!!!
Tim Kay
[EMAIL PROTECTED]
You say you're getting a message that indicates that it worked via phpinfo()
? Where is your info page? Are you sure there isn't another error or warning
that is being displayed inside the image file? Try:
1) Putting error_reporting(0) at the top of your image file code
2) Modify php.ini and set track_errors to On so that you get the last error
message in $php_errormsg. Then you can write that variable out to a debug
log/file after the code has finished running, and see if there are any
errors being reported.
- Jonathan
-----Original Message-----
From: Tim Kay [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 30, 2001 7:44 AM
To: [EMAIL PROTECTED]
Subject: [PHP-INST] PHP-4.0.6 gd-1.8.4 freetype2.0.4 woes
Ok, end of my tether now - has _anyone_ got this combination to give
anything but "libgd was not built with TrueType font support" I've tried
every combination of
./configure --with-gd --enable-gd-native-ttf with freetype support in gd
-verified by testft and phpinfo()
./configure --with-gd --with-freetype-dir=/usr both with and without
freetype support in gd
Nothing appears to allow ImageTTFText to run!!!
Tim Kay
[EMAIL PROTECTED]
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
Hi all
i am new to the list and trying to install php on Suse 6.1. My apache is
ver 1.3.6 and am installing php ver 4.0.6. The kind of error I get is as
follows:
/usr/local/etc/php-4.0.6/build/shtool mkdir -p "/usr/lib/apache" && apxs
-S LIBEXECDIR="/usr/lib/apache" -i -a -n php4 libs/libphp4.so
apxs:Error: Unkown option: S
-------------------
The above happens when i run "make install". I have searched the
internet and archives for an answer but all in vain.
Please advise.
Thanks in advance.
James
I am using iis5 and tried switching the .php association from php.exe to
php4isapi.dll (with the appropriate file path) and all I get is "The
specified module could not be found." What do I gotta do to get PHP working
as an isapi module?
Hi!
I've compiled and installed mnogosearch 3.1.19. The indexer runs well.
I've downloaded php-4.0.6.tar.gz.
configure runs but make stops on :
/bin/sh /root/php-4.0.6/libtool --silent --mode=link gcc -I.
-I/root/php-4.0.6/ -I/root/php-4.0.6/main -I/root/php-4.0.6
-I/root/php-4.0.6/Zend -I/usr/local/mnogosearch/include
-I/root/php-4.0.6/ext/mysql/libmysql -I/root/php-4.0.6/ext/xml/expat/xmltok
-I/root/php-4.0.6/ext/xml/expat/xmlparse -I/root/php-4.0.6/TSRM
-DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2 -o php -export-dynamic stub.lo
libphp4.la
/usr/bin/ld: cannot find -ludmsearch
collect2: ld returned 1 exit status
make[1]: *** [php] Erreur 1
make[1]: Quitte le r�pertoire `/root/php-4.0.6'
make: *** [all-recursive] Erreur 1
Configure line was :
./configure --disable-static --disable-debug --disable-rpath --enable-pic
--enable-inline-optimization --prefix=/usr --with-zlib
--with-config-file-path=/etc --enable-magic-quotes --enable-debugger
--enable-track-vars --enable-safe-mode --with-exec-dir=/usr/bin
--with-regex=system --with-versioning --enable-sysvsem --enable-sysvshm
--with-mod_charset --enable-force-cgi-redirect --with-mm --enable-trans-sid
--with-dbase --with-filepro --enable-yp --enable-ftp --with-xml
--with-gettext --with-mnogosearch=/usr/local/mnogosearch
Configuration :
Linux MDK 8.0 P-III-850
gcc -v : Reading specs from /usr/lib/gcc-lib/i586-mandrake-linux/2.96/specs
gcc version 2.96 20000731 (Linux-Mandrake 8.0 2.96-0.48mdk)
Any idea ?
Thanks a lot !
Francois
I posted this on the General board and I have not heard any response. I
hope someone can help me. Here the low down. I am getting Apache errors
everytime that I try and run a Java class I get a
segmentation error. Everything works fine except the Java. I have since
recompiled PHP as a static module and still I get the Segmentation Fault.
I am running RH 7.1(2.4.2) Apache 1.3.19 with mod_ssl and OpenSSL, PHP is
configured as follows:
./configure --with-mysql=/usr/local/mysql
--with-pfpro=shared,/tmp/verisign/payflowpro/linux
--enable-trackvars
--with-apxs=/usr/local/apache/bin/apxs
--with-java=/usr/java/jdk1.3.1
--with-zlib
Here is the error from my log
[Thu Aug 30 08:35:33 2001] [notice] child pid xxxxx exit signal Segmentation
fault (11)
And this is a backtrace of Seg.
#0 0x40009e1b in _dl_lookup_versioned_symbol () at eval.c:41
#1 0x4000d816 in fixup () at eval.c:41
#2 0x4000d9b0 in _dl_runtime_resolve () at eval.c:41
#3 0x405219b2 in os::thread_local_storage_at_put ()
from /usr/java/jdk1.3.1/jre/lib/i386/hotspot/libjvm.so
#4 0x40556887 in ThreadLocalStorage::set_thread ()
from /usr/java/jdk1.3.1/jre/lib/i386/hotspot/libjvm.so
#5 0x40552a81 in Threads::create_vm ()
from /usr/java/jdk1.3.1/jre/lib/i386/hotspot/libjvm.so
#6 0x404c2958 in JNI_CreateJavaVM ()
from /usr/java/jdk1.3.1/jre/lib/i386/hotspot/libjvm.so
#7 0x40212969 in jvm_create () at java.c:254
#8 0x40212ed7 in java_call_function_handler (ht=1, return_value=0x821e444,
this_ptr=0x82236f4, return_value_used=1, property_reference=0xbfffe548)
at java.c:435
#9 0x0810b119 in call_overloaded_function (T=0xbfffe53c, arg_count=1,
return_value=0x821e444) at ./zend_execute.c:856
#10 0x0810e45f in execute (op_array=0x821e2b4) at ./zend_execute.c:1566
#11 0x080e65be in zend_execute_scripts (type=8, file_count=3) at zend.c:752
#12 0x0807e39f in php_execute_script (primary_file=0xbffff880) at
main.c:1206
#13 0x080f1fe6 in apache_php_module_main (r=0x8216684,
display_source_mode=0)
at sapi_apache.c:89
#14 0x0807bdd0 in send_php () at eval.c:41
at java.c:435
#9 0x0810b119 in call_overloaded_function (T=0xbfffe53c, arg_count=1,
return_value=0x821e444) at ./zend_execute.c:856
#10 0x0810e45f in execute (op_array=0x821e2b4) at ./zend_execute.c:1566
#11 0x080e65be in zend_execute_scripts (type=8, file_count=3) at zend.c:752
#12 0x0807e39f in php_execute_script (primary_file=0xbffff880) at
main.c:1206
#13 0x080f1fe6 in apache_php_module_main (r=0x8216684,
display_source_mode=0)
at sapi_apache.c:89
#14 0x0807bdd0 in send_php () at eval.c:41
---Type <return> to continue, or q <return> to quit---
#15 0x0807be05 in send_parsed_php () at eval.c:41
#16 0x08118097 in ap_invoke_handler () at eval.c:41
#17 0x0812c383 in process_request_internal () at eval.c:41
#18 0x0812c3e4 in ap_process_request () at eval.c:41
#19 0x08123769 in child_main () at eval.c:41
#20 0x08123938 in make_child () at eval.c:41
#21 0x08123aac in startup_children () at eval.c:41
#22 0x081240ff in standalone_main () at eval.c:41
#23 0x08124943 in main () at eval.c:41
#24 0x400d1177 in __libc_start_main (main=0x8124588 <main>, argc=2,
ubp_av=0xbffffb5c, init=0x8063ad8 <_init>, fini=0x8154530 <_fini>,
rtld_fini=0x4000e184 <_dl_fini>, stack_end=0xbffffb4c)
at ../sysdeps/generic/libc-start.c:129
Any input on this would be great. Thank you.
Bill Koch
Hi All,
I try to start apache and get the error:
Cannot load /usr/local/apache/libexec/libphp4.so into seerver:
/usr/lib/libgd.so: undefined symbo: png_get_error_ptr
can any of you give me a hint ?
TIA
Ron