php-install Digest 24 Jan 2002 03:33:29 -0000 Issue 665

Topics (messages 5695 through 5716):

Re: Bug #15179 Updated: php cannot find zlib when configuring
        5695 by: Marios Karagiannopoulos
        5698 by: Yasuo Ohgaki
        5699 by: Yasuo Ohgaki
        5700 by: Yasuo Ohgaki

Re: Freetype linkage with TTF Library vs with Freetype
        5696 by: Niklaus Hug

PHP under XP Proffesional with Apache 1.3.22
        5697 by: Sander Eerkes
        5705 by: SomeGuy

Re: php-4.1.1 vs. Solaris 5.8
        5701 by: Ron Clark

Oracle install problems
        5702 by: Rodd Johnson

error installing php-4.1.1 --with-gd
        5703 by: Thomas Kirnbauer
        5706 by: SomeGuy

Blast from the past: PHP install not working on old Netscape Enterprise Server 3.62
        5704 by: Carl

Question for those who know about loading modules
        5707 by: Joelmon2001.aol.com

Adding GD extensions
        5708 by: Ellis Michael A KPWA

Re: Installing PHP under Win98
        5709 by: Peter Meeuwsen

Win98 PWS PHP, not compiling php-script
        5710 by: Peter Meeuwsen
        5716 by: SomeGuy

APXS and ./configure problem
        5711 by: Sidney Richards
        5712 by: Rasmus Lerdorf
        5713 by: Steve Cayford
        5714 by: Sidney Richards

AIX/Apache/PHP4 no such file or directory on apache start...
        5715 by: Ohvall, Jeff

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]


----------------------------------------------------------------------
--- Begin Message ---
Hi, I am quite sure that it tries to find the libz.a file in /lib directory
or somewhere with libraries. Find it, and make a softlink or copy and paste
it
there.

Marios
----- Original Message -----
From: Carlo de Bruin <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 23, 2002 12:45 PM
Subject: [PHP-INST] Bug #15179 Updated: php cannot find zlib when
configuring


> greetings my question is bellow
>
> ID: 15179
> Updated by: edink
> Reported By: [EMAIL PROTECTED]
> Status: Bogus
> Bug Type: Zlib Related
> Operating System: Redhat 7.1
> PHP Version: 4.1.1
> New Comment:
> I am trying to install mysql-3.23.47-pc-gnu-i686 ; apache-1.3.22 and
> php-4.1.1 when I type # ]./configure --with-mysql=../mysql
> --with-apxs=/www/apache/bin/apxs --with-zl ib=/usr/lib  I get this
warning:
> checking for crypt in -lcrypt... yes  Configuring extensions checking if
the
> location of ZLIB install directory is defined... no checking whether to
> include ZLIB support... yes configure: error: Cannot find libz  And this
> causes apache not to start
> and zlib-1.1.3-12.i386.rpm & zlib-devel-1.1.3-12.rpm is installed ass well
>  Please help me I have serched and found similar problems but not many
> if any solutions.  I am also in a learning process in linux  Thank you
>
> Carlo
> ------------------------------------------------------------------------
>
>
>
>
> --
> 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]
>
>

--- End Message ---
--- Begin Message ---
Carlo De Bruin wrote:
> greetings my question is bellow
> 
> ID: 15179
> Updated by: edink
> Reported By: [EMAIL PROTECTED]
> Status: Bogus
> Bug Type: Zlib Related
> Operating System: Redhat 7.1
> PHP Version: 4.1.1
> New Comment:
> I am trying to install mysql-3.23.47-pc-gnu-i686 ; apache-1.3.22 and
> php-4.1.1 when I type # ]./configure --with-mysql=../mysql
> --with-apxs=/www/apache/bin/apxs --with-zl ib=/usr/lib  I get this warning:
> checking for crypt in -lcrypt... yes  Configuring extensions checking if the
> location of ZLIB install directory is defined... no checking whether to
> include ZLIB support... yes configure: error: Cannot find libz  And this
> causes apache not to start
> and zlib-1.1.3-12.i386.rpm & zlib-devel-1.1.3-12.rpm is installed ass well
>  Please help me I have serched and found similar problems but not many
> if any solutions.  I am also in a learning process in linux  Thank you
> 
> Carlo
> ------------------------------------------------------------------------
> 
> 
> 
> 

