php-install Digest 30 Oct 2002 17:01:47 -0000 Issue 1095

Topics (messages 8968 through 8974):

Re: Question about install PHP4 with MySQL 3.23.53
        8968 by: John Coder

how to install php under iis 6
        8969 by: Ali YUKSEL

Instalation imposibilities
        8970 by: user.domain.invalid

PHP 4.2.3 + GD 2.0.1 install problems
        8971 by: Blubber

basic configuration problem
        8972 by: Silent Bob
        8973 by: Jeffrey_N_Dyke.Keane.com

mail()
        8974 by: Tony Simopoulos

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 ---
On Tue, 2002-10-29 at 23:27, Liu, Zhilin (UMC-Student) wrote:
> Hi,
>  
> I am trying to install php4.2.3 with the support of MySQL. I use rpm to install 
>Mysql as following:
>  
> rpm -i MySQL-3.23.53a-1.i386.rpm
> rpm -i MySQL-client-3.23.53a-1.i386.rpm
> rpm -i MySQL-devel-3.23.53a-1.i386.rpm
> rpm -i MySQL-shared-3.23.53a-1.i386.rpm
>  
> MySQL was automatically installed to many directories like /usr/bin, /usr/include, 
>/usr/lib, ....
>  
> Now when I try to install PHP4.2.3 with the following command:
> ./configure --with-apxs2=/usr/sbin/apxs --with-mysql=/??? --prefix=/usr/local/php
>  
> I always get the information : can't find header files under /???.  I have tried 
>/usr/include/mysql and so on. No one seems to work.  Does any one has any idea which 
>file php needs?  Is there a way to solve this without reinstall MySQL? Or how do I 
>use rpm to specify the location (say /usr/local/mysql) to install those rpms? 

Mysql doesn't provide header files with their rpm's unless you get the
src.rpm. all you have to do for built in mysql support is do a
--with-mysql.

John Coder

--- End Message ---
--- Begin Message ---
how can install php under ii 6.0?


--- End Message ---
--- Begin Message --- *sigh*, I'd like to compile php --with-gd. Ive read about make errors due to multiple/conflicting GD installs, This is not the issue here.
I have PHP-4.2.1 installed and working fine it was compiled with --enable-track-vars --with-apache=/path/apache-xx.xx.xx
Before anything I checked to see if I had any gd components on my system
none I checked and already had jpeg6 freetype2 libpng zlib. libpng was a bit outdated so I removed it and installed the newest version.
the gd-2.0.4 make install looked fine from what I could tell it found all the libs.
Im trying to configure php --with-gd --with-freetype-dir=/usr/X11/freetype2/ --enable-gd-native-ttf --enable-gd-imgsttf --with-png-dir=/usr/local --with-zlib --with-xpm-dir=/usr/local --with-jpeg-dir=/usr/local --with-mysql=/usr/local/mysql --with-apache=/usr/local/src/apache_1.3.23/ --with-pear --with-ssl=/usr/local/ssl/bin/openssl --enable-track-vars

