php-install Digest 30 Jan 2003 14:26:46 -0000 Issue 1226

Topics (messages 9885 through 9891):

Installation Problems
        9885 by: Nilesh Parmar
        9888 by: Neil M
        9889 by: Neil M

Re: (include_path='.;c:\php4\pear') ERROR?
        9886 by: Jens Rosenthal

mcrypt can't find libmcrypt
        9887 by: Peter Nyberg

PHP --with-imap on Cobalt RaQ with Stackguard IMAP
        9890 by: Götz Lohmann

Running PHP and ASP on same server.
        9891 by: Fred Mastropasqua

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 All,
     I have a slight problem configuring PHP with Apache. I'm using PHP 4.3
with Apache 1.3.27 on my RedHat Linux 7.2 box. 
 
I initially configured php with apache and it worked fine. The phpinfo page
showed that PHP was configured with 
 
--with-mysql --with-apxs=/usr/local/apache/bin/apxs 
 
 
However, now i wanted to enable the gd option along with freetype support
and a number of other things. I again configured PHP with those extra
arguments in the ./configure command and then did make and make install.
However, when i execute the phpinfo() page again, it doesn't show me PHP
being configured with those extra options!. Am i missing something??
 
Can anyone please help me with this?
 
thanks
Nilesh.
 
 
 
 
--- End Message ---
--- Begin Message ---
Nilesh Parmar wrote:
Hi All,
I have a slight problem configuring PHP with Apache. I'm using PHP 4.3
with Apache 1.3.27 on my RedHat Linux 7.2 box. I initially configured php with apache and it worked fine. The phpinfo page
showed that PHP was configured with --with-mysql --with-apxs=/usr/local/apache/bin/apxs However, now i wanted to enable the gd option along with freetype support
and a number of other things. I again configured PHP with those extra
arguments in the ./configure command and then did make and make install.
However, when i execute the phpinfo() page again, it doesn't show me PHP
being configured with those extra options!. Am i missing something??
Can anyone please help me with this?
thanks
Nilesh.

Hello

I think you need to do a 'make clean' in the php dir , then configure as before.

Thanks

Neil

--- End Message ---
--- Begin Message ---
Nilesh Parmar wrote:
Hi All,
I have a slight problem configuring PHP with Apache. I'm using PHP 4.3
with Apache 1.3.27 on my RedHat Linux 7.2 box. I initially configured php with apache and it worked fine. The phpinfo page
showed that PHP was configured with --with-mysql --with-apxs=/usr/local/apache/bin/apxs However, now i wanted to enable the gd option along with freetype support
and a number of other things. I again configured PHP with those extra
arguments in the ./configure command and then did make and make install.
However, when i execute the phpinfo() page again, it doesn't show me PHP
being configured with those extra options!. Am i missing something??
Can anyone please help me with this?
thanks
Nilesh.

Hello

I think you need to do a 'make clean' in the php dir , then configure as before.

Thanks

Neil

--- End Message ---
--- Begin Message ---
Hi,

well, sound like you're doing something like a
require("http://localhost/xyz.php";); or include("http://localhost/xyz.php";);
Is this right?

Require and Include require filesystem paths, not webpaths. So if your
directory you're working is TEST you have a subdir XYZ with a file xyz.php
this shuold look like require("XYZ/xyz.php");

Greetings,
Jens

