php-install Digest 24 Feb 2003 15:47:52 -0000 Issue 1262
Topics (messages 10165 through 10171):
Re: More MAC OS X PHP Intall Problems
10165 by: Russell Harding
10168 by: Keith Schuster
MAC OS X PHP Intall Problems - Setting Up A Database Table For NAG
10166 by: EOS Technologies
fopen error
10167 by: Nicholas Evans
php with imap support and the horde framework, please help!!
10169 by: Bret Lewis Sherman
10170 by: Bret Lewis Sherman
php 4.3.0 on hpux 11.00
10171 by: Petre Scheie
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 ---
I have successfully installed PHP 4.3.0 on MacOS X, but it took a bit of
work and a lot of 'under the hood' knowlege of the OS.
However, now that it has been done, and I know what packages are needed
and what versions are compatable with MacOS X, I can help you with
step-by-step instructions.
I am not able to compile the instructions at this time, but will throw
something together tomorrow, and give the URL to the list.
** Somewhat off-topic **
MacOS X is less like a normal *NIX than many would initially suspect.
There are often many 'standard' libraries that are simply not present, or
certianly not the development files (header files, etc) that are needed to
compile *NIX packages. Most of these packages (PHP for example) can be
hacked together with the right expertise. I'm sure Apple Engineers spend
many hours getting everything together and patching source to get binaries
to work with the next release.
Sadly, this leaves many out in the cold when needed compile-time options
are not used. (Gettext in mod_php) This is helped by people that post
instructions and/or patched sources files on the internet. For example,
Marc Liyange (http://www.entropy.ch/software/macosx/) has done a bit of
this type of work.
** end rant **
Anyway, I'll get some instructions and source packages that helped me to
the list tomorrow. (BTW: I'm working with 10.2.4)
HTH,
-Russell
On Sat, 22 Feb 2003, EOS Technologies wrote:
> Anyone knowledgeable about OS X?
>
> Im trying to install PHP with -gettext and --axps but running intro
> problems.
> Im running the latest OS X and have installed the developer tools. But it
> seems like im still missing somthing...
>
> When I run ./configure I get somewhere.
> About to here:
>
> checking for the location of libXpm... no
> checking for FreeType 1.x support... no
> checking for FreeType 2... no
> checking for T1lib support... no
> checking whether to enable truetype string function in GD... no
> checking for GNU gettext support... yes
> configure: error: Cannot locate header file libintl.h
> [Jezebel:/apps/php-4.3.0] root#
>
> I was using the command line:
> ./configure --with-apxs --with-gettext
>
> When I do the configure without add get text the configure runs smoothly but
> I get this error on the Sudo Make Install
>
> Installing PHP SAPI module
> [activating module `php4' in /private/etc/httpd/httpd.conf]
> cp libs/libphp4.so /usr/libexec/httpd/libphp4.so
> cp: libs/libphp4.so: No such file or directory
> apxs:Break: Command failed with rc=1
> make: *** [install-sapi] Error 1
>
> If anyone can help me out. Please remeber I am a complete begginer step by
> step instructions!
>
> Thanks
> ian
>
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--- End Message ---
--- Begin Message ---
Has anyone been able to get Zend optimizer installed on Osx?
-------------------------------
Keith Schuster
Schuster & Company LLC
ph:704-799-2438
fx:704-799-0779
iChat/AIM:keithschusterco
WWW.Schusterandcompany.com
WWW.Vsheet.net
--------------------------------
> From: Russell Harding <[EMAIL PROTECTED]>
> Date: Sun, 23 Feb 2003 21:04:22 -0700 (MST)
> To: EOS Technologies <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Subject: Re: [PHP-INST] More MAC OS X PHP Intall Problems
>
> I have successfully installed PHP 4.3.0 on MacOS X, but it took a bit of
> work and a lot of 'under the hood' knowlege of the OS.
>
> However, now that it has been done, and I know what packages are needed
> and what versions are compatable with MacOS X, I can help you with
> step-by-step instructions.
>
> I am not able to compile the instructions at this time, but will throw
> something together tomorrow, and give the URL to the list.
>
> ** Somewhat off-topic **
>
> MacOS X is less like a normal *NIX than many would initially suspect.
> There are often many 'standard' libraries that are simply not present, or
> certianly not the development files (header files, etc) that are needed to
> compile *NIX packages. Most of these packages (PHP for example) can be
> hacked together with the right expertise. I'm sure Apple Engineers spend
> many hours getting everything together and patching source to get binaries
> to work with the next release.
>
> Sadly, this leaves many out in the cold when needed compile-time options
> are not used. (Gettext in mod_php) This is helped by people that post
> instructions and/or patched sources files on the internet. For example,
> Marc Liyange (http://www.entropy.ch/software/macosx/) has done a bit of
> this type of work.
>
> ** end rant **
>
> Anyway, I'll get some instructions and source packages that helped me to
> the list tomorrow. (BTW: I'm working with 10.2.4)
>
> HTH,
> -Russell
>
> On Sat, 22 Feb 2003, EOS Technologies wrote:
>
>> Anyone knowledgeable about OS X?
>>
>> Im trying to install PHP with -gettext and --axps but running intro
>> problems.
>> Im running the latest OS X and have installed the developer tools. But it
>> seems like im still missing somthing...
>>
>> When I run ./configure I get somewhere.
>> About to here:
>>
>> checking for the location of libXpm... no
>> checking for FreeType 1.x support... no
>> checking for FreeType 2... no
>> checking for T1lib support... no
>> checking whether to enable truetype string function in GD... no
>> checking for GNU gettext support... yes
>> configure: error: Cannot locate header file libintl.h
>> [Jezebel:/apps/php-4.3.0] root#
>>
>> I was using the command line:
>> ./configure --with-apxs --with-gettext
>>
>> When I do the configure without add get text the configure runs smoothly but
>> I get this error on the Sudo Make Install
>>
>> Installing PHP SAPI module
>> [activating module `php4' in /private/etc/httpd/httpd.conf]
>> cp libs/libphp4.so /usr/libexec/httpd/libphp4.so
>> cp: libs/libphp4.so: No such file or directory
>> apxs:Break: Command failed with rc=1
>> make: *** [install-sapi] Error 1
>>
>> If anyone can help me out. Please remeber I am a complete begginer step by
>> step instructions!
>>
>> Thanks
>> ian
>>
>>
>>
>>
>> --
>> PHP Install Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--- End Message ---
--- Begin Message ---
Russel Thanks:
I was acctually finally able to get PHP to
install --with-apxs --with-gettext
I downloaded gettext via FINK and then ran its ./confgire make and make
install.
Then tried the PHP ./configure and it worked!
Of course now I have to figure out how to go about setting up a Database
table? For mySQL.
What im trying to achieve here is a running copy of NAG by www.horde.org
If anyone is familiar with that let me know.
Im not certain if a Database Table is a general thing or somthing that will
be NAG/HORDE specific?
Thanks!
Ian
> I have successfully installed PHP 4.3.0 on MacOS X, but it took a bit of
> work and a lot of 'under the hood' knowlege of the OS.
>
> However, now that it has been done, and I know what packages are needed
> and what versions are compatable with MacOS X, I can help you with
> step-by-step instructions.
>
> I am not able to compile the instructions at this time, but will throw
> something together tomorrow, and give the URL to the list.
>
> ** Somewhat off-topic **
>
> MacOS X is less like a normal *NIX than many would initially suspect.
> There are often many 'standard' libraries that are simply not present, or
> certianly not the development files (header files, etc) that are needed to
> compile *NIX packages. Most of these packages (PHP for example) can be
> hacked together with the right expertise. I'm sure Apple Engineers spend
> many hours getting everything together and patching source to get binaries
> to work with the next release.
>
> Sadly, this leaves many out in the cold when needed compile-time options
> are not used. (Gettext in mod_php) This is helped by people that post
> instructions and/or patched sources files on the internet. For example,
> Marc Liyange (http://www.entropy.ch/software/macosx/) has done a bit of
> this type of work.
>
> ** end rant **
>
> Anyway, I'll get some instructions and source packages that helped me to
> the list tomorrow. (BTW: I'm working with 10.2.4)
>
> HTH,
> -Russell
>
> On Sat, 22 Feb 2003, EOS Technologies wrote:
>
> > Anyone knowledgeable about OS X?
> >
> > Im trying to install PHP with -gettext and --axps but running intro
> > problems.
> > Im running the latest OS X and have installed the developer tools. But
it
> > seems like im still missing somthing...
> >
> > When I run ./configure I get somewhere.
> > About to here:
> >
> > checking for the location of libXpm... no
> > checking for FreeType 1.x support... no
> > checking for FreeType 2... no
> > checking for T1lib support... no
> > checking whether to enable truetype string function in GD... no
> > checking for GNU gettext support... yes
> > configure: error: Cannot locate header file libintl.h
> > [Jezebel:/apps/php-4.3.0] root#
> >
> > I was using the command line:
> > ./configure --with-apxs --with-gettext
> >
> > When I do the configure without add get text the configure runs smoothly
but
> > I get this error on the Sudo Make Install
> >
> > Installing PHP SAPI module
> > [activating module `php4' in /private/etc/httpd/httpd.conf]
> > cp libs/libphp4.so /usr/libexec/httpd/libphp4.so
> > cp: libs/libphp4.so: No such file or directory
> > apxs:Break: Command failed with rc=1
> > make: *** [install-sapi] Error 1
> >
> > If anyone can help me out. Please remeber I am a complete begginer step
by
> > step instructions!
> >
> > Thanks
> > ian
--- End Message ---
--- Begin Message ---
Hi,
I recently installed PHP on Windows 2k with IIS5 using the isapi modules.
I am getting this error when I load a php page at
http://www.wbai.org/calendar
Error:
Warning: fopen(http://www.pacifica.org/calendar/index.pl?Calendar=WBAI)
[function.fopen]: failed to create stream: HTTP request failed! in
E:\Inetpub\wbai.org\calendar\index.php on line 64
Warning: feof(): supplied argument is not a valid stream resource in
E:\Inetpub\wbai.org\calendar\index.php on line 66
Warning: fgets(): supplied argument is not a valid stream resource in
E:\Inetpub\wbai.org\calendar\index.php on line 67
Warning: feof(): supplied argument is not a valid stream resource in
E:\Inetpub\wbai.org\calendar\index.php on line 66
Warning: fgets(): supplied argument is not a valid stream resource in
E:\Inetpub\wbai.org\calendar\index.php on line 67
Warning: feof(): supplied argument is not a valid stream resource in
E:\Inetpub\wbai.org\calendar\index.php on line 66
Anyone knows the fix? This page --
"http://www.pacifica.org/calendar/index.pl?Calendar=WBAI" works when
type into the browser.
-- Nicholas
--- End Message ---
--- Begin Message ---
I have been having a hell of a time getting imap support for php.
Basically the setup is:
postfix MTA (2.0.3) with courier-imap (1.7.0)
I found a page describing how to setup uw-imap c-client library so that
php will have imap support:
http://www.horde.org/faq/admin/prereq/index.php
2.3.2 I don't use UW-IMAP. How can I build IMAP support into PHP?
IMP 2.2 and 3.x require that PHP be built with IMAP support; PHP requires
that the UW-IMAP "c-client" library be available during compilation. This
library is the reference IMAP implementation and is only an IMAP client.
It has nothing to do with the IMAP server that you use; even if you use
the Courier or Cyrus IMAP server, you must download the UW-IMAP package
and build c-client on the same machine as the webserver. The steps to
build only the c-client libraries are as follows:
Move to the top directory of the UW-IMAP distribution.
Run make with the correct argument for your operating system.
ln -s c-client include
mkdir lib
cd lib
ln -s ../c-client/c-client.a libc-client.a
and then point PHP configure's --with-imap option at the top directory of
the UW-IMAP distribution. (There is no need to make install in the IMAP
distribution.)
I downloaded and installed the latest version of php and configured with
the --with-imap-ssl flag ( i first compiled --with-imap but it complained
that the c-client libraries used ssl and therefore i had to recompile with
--with-imap-ssl)
I am trying to install this to use some of the horde applications
(www.horde.org). The test page for horde complains that IMAP support is
not available. If anyone could provide any insight into this i would
greatly appreciate it.
Thanks,
Bret
--- End Message ---
--- Begin Message ---
I have been having a hell of a time getting imap support for php.
Basically the setup is:
postfix MTA (2.0.3) with courier-imap (1.7.0)
I found a page describing how to setup uw-imap c-client library so that
php will have imap support:
http://www.horde.org/faq/admin/prereq/index.php
2.3.2 I don't use UW-IMAP. How can I build IMAP support into PHP?
IMP 2.2 and 3.x require that PHP be built with IMAP support; PHP requires
that the UW-IMAP "c-client" library be available during compilation. This
library is the reference IMAP implementation and is only an IMAP client.
It has nothing to do with the IMAP server that you use; even if you use
the Courier or Cyrus IMAP server, you must download the UW-IMAP package
and build c-client on the same machine as the webserver. The steps to
build only the c-client libraries are as follows:
Move to the top directory of the UW-IMAP distribution.
Run make with the correct argument for your operating system.
ln -s c-client include
mkdir lib
cd lib
ln -s ../c-client/c-client.a libc-client.a
and then point PHP configure's --with-imap option at the top directory of
the UW-IMAP distribution. (There is no need to make install in the IMAP
distribution.)
I downloaded and installed the latest version of php and configured with
the --with-imap-ssl flag ( i first compiled --with-imap but it complained
that the c-client libraries used ssl and therefore i had to recompile with
--with-imap-ssl)
I am trying to install this to use some of the horde applications
(www.horde.org). The test page for horde complains that IMAP support is
not available. If anyone could provide any insight into this i would
greatly appreciate it.
Thanks,
Bret
--- End Message ---
--- Begin Message ---
I'm trying to install php 4.3.0 on HP-UX 11.00 with Postrgres using the
following configure statement:
./configure --with-pgsql=/pgsql --with-apxs=/usr/local/apache/bin/apxs
That seems to run okay, but when I run gmake, while it completes, I get
this message:
*** Warning: linker path does not have real file for library -lcrypt.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libcrypt and none of the candidates passed a file format test
*** using a file magic. Last file checked: /usr/lib/libcrypt.a
*** Warning: libtool could not satisfy all declared inter-library
*** dependencies of module libphp4. Therefore, libtool will create
*** a static module, that should work as long as the dlopening
*** application is linked with the -dlopen flag.
If I try to run 'gmake install' it fails when it tries to copy
libphp4.sl (or libphp4.so) because I've got a libphp4.a in the libs/
directory. The above error message makes me think the problem is that
I've got a static libcrypt library rather than a dynamic one. But I've
seen postings from people about the libphp4.so needing to be renamed .sl
or vice-versa, so they must be getting past this point, but I'm not sure
how. Any ideas? TIA.
Petre Scheie
--- End Message ---