Install zlib package.
To check if you have zlib

rpm -qa | grep zlib.

You need both zlib and zlib-devel rpm.
(I'm not using RedHat, so I could wrong :)

-- 
Yasuo Ohgaki
Please CC me when you reply to news/list messages.
Do not send reply only to me :)

--- End Message ---
--- Begin Message ---
Carlo De Bruin wrote:
> greetings my question is bellow
> 
> ID: 15179
> Updated by: edink
> Reported By: [EMAIL PROTECTED]
> Status: Bogus
> Bug Type: Zlib Related
> Operating System: Redhat 7.1
> PHP Version: 4.1.1
> New Comment:
> I am trying to install mysql-3.23.47-pc-gnu-i686 ; apache-1.3.22 and
> php-4.1.1 when I type # ]./configure --with-mysql=../mysql
> --with-apxs=/www/apache/bin/apxs --with-zl ib=/usr/lib  I get this warning:
> checking for crypt in -lcrypt... yes  Configuring extensions checking if the
> location of ZLIB install directory is defined... no checking whether to
> include ZLIB support... yes configure: error: Cannot find libz  And this
> causes apache not to start
> and zlib-1.1.3-12.i386.rpm & zlib-devel-1.1.3-12.rpm is installed ass well
>  Please help me I have serched and found similar problems but not many
> if any solutions.  I am also in a learning process in linux  Thank you
> 

Just one more thing.

You have

--with-z lib= .....

This should be

--with-zlib=

(It seems you have extra space)


-- 
Yasuo Ohgaki
Please CC me when you reply to news/list messages.
Do not reply only to me :)

--- End Message ---
--- Begin Message ---
Yasuo Ohgaki wrote:
> Carlo De Bruin wrote:
> 
>> greetings my question is bellow
>>
>> ID: 15179
>> Updated by: edink
>> Reported By: [EMAIL PROTECTED]
>> Status: Bogus
>> Bug Type: Zlib Related
>> Operating System: Redhat 7.1
>> PHP Version: 4.1.1
>> New Comment:
>> I am trying to install mysql-3.23.47-pc-gnu-i686 ; apache-1.3.22 and
>> php-4.1.1 when I type # ]./configure --with-mysql=../mysql
>> --with-apxs=/www/apache/bin/apxs --with-zl ib=/usr/lib  I get this 
>> warning:
>> checking for crypt in -lcrypt... yes  Configuring extensions checking 
>> if the
>> location of ZLIB install directory is defined... no checking whether to
>> include ZLIB support... yes configure: error: Cannot find libz  And this
>> causes apache not to start
>> and zlib-1.1.3-12.i386.rpm & zlib-devel-1.1.3-12.rpm is installed ass 
>> well
>>  Please help me I have serched and found similar problems but not many
>> if any solutions.  I am also in a learning process in linux  Thank you
>>
> 
> Just one more thing.
> 
> You have
> 
> --with-z lib= .....
> 
> This should be
> 
> --with-zlib=
> 
> (It seems you have extra space)
> 
> 

If "--with-zlib=/usr/lib" does not work, try

"--with-zlib" (without path)

-- 
Yasuo Ohgaki
Please CC me when you reply to news/list messages.
Do not reply only to me :)

--- End Message ---
--- Begin Message ---
Hello,

I'm trying to setup up php 4.1 on a system which should replace our current
4.0.5 installation.
Now I have a problem. Some old projects which use ttf-features aren't
working properly. The difference between the two systems is the Freetype
linkage (on the old one ist was "with TTF library") - I've tried already
everything I could image to get again the Linkage with TTF library. I
couldn't also find anything elsewhere on the net (nothing on the freetye
maillist, google fount neither)

What does the difference in the linkage mean?
Is this only freetype-related and has nothing to do with GD or PHP?

Any hints?

Thanx a lot!

Greetz

Nik


--- End Message ---
--- Begin Message ---
Hello,
 
I installed PHP 4.11 under Windows XP Proffesional with Apache 1.3.22 and
using the loadble php module for apache
And php scripts are not being opened, I get the message 
 
Fatal error: Call to a member function on a non-object in
d:\apache\html\includes\functions\func.get_host_id.inc"
 
When I'm using the other option to use the php.exe then when I open de page
I'll get server error 500
 
anyone suggestions ?
 
