php-install Digest 29 Aug 2001 09:03:05 -0000 Issue 435

Topics (messages 4099 through 4107):

php4 install with problems from APXS
        4099 by: Allan Williamson

Re: [PHP-DEV] Bug #13000 Updated: I can't switch safe_mode OFF!
        4100 by: Jani Taskinen
        4101 by: Jonathan Hilgeman

Frustrated, needing help.
        4102 by: N.A.Morgan.bton.ac.uk

Re: PHP on WinNT + IIS4
        4103 by: José Luis Claver

AIX 4.3.3 and PHP 4.0.6 segmentation faults
        4104 by: Buddy Dowdy

Start Accepting Credit Cards NOW#
        4105 by: peter.excite.com

Installing DBF module
        4106 by: Shin

warning: mail() is not supported in this php build".
        4107 by: Cyber Yolande Gomez

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]


----------------------------------------------------------------------


On Red Hat ver 6.2 with Apache 1.3.3

I am able to run the command
./configure --with-mysql --with-apxs=/usr/sbin/apxs --with-xml
with out errors.
Then I can run make with out errors.
It is when I run make install
that I receive this error.
make[1]: Leaving directory `/usr/src/php-4.0.6/TSRM'
Making install in regex
make[1]: Entering directory `/usr/src/php-4.0.6/regex'
make[2]: Entering directory `/usr/src/php-4.0.6/regex'
make[2]: Nothing to be done for `install-p'.
make[2]: Leaving directory `/usr/src/php-4.0.6/regex'
make[1]: Leaving directory `/usr/src/php-4.0.6/regex'
Making install in .
make[1]: Entering directory `/usr/src/php-4.0.6'
/usr/src/php-4.0.6/build/shtool mkdir -p "/usr/lib/apache" &&
/usr/sbin/apxs -S LIBEXECDIR="/usr/lib/apache" -i -a -n php4 libs/libphp4.so
apxs:Error: Unknown option: S
Usage: apxs -g -n <modname>
       apxs -q <query> ...
       apxs -c [-o <dsofile>] [-D <name>[=<value>]] [-I <incdir>]
               [-L <libdir>] [-l <libname>] [-Wc,<flags>] [-Wl,<flags>]
               <files> ...
       apxs -i [-a] [-A] [-n <modname>] <dsofile> ...
make[1]: *** [install-sapi] Error 1
make[1]: Leaving directory `/usr/src/php-4.0.6'
make: *** [install-recursive] Error 1


I have tried everything, including making the proper changes to the apxs
file as suggested in the faq and read all of the faq's and archives but have
not found a solution to this issue.
Any help will be greatly appreciated,
Thanks






Have you stopped and started Apache after you changed
the value in php.ini ?

If there were any bugs in this, there would have been hundreds
of bug reports about this issue already. However, your report is
the first one about this. Thus I doubt it is a bug.

--Jani


On 28 Aug 2001 [EMAIL PROTECTED] wrote:

>ID: 13000
>User updated by: [EMAIL PROTECTED]
>Reported By: [EMAIL PROTECTED]
>Status: Bogus
>Bug Type: PHP options/info functions
>Operating System: SuseLinux 7.2
>PHP Version: 4.0.6
>New Comment:
>
>Damn, do you think I'm blind??
>
>The php.ini is located @ /usr/local/lib/
>and THERE I'll edit'em!!
>
>But it has NO EFFECT!!!!
>
>This was NOT a support request!!!!!
>
>Previous Comments:
>------------------------------------------------------------------------
>
>[2001-08-28 11:36:42] [EMAIL PROTECTED]
>
>Check what phpinfo() has to say where it's looking
>for php.ini and edit that one..
>
>Ask further support questions on the mailing lists:
>
>http://www.php.net/support.php
>
>
>------------------------------------------------------------------------
>
>[2001-08-28 08:32:47] [EMAIL PROTECTED]
>
>I have following line in my php.ini
>; Safe Mode
>safe_mode              = Off
>
>But a site with phpinfo() displays safe mode ON!
>I also tried to delete this line, but same effect!
>
>PHP is compiled with
>'./configure' '--with-apache=../apache_1.3.20' '--enable-calendar' '--enable-ftp' 
>'--with-mysql' '--enable-trans-sid' '--enable-sockets' '--with-regex=php' 
>'--enable-memory-limit' '--enable-track-vars' '--with-zlib' '--enable-sysvshm'
>
>Any ideas?
>
>------------------------------------------------------------------------
>
>
>
>Edit this bug report at http://bugs.php.net/?id=13000&edit=1
>
>
>





Is the file called php.ini or php.ini-dist? It took me a while to figure out
that there needs to be a file called php.ini in your php.ini folder (as
indicated at the top of phpinfo()). I kept modifying php.ini-dist and it
wouldn't do anything after I restarted Apache.

- Jonathan

