php-install Digest 5 Apr 2003 07:09:12 -0000 Issue 1322
Topics (messages 10502 through 10509):
Re: PHP 4.3.1 on Mac OS X - make fails when configured with --with-pgsql
10502 by: John
10503 by: Ray Aspeitia
10504 by: Barry C. Hawkins
Re: PHP on IIS
10505 by: Robert W. Catalano
Hold user on the home
10506 by: Ronan Lucio
cool site
10507 by: SaudiAfrah.com
10508 by: Michael Scappa
problem to the installation
10509 by: Milhouse Van Houten
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 ---
Here are some excellent docs on installing all sorts of software (PHP,
MySQL, Apache, etc.) for OS X.
http://www.entropy.ch/software/macosx/
Of course, these are prebuilt packages, not help on compiling.
"Barry C . Hawkins" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello all,
> In an effort to stay off the superhighway of the general list, I have
> searched through the other lists and found this one. Searching the
> archives showed that some other people had the error I am having back
> in 1998 - 2001. Lucky me, bringing back the oldies. Anyway, I am
> running Mac OS 10.2.4 with PostgreSQL 7.3.2, Apache 1.3.27, and PHP
> 4.3.1. I went back and reconfigured the 4.3.1 source using the
> following:
>
> [powerbookg4:/Volumes/FR-HD75/php-4.3.1] barryh% ./configure
> --with-apxs --with-mysql=/usr/local/mysql --with-pgsql=/usr/local/pgsql
> --with-xml --with-zlib-dir=/usr/local
>
> Configure completes without error (and probably some buried warning),
> and upon running make I get the following:
>
> [powerbookg4:/Volumes/FR-HD75/php-4.3.1] barryh% make
> .
> . (vertical ellipsis to show success until...)
> .
> ld: table of contents for archive: /usr/local/pgsql/lib/libpq.a is out
> of date; rerun ranlib(1) (can't load from it)
> make: *** [libs/libphp4.bundle] Error 1
>
> The old postings refer to running "ldconfig" and "ldconfig -v" and
> regrettably I have no idea what that is. I can tell you it's not a
> command in the 4.3.1 source directory 8^). I even reconfigured,
> compiled, and reinstalled PostgreSQL 7.3.2 to see if that would bring
> "libpq.a up to date" - no dice. To assure everyone, yes,
> /usr/local/pgsql is my valid install directory for PostgreSQL. Thanks
> in advance for any insight.
>
> Awaiting enlightenment,
> --
> Barry C. Hawkins
> Systems Consultant
> All Things Computed
> 404-795-9147 voice/fax
> [EMAIL PROTECTED]
>
--- End Message ---
--- Begin Message ---
Barry,
I'm running the same system and what I found was that you need to run
the following command to update your compiler link table:
sudo ranlib /usr/local/pgsql/lib/libpq.a
try that command and recompile php. (ran under sudo because ranlib
needs to be run by root)
Ray A.
Hello all,
In an effort to stay off the superhighway of the general
list, I have searched through the other lists and found this one.
Searching the archives showed that some other people had the error I
am having back in 1998 - 2001. Lucky me, bringing back the oldies.
Anyway, I am running Mac OS 10.2.4 with PostgreSQL 7.3.2, Apache
1.3.27, and PHP 4.3.1. I went back and reconfigured the 4.3.1
source using the following:
[powerbookg4:/Volumes/FR-HD75/php-4.3.1] barryh% ./configure
--with-apxs --with-mysql=/usr/local/mysql
--with-pgsql=/usr/local/pgsql --with-xml --with-zlib-dir=/usr/local
Configure completes without error (and probably some buried
warning), and upon running make I get the following:
[powerbookg4:/Volumes/FR-HD75/php-4.3.1] barryh% make
.
. (vertical ellipsis to show success until...)
.
ld: table of contents for archive: /usr/local/pgsql/lib/libpq.a is
out of date; rerun ranlib(1) (can't load from it)
make: *** [libs/libphp4.bundle] Error 1
The old postings refer to running "ldconfig" and "ldconfig
-v" and regrettably I have no idea what that is. I can tell you
it's not a command in the 4.3.1 source directory 8^). I even
reconfigured, compiled, and reinstalled PostgreSQL 7.3.2 to see if
that would bring "libpq.a up to date" - no dice. To assure
everyone, yes, /usr/local/pgsql is my valid install directory for
PostgreSQL. Thanks in advance for any insight.
Awaiting enlightenment,
--
Barry C. Hawkins
Systems Consultant
All Things Computed
404-795-9147 voice/fax
[EMAIL PROTECTED]
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
--- End Message ---
--- Begin Message ---
Ray,
Thanks so much for the tip! I have to wait until tonight to try it,
but I can't wait! I keep all my source on a FireWire drive at home b/c
this PowerBook is short on drive space.
Regards,
On Friday, April 4, 2003, at 11:01 AM, Ray Aspeitia wrote:
Barry,
I'm running the same system and what I found was that you need to run
the following command to update your compiler link table:
sudo ranlib /usr/local/pgsql/lib/libpq.a
try that command and recompile php. (ran under sudo because ranlib
needs to be run by root)
Ray A.
Hello all,
In an effort to stay off the superhighway of the general list, I
have searched through the other lists and found this one. Searching
the archives showed that some other people had the error I am having
back in 1998 - 2001. Lucky me, bringing back the oldies. Anyway, I
am running Mac OS 10.2.4 with PostgreSQL 7.3.2, Apache 1.3.27, and
PHP 4.3.1. I went back and reconfigured the 4.3.1 source using the
following:
[powerbookg4:/Volumes/FR-HD75/php-4.3.1] barryh% ./configure
--with-apxs --with-mysql=/usr/local/mysql
--with-pgsql=/usr/local/pgsql --with-xml --with-zlib-dir=/usr/local
Configure completes without error (and probably some buried warning),
and upon running make I get the following:
[powerbookg4:/Volumes/FR-HD75/php-4.3.1] barryh% make
.
. (vertical ellipsis to show success until...)
.
ld: table of contents for archive: /usr/local/pgsql/lib/libpq.a is
out of date; rerun ranlib(1) (can't load from it)
make: *** [libs/libphp4.bundle] Error 1
The old postings refer to running "ldconfig" and "ldconfig -v" and
regrettably I have no idea what that is. I can tell you it's not a
command in the 4.3.1 source directory 8^). I even reconfigured,
compiled, and reinstalled PostgreSQL 7.3.2 to see if that would bring
"libpq.a up to date" - no dice. To assure everyone, yes,
/usr/local/pgsql is my valid install directory for PostgreSQL.
Thanks in advance for any insight.
Awaiting enlightenment,
--
Barry C. Hawkins
Systems Consultant
All Things Computed
404-795-9147 voice/fax
[EMAIL PROTECTED]
--
Barry C. Hawkins
Systems Consultant
All Things Computed
404-795-9147 voice/fax
[EMAIL PROTECTED]
--- End Message ---
--- Begin Message ---
Dave:
Figured it out.
In order to run php on iis6 you must also add it as a "Web Service
Extension".
Directions:
Once inside Internet Information Services, click on "Web Service
Extensions".
Next, click "Add a new web service extension..." from the task group.
Enter ".php" (without quotes), for the extension name, then click the
"add" button and browse to your php.exe file (C:\PHP\php.exe).
Check the box labeled, "Set extension status to allowed", then click
"ok".
Run your script.
Cheers ;)
-Robert Catalano
:The Answer Shop:::
Robert W. Catalano, Partner
C: 440 552-1855
___________________________________________
Web Services - Business Applications
Database Development - Network Security
Hardware Procurement - Consulting
--- End Message ---
--- Begin Message ---
Hi All,
Is there a way to hold the user in his home_dir?
In a way that he can't read any file down this directory?
If so, and if a have 10 clientes with 10 different home
directories. Is it possible?
Thank's
Ronan
--- End Message ---
--- Begin Message ---
To all of the group.... please visit this site you will need it one day
www.saudiafrah.com
Thanks.
--- End Message ---
--- Begin Message ---
wow, i sure will. now all of my arabic / middle eastern wedding needs are
solved, at last i can rest easy at night!!! and with such a great flash
intro too :-)
-Mike
----- Original Message -----
From: "SaudiAfrah.com " <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 04, 2003 10:56 PM
Subject: [PHP-INST] cool site
> To all of the group.... please visit this site you will need it one day
>
> www.saudiafrah.com
>
> Thanks.
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
I have downloaded PHP 4.3.1 in php.net for Linux. When I execute ./configure
--prefix=/php --with-mysql --with-apache2=/httpd-2.0.34 everything is ok. But, when I
execute the command make after, I have there errors in the compilation, who can help
me???:
In function `my_tempnam':
/php-4.3.1/ext/mysql/libmysql/my_tempnam.c:103: the use of `tempnam' is dangerou
s, better use `mkstemp'
ext/mysql/libmysql/my_lib.o(.text+0x3c4): In function `my_dir':
/php-4.3.1/ext/mysql/libmysql/my_lib.c:169: undefined reference to `errno'
ext/mysql/libmysql/my_lib.o(.text+0x5ab): In function `my_stat':
/php-4.3.1/ext/mysql/libmysql/my_lib.c:588: undefined reference to `errno'
ext/mysql/libmysql/my_malloc.o(.text+0xb7): In function `my_malloc':
/php-4.3.1/ext/mysql/libmysql/my_malloc.c:24: undefined reference to `errno'
ext/mysql/libmysql/my_realloc.o(.text+0xb0): In function `my_realloc':
/php-4.3.1/ext/mysql/libmysql/my_realloc.c:44: undefined reference to `errno'
ext/mysql/libmysql/my_delete.o(.text+0x71): In function `my_delete':
/php-4.3.1/ext/mysql/libmysql/my_delete.c:16: undefined reference to `errno'
ext/mysql/libmysql/my_tempnam.o(.text+0x78):/php-4.3.1/ext/mysql/libmysql/my_tem
pnam.c:108: more undefined references to `errno' follow
collect2: ld returned 1 exit status
make: *** [sapi/cgi/php] Error 1
--- End Message ---