ps. everything is configured according to the install.txt file in the php
directory
 
Sander.
 
--- End Message ---
--- Begin Message ---
i had the error 500.The advice i got was to install php as CGI and then the
errors should be more helpfull.Well no such luck for me.But at least when i
run it as CGI it works
"Sander Eerkes" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Hello,
>
> I installed PHP 4.11 under Windows XP Proffesional with Apache 1.3.22 and
> using the loadble php module for apache
> And php scripts are not being opened, I get the message
>
> Fatal error: Call to a member function on a non-object in
> d:\apache\html\includes\functions\func.get_host_id.inc"
>
> When I'm using the other option to use the php.exe then when I open de
page
> I'll get server error 500
>
> anyone suggestions ?
>
> ps. everything is configured according to the install.txt file in the php
> directory
>
> Sander.
>
>


--- End Message ---
--- Begin Message ---
Géczi Szabolcs wrote:
> 
> Hello,
> 
> I try to use php-4.1.1 with apache-1.3.22 on solaris 5.8
> 
> I configured the php by this way :
> 
>  ./configure --with-gd=/usr/src/gd --with-pgsql=/usr/local/pgsql/
> --enable-track-vars --without-mysql
> --with-config-file-path=/usr/local/apache/conf/ --enable-gd-native-ttf
> --enable-inline-optimization --enable-freetype-4bit-antialias-hack
> --enable-calendar --enable-safe-mode --with-openssl=/usr/local/ssl/
> --enable-debug --with-apxs=/usr/local/apache/bin/apxs --enable-shared
> --with-gnu-ld --enable-gcclib
> 
> During the compiling there was no error messages, but when I try to
> start the apache I got this:
> 
> root@netra01 # /usr/local/apache/bin/apachectl start
> Syntax error on line 205 of /usr/local/apache/conf/httpd.conf:
> Cannot load /usr/local/apache/libexec/libphp4.so into server: ld.so.1:
> /usr/local/apache/bin/httpd: fatal: relocation error: file
> /usr/local/apache/libexec/libphp4.so: symbol ap_block_alarms: referenced
> symbol not found
> /usr/local/apache/bin/apachectl start: httpd could not be started
> 
> Any idea ?
> 
> p.s: I tried to use the solaris own make, and the gnu make the result
> was the same

Try compiling using the solaris ld instead of gnu. Had problems in the
past compiling using gnuld with solaris 8.

-- 
Ron Clark
System Administrator/Web Coordinator
Armstrong Atlantic State University
11935 Abercorn Street 
Savannah, Ga 31419
Phone: 912 961 3234
Fax: 912 927 5353
--- End Message ---
--- Begin Message ---
Title: Oracle install problems

I know this isn't the first time hearing this, but I haven't been able to find an answer in anyone's threads anywhere.

Running RH 7.1. PHP4.1.1, Apache 1.3.22. Oracle client is 8.1.6/7 based.

perform the following:
./configure --with-mysql --with-oci8=/usr/local/oracle --with-apache=../apache_1.3.22 --enable-track-vars

debug.log shows classic:
/usr/bin/ld: cannot find -lclntsh

Debug.log attached.

I really need to get this running this week for a project.

What's wrong?

Thanks
Rodd Johnson
[EMAIL PROTECTED]

  --- End Message ---

--- Begin Message ---
Hi there!

I tried to install php-4.1.1 on my linux system with apache server.
"Configure" worked without error (configure-options see below), but during
"make install"  there was the error described below.
The previous installation of php-4.0.4pl1 (configured with the same
configure-options) worked fine.
None of the other components (gd, zlib, jpeg, libpng) were changed since
installation of php-4.0.4pl1!

Can anybody help me? Do you have any hints?

Thank you very much!!