"Jani Taskinen" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
>
> Have you stopped and started Apache after you changed
> the value in php.ini ?
>
> If there were any bugs in this, there would have been hundreds
> of bug reports about this issue already. However, your report is
> the first one about this. Thus I doubt it is a bug.
>
> --Jani
>
>
> On 28 Aug 2001 [EMAIL PROTECTED] wrote:
>
> >ID: 13000
> >User updated by: [EMAIL PROTECTED]
> >Reported By: [EMAIL PROTECTED]
> >Status: Bogus
> >Bug Type: PHP options/info functions
> >Operating System: SuseLinux 7.2
> >PHP Version: 4.0.6
> >New Comment:
> >
> >Damn, do you think I'm blind??
> >
> >The php.ini is located @ /usr/local/lib/
> >and THERE I'll edit'em!!
> >
> >But it has NO EFFECT!!!!
> >
> >This was NOT a support request!!!!!
> >
> >Previous Comments:
> >------------------------------------------------------------------------
> >
> >[2001-08-28 11:36:42] [EMAIL PROTECTED]
> >
> >Check what phpinfo() has to say where it's looking
> >for php.ini and edit that one..
> >
> >Ask further support questions on the mailing lists:
> >
> >http://www.php.net/support.php
> >
> >
> >------------------------------------------------------------------------
> >
> >[2001-08-28 08:32:47] [EMAIL PROTECTED]
> >
> >I have following line in my php.ini
> >; Safe Mode
> >safe_mode = Off
> >
> >But a site with phpinfo() displays safe mode ON!
> >I also tried to delete this line, but same effect!
> >
> >PHP is compiled with
> >'./configure' '--with-apache=../apache_1.3.20' '--enable-calendar'
'--enable-ftp' '--with-mysql' '--enable-trans-sid' '--enable-sockets'
'--with-regex=php' '--enable-memory-limit' '--enable-track-vars'
'--with-zlib' '--enable-sysvshm'
> >
> >Any ideas?
> >
> >------------------------------------------------------------------------
> >
> >
> >
> >Edit this bug report at http://bugs.php.net/?id=13000&edit=1
> >
> >
> >
>






I am running PHP 4.0.5 (php4isapi.dll, not php.exe) on Windows NT 4.0
service pack 6a with IIS 4.0.  I have installed manually using the zip file
version that contains all the .dll extensions, and I have no problems using
PHP itself.

However, the problem comes when I want to use some of the extensions (namely
LDAP).  I am currently loading two extensions, php_ldap.dll and
php_oci8.dll.  The latter loads fine and I connect to Oracle with ease.
But, when loading the LDAP version, I get the error Unable to load dynamic
library 'c:\winnt\system32\php_ldap.dll' - the specified module could not be
found at the server monitor and the error Fatal error: Call to undefined
function: ldap_connect() in <file>.php on line <xx> at the browser (due to
not loading php_ldap.dll).  The permissions on both dlls are identical, and
they are in the same folder on the server.  'c:\winnt\system32\php_ldap.dll'
is the correct path.

I have both running on an installation of PWS 4.0 with no problems.  Can
anyone please shed some light?  I have been researching for ages, and have
drawn a blank!

Thanks,


Neil Morgan
Analyst Programmer
Admin Computing
University of Brighton
[EMAIL PROTECTED]
Tel: (01273 64)3930





Hi everybody
I've got an 'intemediate' problem:
I run W2K Professional SP2 + IIS 5 + PHP 4.0.6

If I try to see a page with extension php, the output is coming from php
processor.
But if I add php code in a html page, the code is send direct to the browser
(where I can see php instructions). does not mather the style of php call:
<script language="php">  ...</script>
or
<?phpinstruction?>
or
  <?php
    instructions
  ?>
or
<? instructions ?>
or
<?php  instructions ?>

I would appreciate any suggestion
Thanks







Following some excellent instructions posted in May from Phil Betrolus
on getting PHP to compile correctly with AIX 4.3.3.

The good news is that I have a reasonably error free (just warnings
now about suffixes and so forth, as I see almost all AIX users in this
group are reporting) compile of PHP.   Apache doesn't even core dump
when trying to start up anymore.

However, Apache logs are indicating that any PHP requests I issue
(e.g. phpinfo) segmentation faults upon request.

I compiled using Cv.5.0 for AIX 4.3.3 and PHP 4.0.6 using this as my
configure line:

./configure --without-mysql --with-oracle
--with-apxs=/usr/local/apache/bin/apxs

then, edited the libtool file according to Phil's instructions from
May (adding arguments  to archive cmds line)

then I did the export CC='cc -Dinline= -ma' 

finally I ran the make install.

Any help to be had?   Thanks all.

Buddy Dowdy




mvc9v9
We help business owners accept credit cards!

Competitive Rates! Below Market Prices!

Our approval process is quick and simple!

We offer complete processing systems for your business:

*Internet
*Retail
*Mail Order
*Phone Order

Free information request form:
PLEASE VISIT

http://www.freewebdirect.net/merchantservices/


****************************************************************
Since you have received this message you have either responded
to one of our offers in the past or your address has been
registered with us.  If you wish to be removed please reply to:
mailto:[EMAIL PROTECTED]?subject=remove
****************************************************************

lilkc9c

**********




Hi pals!

I'm very newbe trying to install a PHP with DBF module enable, but have very
few materials to do this.

Somebody knows where can I get / read how to install this module?

Shin




Hi from France.
I ve just installed Php 4.0.6 + apache 1.3.20 + Mysql + Php-Nuke on
Slackware Linux.
I also get a SMTP server (Postfix) working fine.
php.ini is under /usr/local/lib/php.ini and the sendmail_path is
/usr/bin/sendmail -i -t ,
but when a user try to get registred, no ail is send to him, and he gets
a "warning: mail() is not supported in this php build".

How to get mail() supported ?? Nothing about when ./configure --help. I
wondering if php.ini is in the right place...

Thanks for helping.





Reply via email to