Im faced with this chilling error
gcc -I. -I/usr/local/src/php-4.2.3/ext/gd -I/usr/local/src/php-4.2.3/main -I/usr/local/src/php-4.2.3 -I/usr/local/src/apache_1.3.23//src/include -I/usr/local/src/apache_1.3.23//src/os/unix -I/usr/local/src/php-4.2.3/Zend -I/usr/local/include/freetype2/freetype -I/usr/local/include -I/usr/local/mysql/include/mysql -I/usr/local/src/php-4.2.3/ext/xml/expat -I/usr/local/src/php-4.2.3/TSRM -g -O2 -c gd.c && touch gd.lo
In file included from gd.c:83:
gd_ctx.c: In function `_php_image_output_ctx':
gd_ctx.c:70: structure has no member named `free'
gd_ctx.c:98: structure has no member named `free'
gd.c: In function `_php_image_type':
gd.c:1014: structure has no member named `free'
gd.c:1017: structure has no member named `free'
gd.c: In function `_php_image_create_from':
gd.c:1209: structure has no member named `free'
make[3]: *** [gd.lo] Error 1
make[3]: Leaving directory `/usr/local/src/php-4.2.3/ext/gd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/php-4.2.3/ext/gd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/php-4.2.3/ext'
make: *** [all-recursive] Error 1

This is my ld.so.conf
/usr/local/lib
/usr/lib
/usr/X11R6/lib
/usr/i386-slackware-linux/lib
/opt/gnome/lib
/usr/openwin/lib
/usr/local/ssl/lib
/usr/local/mysql/lib
/usr/local/mm-1.1.3/lib
/opt/kde/lib
/usr/lib/qt-3.0.3/lib

Can someone please help, this had hindered my learning by 3 days and Im going crazy seeing this error that is not documented anywhere I can find.

--- End Message ---
--- Begin Message ---
Hi,
I've been trying to install PHP 4 with GD support for two days now. It
doesnt
work. I installed libjpeg libpng zlib and GD 2.01. They all compiled without
errors. Then I tried to configure php with this:

./configure --with-gd=../gd-2.0.1 --with-apxs=/usr/local/apache/bin/apxs --w
ith-zlib-dir=../zlib-1.1.4/,/usr/local/lib --with-png-dir=/usr/lib --with-jp
eg-dir=../jpeg-6b/,/usr/lib

At first it didn't work, but after commenting out line 92 from ext/gd/gd.c
it did compile. So
I started apache, again without errors. But this is wat phpinfo() show about
gd:

GD Support    enable
GD Version     1.2

Before I began I didn't have GD installed. Why does it say version 1.2, and
why doesn't
it mantion libjpeg en libpng support?

Greetings
Tiemo

--- End Message ---
--- Begin Message ---
Hello All!

I have been trying to get my web server to display .php pages for two days
with no luck!
I'm usiing Linux Mandrake 9.0 and Apache 2.0.43. Php version is php-4.2.3.

I installed the whole bunch from rpm's cause I thought that it would be
simpler. And it was! ;-) Only problem is that the web server show only the
basic html and no stuff within the php tags! I have currently following
packages installed:

apache2-conf-2.0.43-1mdk
apache2-mod_perl-2.0.43_1.99_07-1mdk
apache2-common-2.0.43-2mdk
apache2-modules-2.0.43-2mdk
apache2-mod_php-2.0.43_4.2.3-1mdk
apache2-2.0.43-2mdk

mod_php-4.2.3-1mdk
php-4.2.3-1mdk
php-pear-4.2.3-1mdk
php-common-4.2.3-1mdk
php-xmlrpc-4.2.3-1mdk

I read in the faq that I should put few lines to httpd2.conf and I did. But
when starting the server fails for AddModule lines. It says "invalid command
'addmodule'"

I'm positive that the .php page is itself  correct and the problem is with
the server or php config. So what I'm missing here. Am I missing some
packages or what?

Thanks!!

In need of help
-Bob

--- End Message ---
--- Begin Message ---
PHP4 and Apache2 are not a stable combonation.  You'd be better off going
back to 1.3.27 if you want to keep PHP.



                                                                                       
                             
                    "Silent Bob"                                                       
                             
                    <[EMAIL PROTECTED]       To:     <[EMAIL PROTECTED]>           
                             
                    i>                   cc:                                           
                             
                                         Subject:     [PHP-INST] basic configuration 
problem                        
                    10/30/2002                                                         
                             
                    09:26 AM                                                           
                             
                    Please respond                                                     
                             
                    to "Silent                                                         
                             
                    Bob"                                                               
                             
                                                                                       
                             
                                                                                       
                             




Hello All!

I have been trying to get my web server to display .php pages for two days
with no luck!
I'm usiing Linux Mandrake 9.0 and Apache 2.0.43. Php version is php-4.2.3.

I installed the whole bunch from rpm's cause I thought that it would be
simpler. And it was! ;-) Only problem is that the web server show only the
basic html and no stuff within the php tags! I have currently following
packages installed:

apache2-conf-2.0.43-1mdk
apache2-mod_perl-2.0.43_1.99_07-1mdk
apache2-common-2.0.43-2mdk
apache2-modules-2.0.43-2mdk
apache2-mod_php-2.0.43_4.2.3-1mdk
apache2-2.0.43-2mdk

mod_php-4.2.3-1mdk
php-4.2.3-1mdk
php-pear-4.2.3-1mdk
php-common-4.2.3-1mdk
php-xmlrpc-4.2.3-1mdk

I read in the faq that I should put few lines to httpd2.conf and I did. But
when starting the server fails for AddModule lines. It says "invalid
command
'addmodule'"

I'm positive that the .php page is itself  correct and the problem is with
the server or php config. So what I'm missing here. Am I missing some
packages or what?

Thanks!!

In need of help
-Bob


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




--- End Message ---
--- Begin Message ---
folks,

./configure did not specify any fancy directives for installing mail()
support.  in fact configure went out and my sendmail program all on its own.
however, when invoking the function i get the following error:

Warning: mail() is not supported in this PHP build in problems.inc on line
80

the mail section of the php.ini file are the default.  furthermore a quick
test of sendmail [EMAIL PROTECTED] worked as expected.

any ideas??

tonys.


--- End Message ---

Reply via email to