Error-msg:
Making install in gd
make[2]: Entering directory `/usr/local/src/php-4.1.1/ext/gd'
make[3]: Entering directory `/usr/local/src/php-4.1.1/ext/gd'
/bin/sh /usr/local/src/php-4.1.1/libtool --silent --mode=compile
gcc  -I. -I/usr/local/src/php-4.1.1/ext/gd -I/usr/local/src/php-4.1.1/main -
I/usr/local/src/php-4.1.1 -I/usr/include/apache -I/usr/local/src/php-4.1.1/Z
end -I/usr/include/freetype -I/usr/include/imap -I/usr/interbase/include -I/
usr/local/src/php-4.1.1/ext/mysql/libmysql -I/usr/local/src/php-4.1.1/ext/xm
l/expat  -DLINUX=2 -DMOD_SSL=206104 -DMOD_PERL -DUSE_PERL_SSI -Dbool=char -D
HAS_BOOL -DEAPI -DBIG_SECURITY_HOLE -DCOBALT_RAQ_LED -I/usr/local/src/php-4.
1.1/TSRM -g -O2 -prefer-pic  -c gd.c
In file included from gd.c:36:
php_gd.h:69: warning: static declaration for `gdImageColorResolve' follows
non-static
gd.c:92: conflicting types for `gdIOCtx'
/usr/local/include/gd_io.h:18: previous declaration of `gdIOCtx'
gd.c: In function `zif_imagecreatefromgif':
gd.c:1203: `gdImageCreateFromGif' undeclared (first use in this function)
gd.c:1203: (Each undeclared identifier is reported only once
gd.c:1203: for each function it appears in.)
gd.c: In function `zif_imagegif':
gd.c:1432: `gdImageGif' undeclared (first use in this function)
make[3]: *** [gd.lo] Error 1
make[3]: Leaving directory `/usr/local/src/php-4.1.1/ext/gd'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/php-4.1.1/ext/gd'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/php-4.1.1/ext'
make: *** [install-recursive] Error 1


Configure-options:
./configure --prefix=/usr --with-apxs=/usr/sbin/apxs --with-gd --enable-ftp 
--with-gettext --enable-safe-mode --with-config-file-path=/etc/httpd --with-
exec-dir=/usr/bin --with-zlib --enable-magic-quotes --with-regex=system --wi
th-ttf=/usr/lib/libttf.so --enable-track-vars --enable-xml --enable-wddx --d
isable-debug --with-interbase=shared --with-pgsql=shared --with-ldap --with-
imap


Versions:
Cobalt Linux release 6.0 (Shinkansen)
Kernel 2.2.14C11 on an i586
Apache/1.3.12
php-4.1.1
gd-1.8.4
jpeg-6b
libpng-1.0.12
zlib-1.1.3


--- End Message ---
--- Begin Message ---
i've had the same problem since 4.0x...eventually i just gave up trying to
compile with gd support.If anyone has a better step by step instruction page
than the ones i've tried please let us know ;)

"Thomas Kirnbauer" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Hi there!
>
> I tried to install php-4.1.1 on my linux system with apache server.
> "Configure" worked without error (configure-options see below), but during
> "make install"  there was the error described below.
> The previous installation of php-4.0.4pl1 (configured with the same
> configure-options) worked fine.
> None of the other components (gd, zlib, jpeg, libpng) were changed since
> installation of php-4.0.4pl1!
>
> Can anybody help me? Do you have any hints?
>
> Thank you very much!!
>
>
> Error-msg:
> Making install in gd
> make[2]: Entering directory `/usr/local/src/php-4.1.1/ext/gd'
> make[3]: Entering directory `/usr/local/src/php-4.1.1/ext/gd'
> /bin/sh /usr/local/src/php-4.1.1/libtool --silent --mode=compile
>
gcc  -I. -I/usr/local/src/php-4.1.1/ext/gd -I/usr/local/src/php-4.1.1/main -
>
I/usr/local/src/php-4.1.1 -I/usr/include/apache -I/usr/local/src/php-4.1.1/Z
>
end -I/usr/include/freetype -I/usr/include/imap -I/usr/interbase/include -I/
>
usr/local/src/php-4.1.1/ext/mysql/libmysql -I/usr/local/src/php-4.1.1/ext/xm
>
l/expat  -DLINUX=2 -DMOD_SSL=206104 -DMOD_PERL -DUSE_PERL_SSI -Dbool=char -D
>
HAS_BOOL -DEAPI -DBIG_SECURITY_HOLE -DCOBALT_RAQ_LED -I/usr/local/src/php-4.
> 1.1/TSRM -g -O2 -prefer-pic  -c gd.c
> In file included from gd.c:36:
> php_gd.h:69: warning: static declaration for `gdImageColorResolve' follows
> non-static
> gd.c:92: conflicting types for `gdIOCtx'
> /usr/local/include/gd_io.h:18: previous declaration of `gdIOCtx'
> gd.c: In function `zif_imagecreatefromgif':
> gd.c:1203: `gdImageCreateFromGif' undeclared (first use in this function)
> gd.c:1203: (Each undeclared identifier is reported only once
> gd.c:1203: for each function it appears in.)
> gd.c: In function `zif_imagegif':
> gd.c:1432: `gdImageGif' undeclared (first use in this function)
> make[3]: *** [gd.lo] Error 1
> make[3]: Leaving directory `/usr/local/src/php-4.1.1/ext/gd'
> make[2]: *** [install-recursive] Error 1
> make[2]: Leaving directory `/usr/local/src/php-4.1.1/ext/gd'
> make[1]: *** [install-recursive] Error 1
> make[1]: Leaving directory `/usr/local/src/php-4.1.1/ext'
> make: *** [install-recursive] Error 1
>
>
> Configure-options:
>
./configure --prefix=/usr --with-apxs=/usr/sbin/apxs --with-gd --enable-ftp
> --with-gettext --enable-safe-mode --with-config-file-path=/etc/httpd --wit
h-
>
exec-dir=/usr/bin --with-zlib --enable-magic-quotes --with-regex=system --wi
>
th-ttf=/usr/lib/libttf.so --enable-track-vars --enable-xml --enable-wddx --d
>
isable-debug --with-interbase=shared --with-pgsql=shared --with-ldap --with-
> imap
>
>
> Versions:
> Cobalt Linux release 6.0 (Shinkansen)
> Kernel 2.2.14C11 on an i586
> Apache/1.3.12
> php-4.1.1
> gd-1.8.4
> jpeg-6b
> libpng-1.0.12
> zlib-1.1.3
>
>


