php-install Digest 4 Jan 2002 01:37:50 -0000 Issue 632
Topics (messages 5443 through 5454):
Re: notepad cant write .php
5443 by: Curt Strite
Getting FreeType 2/GD working with PHP 4.1.1
5444 by: Andrew Pattison
Can NOT get PHP 4.1.0 to run a Windows 2000/Apache 1.3.22<--HELP!!!
5445 by: Mark
APXS problem with compile. Please help :)
5446 by: Stephen Loeckle
5447 by: Stephen Loeckle
Re: APXS problem with compile.
5448 by: Martin Cloutier
5450 by: Stephen Loeckle
PHP, Apache, and OpenBSD
5449 by: Aaron
Problem with mySQL !!
5451 by: Marios Karagiannopoulos
5452 by: Stephen Loeckle
5453 by: Marios Karagiannopoulos
Help, installing php 4.1.1 on Solaris 7 with Oracle 8.0.5 Database
5454 by: Andrie Darma Nugroho
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 ---
To make it easy when you select all files and then you get to put in the
name type "myfile.php" WITH THE QUOTES. Once you add the quotes you'll
be fine.
Hope that helps.
Later,
Curt
-----Original Message-----
From: t_virtussavant [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 02, 2002 5:52 PM
To: [EMAIL PROTECTED]
Subject: [PHP-INST] notepad cant write .php
i have php4.1.0 on apache1.3.20 on windows98SE
apache run okay, some php script i`ve downloaded runs fine too, but when
i
try to write my own .php files using notepad, it wont save as .php
the file becomes myfile.php.txt (i did choose `all files` in the `save
as
type` box) intead of myfile.php
is there something wrong with my php instalation? what/where should i
configure it?
--
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 am having real difficulty getting GD to use FreeType 2 in PHP. I have
narrowed it down to the fact that the flag HAVE_GD_STRINGFTEX is not set,
but I cannot for the life of me see where the mysterious type
"gdFTStringExtra" comes from.
Can someone please help as this is drving me bananas!
Cheers
Andrew.
Andrew J. Pattison
2mx.co.uk Web Design & Hosting
---------
+44 (0)1383 732840 or +44 (0)797 4564328
Fax: +44 (0)1383 730624
--- End Message ---
--- Begin Message ---
I am fairly new to PHP and just finished setting up Apache 1.3.22 and PHP
4.1.0 and can not get it to run correclty. I first tried loading by module,
but after trying that, apache would not load. I then tried the CGI binary
mode and was able to get apache loaded correctly, but when I try and load a
*.php file all I get is a blank browser window or it just opens and displays
the contents of the file. I also tried running the the file at the DOS
prompt using c:\PHP php.exe filename.php and all I get is PHP.exe showing
the contents of the file. Is that correct?? Am I missing something in the
PHP.ini file?? Do I need to make additional changes to my Apache config
file?? Any input would be greatly appreciated. Thanks in advance.
Mark
--- End Message ---
--- Begin Message ---
I am having a problem compiling the php module for apache. I have mod_so.c
enabled:
Compiled-in modules:
http_core.c
mod_so.c
suexec: disabled; invalid wrapper bin/suexec
I don't understand the last line though. Hopefully it's not a a problem.
I am running perl 5.6.1 freshly downloaded and compiled from cpan.
Here are the results of the module compile:
[root@lmfile php-4.1.0]#
./configure --with-apxs=/usr/local/apache/bin/apxs --with-mysql=/usr/local/m
ysql
loading cache ./config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking host system type... i686-pc-linux-gnu
checking for gawk... (cached) gawk
checking for bison... (cached) bison -y
checking bison version... 1.28 (ok)
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for AIX... no
checking for gcc option to accept ANSI C... (cached) none needed
checking for ranlib... (cached) ranlib
checking whether gcc and cc understand -c and -o together... (cached) yes
checking whether ln -s works... (cached) yes
checking for flex... (cached) flex
checking for yywrap in -lfl... (cached) yes
checking lex output file root... (cached) lex.yy
checking whether yytext is a pointer... (cached) yes
checking for working const... (cached) yes
checking for pthreads_cflags... (cached) -pthread
checking for pthreads_lib... (cached)
Configuring SAPI modules
checking for AOLserver support... no
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/local/apache/bin/apxs follows
./configure: /usr/local/apache/bin/apxs: bad interpreter: No such file or
directory
configure: error: Aborting
I seen lots of messages about people having problems with this, but I have
only seen one post with the 'bad interpreter' problem with no resolution.
Any ideas?
Any help is much appreciated,
Stephen
P.S. Get the same from php 4.1.1 as well....
--- End Message ---
--- Begin Message ---
Never mind :) I deleted the source directory and untared it again. I forgot
I had been playing around in there a little too much LOL. Louie, you're the
best! Everything works great now!
Stephen
"Stephen Loeckle" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I am having a problem compiling the php module for apache. I have mod_so.c
> enabled:
>
> Compiled-in modules:
> http_core.c
> mod_so.c
> suexec: disabled; invalid wrapper bin/suexec
>
> I don't understand the last line though. Hopefully it's not a a problem.
>
> I am running perl 5.6.1 freshly downloaded and compiled from cpan.
>
> Here are the results of the module compile:
>
> [root@lmfile php-4.1.0]#
>
./configure --with-apxs=/usr/local/apache/bin/apxs --with-mysql=/usr/local/m
> ysql
> loading cache ./config.cache
> checking for a BSD compatible install... (cached) /usr/bin/install -c
> checking whether build environment is sane... yes
> checking whether make sets ${MAKE}... (cached) yes
> checking for working aclocal... found
> checking for working autoconf... found
> checking for working automake... found
> checking for working autoheader... found
> checking for working makeinfo... found
> checking whether to enable maintainer-specific portions of Makefiles... no
> checking host system type... i686-pc-linux-gnu
> checking for gawk... (cached) gawk
> checking for bison... (cached) bison -y
> checking bison version... 1.28 (ok)
> checking for gcc... (cached) gcc
> checking whether the C compiler (gcc ) works... yes
> checking whether the C compiler (gcc ) is a cross-compiler... no
> checking whether we are using GNU C... (cached) yes
> checking whether gcc accepts -g... (cached) yes
> checking how to run the C preprocessor... (cached) gcc -E
> checking for AIX... no
> checking for gcc option to accept ANSI C... (cached) none needed
> checking for ranlib... (cached) ranlib
> checking whether gcc and cc understand -c and -o together... (cached) yes
> checking whether ln -s works... (cached) yes
> checking for flex... (cached) flex
> checking for yywrap in -lfl... (cached) yes
> checking lex output file root... (cached) lex.yy
> checking whether yytext is a pointer... (cached) yes
> checking for working const... (cached) yes
> checking for pthreads_cflags... (cached) -pthread
> checking for pthreads_lib... (cached)
>
> Configuring SAPI modules
> checking for AOLserver support... no
> 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/local/apache/bin/apxs follows
> ./configure: /usr/local/apache/bin/apxs: bad interpreter: No such file or
> directory
> configure: error: Aborting
>
> I seen lots of messages about people having problems with this, but I have
> only seen one post with the 'bad interpreter' problem with no resolution.
> Any ideas?
>
> Any help is much appreciated,
> Stephen
>
> P.S. Get the same from php 4.1.1 as well....
>
>
>
--- End Message ---
--- Begin Message ---
Now that you know what you are doing... I need a word of advise on apxs
1. is it installed automatically if you have RedHat 7.1 Vanilla with PHP, MYSQL
and APACHE.
2. if not, how, and would it be good to install it?
I am trying to upgrade 4.06 to 4.1.1
Regards
Martin
Stephen Loeckle wrote:
> Never mind :) I deleted the source directory and untared it again. I forgot
> I had been playing around in there a little too much LOL. Louie, you're the
> best! Everything works great now!
>
> Stephen
>
> "Stephen Loeckle" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > I am having a problem compiling the php module for apache. I have mod_so.c
> > enabled:
> >
> > Compiled-in modules:
> > http_core.c
> > mod_so.c
> > suexec: disabled; invalid wrapper bin/suexec
> >
> > I don't understand the last line though. Hopefully it's not a a problem.
> >
> > I am running perl 5.6.1 freshly downloaded and compiled from cpan.
> >
> > Here are the results of the module compile:
> >
> > [root@lmfile php-4.1.0]#
> >
> ./configure --with-apxs=/usr/local/apache/bin/apxs --with-mysql=/usr/local/m
> > ysql
> > loading cache ./config.cache
> > checking for a BSD compatible install... (cached) /usr/bin/install -c
> > checking whether build environment is sane... yes
> > checking whether make sets ${MAKE}... (cached) yes
> > checking for working aclocal... found
> > checking for working autoconf... found
> > checking for working automake... found
> > checking for working autoheader... found
> > checking for working makeinfo... found
> > checking whether to enable maintainer-specific portions of Makefiles... no
> > checking host system type... i686-pc-linux-gnu
> > checking for gawk... (cached) gawk
> > checking for bison... (cached) bison -y
> > checking bison version... 1.28 (ok)
> > checking for gcc... (cached) gcc
> > checking whether the C compiler (gcc ) works... yes
> > checking whether the C compiler (gcc ) is a cross-compiler... no
> > checking whether we are using GNU C... (cached) yes
> > checking whether gcc accepts -g... (cached) yes
> > checking how to run the C preprocessor... (cached) gcc -E
> > checking for AIX... no
> > checking for gcc option to accept ANSI C... (cached) none needed
> > checking for ranlib... (cached) ranlib
> > checking whether gcc and cc understand -c and -o together... (cached) yes
>
> > checking whether ln -s works... (cached) yes
> > checking for flex... (cached) flex
> > checking for yywrap in -lfl... (cached) yes
> > checking lex output file root... (cached) lex.yy
> > checking whether yytext is a pointer... (cached) yes
> > checking for working const... (cached) yes
> > checking for pthreads_cflags... (cached) -pthread
> > checking for pthreads_lib... (cached)
> >
> > Configuring SAPI modules
> > checking for AOLserver support... no
> > 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/local/apache/bin/apxs follows
> > ./configure: /usr/local/apache/bin/apxs: bad interpreter: No such file or
> > directory
> > configure: error: Aborting
> >
> > I seen lots of messages about people having problems with this, but I have
> > only seen one post with the 'bad interpreter' problem with no resolution.
> > Any ideas?
> >
> > Any help is much appreciated,
> > Stephen
> >
> > P.S. Get the same from php 4.1.1 as well....
> >
> >
> >
>
> --
> 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 ---
It is installed with the apache rpm, however, I couldn't get it to work
right without compiling apache from scratch. I have found that it's a good
idea to compile anything from scratch if it needs customizations ex. apache,
perl, php etc. To be honest, it's a royal pain learning how to do this
stuff, but once you figure it out, you can make it run like a dream and most
importantly, it runs the way YOU want it to run. Let me know if I can help.
Stephen
"Martin Cloutier" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Now that you know what you are doing... I need a word of advise on apxs
> 1. is it installed automatically if you have RedHat 7.1 Vanilla with PHP,
MYSQL
> and APACHE.
> 2. if not, how, and would it be good to install it?
>
> I am trying to upgrade 4.06 to 4.1.1
>
> Regards
>
> Martin
>
> Stephen Loeckle wrote:
>
> > Never mind :) I deleted the source directory and untared it again. I
forgot
> > I had been playing around in there a little too much LOL. Louie, you're
the
> > best! Everything works great now!
> >
> > Stephen
> >
> > "Stephen Loeckle" <[EMAIL PROTECTED]> wrote in message
> > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > > I am having a problem compiling the php module for apache. I have
mod_so.c
> > > enabled:
> > >
> > > Compiled-in modules:
> > > http_core.c
> > > mod_so.c
> > > suexec: disabled; invalid wrapper bin/suexec
> > >
> > > I don't understand the last line though. Hopefully it's not a a
problem.
> > >
> > > I am running perl 5.6.1 freshly downloaded and compiled from cpan.
> > >
> > > Here are the results of the module compile:
> > >
> > > [root@lmfile php-4.1.0]#
> > >
> >
./configure --with-apxs=/usr/local/apache/bin/apxs --with-mysql=/usr/local/m
> > > ysql
> > > loading cache ./config.cache
> > > checking for a BSD compatible install... (cached) /usr/bin/install -c
> > > checking whether build environment is sane... yes
> > > checking whether make sets ${MAKE}... (cached) yes
> > > checking for working aclocal... found
> > > checking for working autoconf... found
> > > checking for working automake... found
> > > checking for working autoheader... found
> > > checking for working makeinfo... found
> > > checking whether to enable maintainer-specific portions of
Makefiles... no
> > > checking host system type... i686-pc-linux-gnu
> > > checking for gawk... (cached) gawk
> > > checking for bison... (cached) bison -y
> > > checking bison version... 1.28 (ok)
> > > checking for gcc... (cached) gcc
> > > checking whether the C compiler (gcc ) works... yes
> > > checking whether the C compiler (gcc ) is a cross-compiler... no
> > > checking whether we are using GNU C... (cached) yes
> > > checking whether gcc accepts -g... (cached) yes
> > > checking how to run the C preprocessor... (cached) gcc -E
> > > checking for AIX... no
> > > checking for gcc option to accept ANSI C... (cached) none needed
> > > checking for ranlib... (cached) ranlib
> > > checking whether gcc and cc understand -c and -o together... (cached)
yes
> >
> > > checking whether ln -s works... (cached) yes
> > > checking for flex... (cached) flex
> > > checking for yywrap in -lfl... (cached) yes
> > > checking lex output file root... (cached) lex.yy
> > > checking whether yytext is a pointer... (cached) yes
> > > checking for working const... (cached) yes
> > > checking for pthreads_cflags... (cached) -pthread
> > > checking for pthreads_lib... (cached)
> > >
> > > Configuring SAPI modules
> > > checking for AOLserver support... no
> > > 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/local/apache/bin/apxs follows
> > > ./configure: /usr/local/apache/bin/apxs: bad interpreter: No such file
or
> > > directory
> > > configure: error: Aborting
> > >
> > > I seen lots of messages about people having problems with this, but I
have
> > > only seen one post with the 'bad interpreter' problem with no
resolution.
> > > Any ideas?
> > >
> > > Any help is much appreciated,
> > > Stephen
> > >
> > > P.S. Get the same from php 4.1.1 as well....
> > >
> > >
> > >
> >
> > --
> > 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 have followed the installation instruction on PHP.net's user guide to the
letter. But I can not get PHP to run with Apache. It doesn't seem as
though Apache is loading and running the PHP module. When I run httpd -l
there is no PHP module listed. I can't for the life of me figure out why
this isn't working. I am running the latest version of PHP and OpenBSD, and
the stable 1.3 release of Apache. I manually compiled both PHP and Apache
per the instructions in the user guide, but to no avail. If anybody has any
ideas at all I would greatly appreciate it? I had it working once, but I
couldn't get MySQL to work. I ended up completely redoing the system, now I
have MySQL working fine but I can't get PHP and Apache to play nice
together! Please help!
~Aaron
--- End Message ---
--- Begin Message ---
I finally got my php-gmp binary with built-in mysql support. But when I
am trying to connect to my database I get the following:
Warning: Can't connect to local MySQL server through socket
'/tmp/mysql.sock' (111) in /cygdrive/d/Apache/htdocs/crypto/db.php on
line 17
error connecting to host localhost, by user eadmin, Please contact
[EMAIL PROTECTED]
How can I fix that?
Thanks
--- End Message ---
--- Begin Message ---
Sounds like a coding issue. Is your connect string correct?
Stephen
"Marios Karagiannopoulos" <[EMAIL PROTECTED]> wrote in message
000101c194b8$df8df3c0$999af2c3@marios">news:000101c194b8$df8df3c0$999af2c3@marios...
> I finally got my php-gmp binary with built-in mysql support. But when I
> am trying to connect to my database I get the following:
>
> Warning: Can't connect to local MySQL server through socket
> '/tmp/mysql.sock' (111) in /cygdrive/d/Apache/htdocs/crypto/db.php on
> line 17
>
> error connecting to host localhost, by user eadmin, Please contact
> [EMAIL PROTECTED]
>
> How can I fix that?
> Thanks
>
--- End Message ---
--- Begin Message ---
Yes it's absolutely correct. To check that, I tried with another
Previous installation of PHP and Apache for win32 and not for cygwin.
It worked fine. But, when I am trying with this new build of apache and
Php it doesn't work !! Note that the gmp functions work fine, regardless
Of the mysql.
Thanks
-----Original Message-----
From: Stephen Loeckle [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 04, 2002 2:53 AM
To: [EMAIL PROTECTED]
Subject: [PHP-INST] Re: Problem with mySQL !!
Sounds like a coding issue. Is your connect string correct?
Stephen
"Marios Karagiannopoulos" <[EMAIL PROTECTED]> wrote in message
000101c194b8$df8df3c0$999af2c3@marios">news:000101c194b8$df8df3c0$999af2c3@marios...
> I finally got my php-gmp binary with built-in mysql support. But when
I
> am trying to connect to my database I get the following:
>
> Warning: Can't connect to local MySQL server through socket
> '/tmp/mysql.sock' (111) in /cygdrive/d/Apache/htdocs/crypto/db.php on
> line 17
>
> error connecting to host localhost, by user eadmin, Please contact
> [EMAIL PROTECTED]
>
> How can I fix that?
> Thanks
>
--
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 ---
Hi all,
I'm new in php. I want to install php 4.1.1 on my
solaris machine with oracle 8.0.5. as the
database.When I reconfigure the apache (apache 1.3.22)
i got this error message:
cd ..; gcc -DSOLARIS2=270 -I/master/php411/php-4.1.1
-I/master/php411/php-4.1.1/main
-I/master/php411/php-4.1.1/main
-I/master/php411/php-4.1.1/Zend
-I/master/php411/php-4.1.1/Zend
-I/master/php411/php-4.1.1/TSRM
-I/master/php411/php-4.1.1/TSRM
-I/master/php411/php-4.1.1 -DUSE_EXPAT
-I./lib/expat-lite -DNO_DL_NEEDED `./apaci` -o
helpers/dummy helpers/dummy.c -R/usr/ucblib
-R/usr/local/lib/gcc-lib/i386-pc-solaris2.7/2.95.2
-R/usr/oracle/app/oracle/product/8.0.5/lib
-L/usr/ucblib
-L/usr/local/lib/gcc-lib/i386-pc-solaris2.7/2.95.2
-L/usr/oracle/app/oracle/product/8.0.5/lib
-Lmodules/php4 -L../modules/php4 -L../../modules/php4
-lmodphp4 -lpam -ldl -lclntsh -lpsa -lcore4
-lnlsrtl3 -lm -lposix4 -laio -lelf -ldl -lmw -lgen
-lnsl -lsocket -lcrypt -lresolv -lresolv -lm -ldl
-lnsl -lsocket -lsocket -lgcc -lcrypt -lsocket
-lnsl
Undefined first referenced
symbol in file
ncrfiv
/usr/oracle/app/oracle/product/8.0.5/lib/libclntsh.so
nttini
/usr/oracle/app/oracle/product/8.0.5/lib/libclntsh.so
osncon
/usr/oracle/app/oracle/product/8.0.5/lib/libclntsh.so
niqname
/usr/oracle/app/oracle/product/8.0.5/lib/libclntsh.so
ld: fatal: Symbol referencing errors. No output
written to helpers/dummy
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `dummy'
======== Error Output for sanity check ========
============= End of Error Report =============
Aborting!
Anyone can help me to solve this problem please. I
don't have any idea to solve this right now.
Thank's
Andrie Darma Nugroho
PT.PJB
Indonesia
__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com
--- End Message ---