-----Original Message-----
From: Bryan Fritchie [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 30, 2003 3:05 AM
To: [EMAIL PROTECTED]
Subject: [PHP-INST] Re: (include_path='.;c:\php4\pear') ERROR?


I am having a very similar problem as this one, but I did not see an answer.
Does anyone know what this is?  I can't find this line in the php.ini file
at all.

BTW, I am trying to set up PHP to run under Win2000, for IIS.   Thanks!



"Nick" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
> If anyone could tell me what this line means that would be great!
> Warning: Failed opening 'localhost' for inclusion
> (include_path='.;c:\php4\pear') in Unknown on line 0
>
> PHP 4.2 and Apache are running (well  PHP supposedly - this error is
holding
> me up!)
> Thanks,
> Nick
>
>



--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


--- End Message ---
--- Begin Message ---
Hi everyone!
I've tried to compile libmcrypt, mhash and libmcrypt with instructions on 
http://www.alt-php-faq.org/local/95/
It didn't help. I'm still getting error when configure mcrypt.
My system is RH Linux 7.3.

checking for libmcrypt-config... /usr/local/bin/libmcrypt-config
checking for libmcrypt - version >= 2.5.0... no
*** Could not run libmcrypt test program, checking why...
*** The test program compiled, but did not run. This usually means
*** that the run-time linker is not finding LIBMCRYPT or finding the wrong
*** version of LIBMCRYPT. If it is not finding LIBMCRYPT, you'll need to set 
your
*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point
*** to the installed location  Also, make sure you have run ldconfig if that
*** is required on your system
***
*** If you have an old version installed, it is best to remove it, although
*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
***
configure: error: *** libmcrypt was not found

I looked for the path in ld.so.conf

[root@xxxxx mcrypt-2.6.3]# cat /etc/ld.so.conf 
/usr/kerberos/lib
/usr/X11R6/lib
/usr/lib/qt-3.0.3/lib
/usr/lib/sane
/usr/lib/wine
/usr/local/lib
/usr/local/lib/libmcrypt

I also checked the version and as you can see 2.5.5 is there

[root@xxxxx mcrypt-2.6.3]# /usr/local/bin/libmcrypt-config --version
2.5.5

I'm very confused and don't know what to do next! So please soemone. HELP ME!
Thanks
Peter Nyberg



----------------------------------------------------------------
Department of Biochemistry and Biophysics: http://www.dbb.su.se/
--- End Message ---
--- Begin Message ---
Hi,

I took me a long time to compile PHP with IMAP Support, but solve this, so here
is a solution:

If you have a Cobalt with latest Patches, then you have an StackGuard version of
IMAP wich won't compile with the default gcc

first you need:

  RaQ4-All-Security-2.0.1-13323.pkg using wget from ftp.cobalt.sun.com
  (which includes the gcc for the cobalt)

  gcc-2.7.2.3-11SG.i386.rpm from
  http://www.cse.ogi.edu/DISC/projects/immunix/StackGuard/

now get rid of the new gcc without StackGuard

rpm -e gcc-c++-2.95.3-1c1r4 \
gcc-chill-2.95.3-1c1r4 \
gcc-g77-2.95.3-1c1r4 \
gcc-java-2.95.3-1c1r4 \
gcc-objc-2.95.3-1c1r4 \
gcc-2.95.3-1c1r4

and install that from StackGuard

rpm -Uvh gcc-2.7.2.3-11SG.i386.rpm

now go and do a

./configure --prefix=/usr \
 --enable-magic-quotes \
 --enable-mbstr-enc-trans \
 --enable-mbstring \
 --enable-mm=shared \
 --enable-calendar \
 --enable-dba \
 --enable-dbase \
 --enable-dbx \
 --enable-ftp \
 --enable-gd-native-ttf \
 --enable-inline-optimization \
 --enable-safe-mode \
 --enable-track-vars \
 --enable-trans-sid \
 --enable-wddx=shared \
 --enable-xml \
 --disable-debug \
 --with-apxs=/usr/sbin/apxs \
 --with-config-file-path=/etc/httpd \
 --with-curl=shared \
 --with-dba \
 --with-db3=/usr/include/ \
 --with-exec-dir=/usr/bin \
 --with-flatfile \
 --with-gd \
 --with-gettext=/usr \
 --with-gdbm \
 --with-imap=shared,/usr/lib \
 --with-imap-ssl \
 --with-interbase=shared \
 --with-jpeg-dir=/usr/lib \
 --with-kerberos \
 --with-ldap=shared \
 --with-libdir=/usr/lib \
 --with-mbstr-enc-trans \
 --with-mbstring \
 --with-ming \
 --with-mysql \
 --with-pdflib=shared \
 --with-png-dir=/usr/lib \
 --with-pgsql=shared \
 --with-regex=system \
 --with-ttf=/usr/include/freetype \
 --with-tiff-dir=/usr/lib \
 --with-zlib \
 --with-xpm-dir=/usr/lib

or whatever you need ... and finish this with

make

you got it ... now same way backwards remove the gcc from Stackguard with
rpm -e gcc-2.7.2.3-11SG

to get the rpms out of the cobalt pkg just rename it to *.tar.gz and open it
with the mc (MidnightCommander) and copy all the gcc files to /tmp ...
install them ...

ready to go ;-)

PS: All this info is without warranty !!! Don't wheep if you crash your Cobalt
... if you have questions ask me personaly to prevent OT in this list


--- End Message ---
--- Begin Message ---
Hello First time on here, have a problem, can you help or is there an old
archived mail about it.
 
 
Basically this is my problem. I've searched everywhere found bits of info
here and there but nothing that helps.
 
 
I have IIS 5 on Win2K.
 
If I install PHP 4.2.3 on my system using the ISAPI DLL I can run PHP files
just fine. But when I go back to my ASP pages I get:
--------------------------
 -2147417842 (0x8001010e) error on the pages
---------------------
 
 
 
If I try the Php.EXE CGI method then my ASP pages work but I get:
-------------------------
Security Alert! The PHP CGI cannot be accessed directly. 
This PHP CGI binary was compiled with force-cgi-redirect enabled. This means
that a page will only be served up if the OLE_LINK1REDIRECT_STATUS CGI
variable is set, e.g. via an Apache Action directive. For more information
as to why this behavior exists, see the manual page for CGI
<http://php.net/security.cgi-bin <http://php.net/security.cgi-bin> >
security. For more information about changing this behavior or re-enabling
this webserver, consult the installation file that came with this
distribution, or visit the manual page <http://php.net/install.windows
<http://php.net/install.windows> > .
---------------------
 
 
Do I really have to compile this on my own to get it to work?  I set the
force-redirect in the ini to 0
 
Thanks.
 
Fred Mastropasqua
Sr. Windows Engineer for Masonite International
MCSE (Win2K & NT), MCDBA, A+, CCA, MCP+I
1-877-650-5927
 <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED]
 
--- End Message ---

Reply via email to