--- End Message ---
--- Begin Message ---
We're stuck using our existing Netscape 3.62 servers for a little while
longer and need to install PHP for some new Web pages that are coming soon.

I followed the directions for installing PHP under Windows NT at
<http://benoit.noss.free.fr/php/install-php.html> and at
<http://www.wrox.com/consumer/errata/2963/php_new.htm>, but pulling up a
test.php file in a browser doesn't work-- I get a 404 error. The Web server
log shows:

[23/Jan/2002:09:30:23] warning (  194): send-cgi:failed to get associated
file for (/htdocs/the_site/test.php) Error 2
[23/Jan/2002:09:30:23] failure (  194): for host 10.1.252.103 trying to GET
/webpb/test.php, shellcgi-send reports: can't find file association of
/htdocs/the_site/test.php for execution


(The file association under NT works. I can confirm this using a test.php
file and a test.bat file as described under the benoit.free.fr instructions.
That association tests successfully. I'm not sure what assocation is failing
according to the error log.)


Does anything jump out at you as being an obvious problem?

Thanks for any help you can offer!

New to PHP and not a Netscape server expert either,

Carl
Madison, WI





--- End Message ---
--- Begin Message ---
I just want to sum up this new concept to me and make sure I get it

Instead of reconfiguring php, or using dl function, I can just

A.) go to php.ini, and under extensions_dir type:
extension_dir = /usr/lib/php/extensions/no-debug-non-zts-20000401 

B.) Under that, I list the modules I want to load, assuming they are in the 
non-debug-non-zts-20000401 directory. Such as

extension=module.so
extension=othermodule.so

C.) Save php.ini and then restart apache
D.) Use the script that uses that module as I normally would if I were to 
reconfigure php

Yes or no? lol

I want the experience to load modules, so it's important that I learn, so I 
ask. PHp.net I couldn't find confirmation that this is the procedure and I've 
asked everywhere. 

Thanks
Joel
--- End Message ---
--- Begin Message ---
I am migrating from the Mac world and so my knowledge of the Windows
environment is minimal. I have two systems. A desktop running Windows 2000
v5 SP2 with IIS 4 and a laptop running Windows XP and Apache 1.3

I have php running on both as a CGI. When I try to add any extension to php
via the php.ini file I get this "Unable to load dynamic library
'C:\PHP\php_<extension_name>.dll' - The specified procedure could not be
found."

I have the php.exe and the .dll's in the C:\PHP directory. Is the reference
to the specified procedure a reference to the .dll or is it a procedure
being called by the .dll when trying to load?

I am ultimately trying to add the image functions to php using the
php_gd.dll

I read on the GD site that I would also have to have the jpeg-6b, zlib and
Freetype extensions. Is there an exe for php with these already loaded? If
not, where do I find a step by step procedure to build the required
configuration. The step by step instructions will probably have to include
explanations since my knowledge is minimal.

Thanks

Mike Ellis

--- End Message ---
--- Begin Message ---
Hi Andy Eagle,

i've had the some problem... just open PWS, click on the 'advanced'-icon 
on the left.

Select the directory that contains the page you were trying to open, and 
'edit properties'

Make sure that 'Execute' has been enabled, and try again!

Greetz,
Peter

Andy Eagle wrote:

> Hi folks,
> 
> I'm trying to install php (php406-installer.exe) under a German version of
> Win98 and PWS.
> The exe prog was supposed to do everything automatic. When I tried to run a
> php file in MSexplorer I got an Error 404 Message (In German - My
> translation)
> 
> 403.1 Forbidden performance access forbidden
> 
> This error may be caused when trying to carry out a CGI-, ISAPI- or another
> executable programme from a folder which doesn't allow the execution of
> programmes
> 
> If the problem continues contact the Server admin
> 
> (Dieser Fehler kann verursacht werden, wenn Sie versuchen, ein CGI-, ISAPI-
> oder anderes ausführbares Programm von einem Verzeichnis aus auszuführen,
> das die Ausführung von Programmen nicht erlaubt.
> 
> Setzen Sie sich bitte mit der Verwaltung des Webservers in Verbindung, wenn
> das Problem fortbesteht.)
> 
> I'm the server admin and I don't have a clue. Any suggestions would be
> appreciated.
> 
> Yours aye,
> 
> Andy
> 
> 
> 

--- End Message ---
--- Begin Message ---
Hi, i've tried to find a solution in one of the other messages, but i 
just couldn't find it...

I'm running Win98 with PWS, installed PHP4, but when i make a request 
for a php-page, it just displays the script, without compiling it...

The request is being made from another computer in my network.

Do i have to make changes in the register, and if so, which 
modifications would that be?

Anyone knows what i could do best now...? Please ask if you need more 
info...

Thanks for taking the trouble to read this message!
Peter

--- End Message ---
--- Begin Message ---
did you read the php install document.did you load the module or added the
lines to make it run as cgi.if so what exactly did you write.
"Peter Meeuwsen" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi, i've tried to find a solution in one of the other messages, but i
> just couldn't find it...
>
> I'm running Win98 with PWS, installed PHP4, but when i make a request
> for a php-page, it just displays the script, without compiling it...
>
> The request is being made from another computer in my network.
>
> Do i have to make changes in the register, and if so, which
> modifications would that be?
>
> Anyone knows what i could do best now...? Please ask if you need more
> info...
>
> Thanks for taking the trouble to read this message!
> Peter
>


--- End Message ---
--- Begin Message ---
Hey all,

Tried a search but couldnt find a solution for the following problem.

When using the './configure --with-apxs=/usr/apache/bin --with-mysql' 
command under the php-4.1.1 source tree (Apache 1.3.12 installed) I get the 
following:

--begin--
checking for Apache module support via DSO through APXS... 

Sorry, I was not able to successfully run APXS.  Possible reasons:

1.  Perl is not installed;
2.  Apache was not compiled with DSO support (--enable-module=so);
3.  'apxs' is not in your path.  Try to use --with-apxs=/path/to/apxs
The output of /usr/apache/bin follows:
./configure: /usr/apache/bin is a directory
configure: error: Aborting
--end--

Apxs is there, httpd -l reports a nice long list of modules. Any clues as 
to what's going on here? Any help would be much appreciated!

Cheers,

Sid
--- End Message ---
--- Begin Message ---
--with-apxs=/usr/apache/bin/apxs

On Wed, 23 Jan 2002, Sidney Richards wrote:

> Hey all,
>
> Tried a search but couldnt find a solution for the following problem.
>
> When using the './configure --with-apxs=/usr/apache/bin --with-mysql'
> command under the php-4.1.1 source tree (Apache 1.3.12 installed) I get the
> following:
>
> --begin--
> checking for Apache module support via DSO through APXS...
>
> Sorry, I was not able to successfully run APXS.  Possible reasons:
>
> 1.  Perl is not installed;
> 2.  Apache was not compiled with DSO support (--enable-module=so);
> 3.  'apxs' is not in your path.  Try to use --with-apxs=/path/to/apxs
> The output of /usr/apache/bin follows:
> ./configure: /usr/apache/bin is a directory
> configure: error: Aborting
> --end--
>
> Apxs is there, httpd -l reports a nice long list of modules. Any clues as
> to what's going on here? Any help would be much appreciated!
>
> Cheers,
>
> Sid
>
> --
> 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]
>

--- End Message ---
--- Begin Message ---
Did you try --with-apxs=/usr/apache/bin/apxs ? It looks like it's trying 
to execute /usr/apache/bin

-Steve

On Wednesday, January 23, 2002, at 03:30  PM, Sidney Richards wrote:

> Hey all,
>
> Tried a search but couldnt find a solution for the following problem.
>
> When using the './configure --with-apxs=/usr/apache/bin --with-mysql'
> command under the php-4.1.1 source tree (Apache 1.3.12 installed) I get 
> the
> following:
>
> --begin--
> checking for Apache module support via DSO through APXS...
>
> Sorry, I was not able to successfully run APXS.  Possible reasons:
>
> 1.  Perl is not installed;
> 2.  Apache was not compiled with DSO support (--enable-module=so);
> 3.  'apxs' is not in your path.  Try to use --with-apxs=/path/to/apxs
> The output of /usr/apache/bin follows:
> ./configure: /usr/apache/bin is a directory
> configure: error: Aborting
> --end--
>
> Apxs is there, httpd -l reports a nice long list of modules. Any clues 
> as
> to what's going on here? Any help would be much appreciated!
>
> Cheers,
>
> Sid
>
> --
> 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]
>

--- End Message ---
--- Begin Message ---
Yup, same error, but now it displays the usage message of apxs and then 
./configure bails.


Steve Cayford wrote:

> Did you try --with-apxs=/usr/apache/bin/apxs ? It looks like it's trying
> to execute /usr/apache/bin
> 
> -Steve
> 
> On Wednesday, January 23, 2002, at 03:30  PM, Sidney Richards wrote:
> 
>> Hey all,
>>
>> Tried a search but couldnt find a solution for the following problem.
>>
>> When using the './configure --with-apxs=/usr/apache/bin --with-mysql'
>> command under the php-4.1.1 source tree (Apache 1.3.12 installed) I get
>> the
>> following:
>>
>> --begin--
>> checking for Apache module support via DSO through APXS...
>>
>> Sorry, I was not able to successfully run APXS.  Possible reasons:
>>
>> 1.  Perl is not installed;
>> 2.  Apache was not compiled with DSO support (--enable-module=so);
>> 3.  'apxs' is not in your path.  Try to use --with-apxs=/path/to/apxs
>> The output of /usr/apache/bin follows:
>> ./configure: /usr/apache/bin is a directory
>> configure: error: Aborting
>> --end--
>>
>> Apxs is there, httpd -l reports a nice long list of modules. Any clues
>> as
>> to what's going on here? Any help would be much appreciated!
>>
>> Cheers,
>>
>> Sid
>>
>> --
>> 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]
>>
> 
> 

--- End Message ---
--- Begin Message ---
        I'm running apache 1.3.12 under AIX 4.3.3.0 and trying to include
PHP (v4.0.6.0) using a freeware archive/bundle from bull
(freeware.bull.net).  Installing the bff fileset goes fine.  But when I
configure apache's httpd.conf and try to restart the web server, I receive
the following error (actually this is from apachectl configtest):

                        Syntax error on line 242 of
/www/apache_1.3.12/conf/httpd.conf:
                        Cannot load /usr/local/lib/apache/libphp4.so into
server: No such file or directory

Libphp4.so is indeed there with permissions 755 (owned by root, group
system).  My LoadModule line in httpd.conf is:

                        LoadModule php4_module
/usr/local/lib/apache/libphp4.so

There are no ClearModuleList entries in httpd.conf and httpd -l lists
mod_so.c as being compiled in.  I've checked some of the various lists
(php.net, bugs.php.net, faqts.com) and seen the problem reported but no
solution.  Any help in resolving this issue would be greatly appreciated.

TIA,
Jeff Ohvall
Systems Programmer
University of Wisconsin-Stout
715-232-1481
--- End Message ---

Reply via email to