php-install Digest 29 Jun 2001 15:15:16 -0000 Issue 340
Topics (messages 3369 through 3371):
Re: Installation sur Red Hat Linux 5.2
3369 by: Andre LAGADEC
php install.upgrade on RH 7.1 and MySQL
3370 by: Gerald Langiewicz
Installation of PHP4 with PWS4.0
3371 by: FlawedChip.aol.com
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]
----------------------------------------------------------------------
Hello,
I find a solution using these RPM for apache on Red Hat 5.2,
apache-1.3.14-2.5.x.i386.rpm
apache-devel-1.3.14-2.5.x.i386.rpm
and this distribution of Mysql : mysql-3_22_21-pc-linux-gnu-i686_tar.gz
When compiling PHP-4.0.5, I execute this command :
./configure '--with-apxs=/usr/sbin/apxs' \
'--disable-pear' \
'--disable-xml' \
'--with-mysql=/usr/local/mysql'
These informations can help somebody who use old
distribution of Linux.
Bye.
Andre LAGADEC a �crit :
>
> Hello,
>
> I try to install PHP3 or PHP4 on a Linux Red Hat 5.2 box. I use these
> options during the configuration
> --with-apxs=/usr/sbin/apxs --with-mysql
>
> First, I have Apache and Mysql in RPM, apache-1.3.3
> Mysql-3.22.29, but during the make with PHP3, apxs failed
>
> After some try, I understand that I had to use a more recent version
> of apache. I have installed Apache-1.3.20 with these options :
> --prefix=/usr/local/apache --enable-module=most
> --enable-shared=max
> and PHP --with-apxs=/usr/local/apache/bin/apxs
> --with-config-file-path=/usr/local/apache
> --with-mysql
>
> No problem during 'make' and 'make install', but when I want to start
> http, I get these error message :
> Cannot load /usr/local/apache/libexec/libphp3.so into server:
> /usr/local/apache/libexec/libphp3.so: undefined symbol: open64
>
> I try to compile PHP without mysql option and in this case Apache and
> PHP work.
>
> I think the problem is with Mysql, and I decided to uninstall RPM of
> Mysql and install mysql-3.22.27-pc-linux-gnu-i686.tar.gz
> But when I compile PHP using this option --with-mysql=/usr/local/mysql
> I always get the same error message.
>
> Did someone get the same problem ?
> Did it work, if I compile the source of Mysql on my computer ?
> Or there is an other solution ?
>
> Thanks for your help ?
>
> --
> 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]
I have been reading and working and doing more reading trying to get PHP
(4.0.5 and 4.0.6), MySQL working an Redhat 7.1
This is what I know:
php-4.0.4pl1-9.i386.rpm works as advertised. I get the phpinfo() command
to give me a lot of information including the version but it does not
support MySQL.
MySQL works
I have downloaded the patch php 4.0.6 and tried to do the ./configure using
the appropriate --with-mysql =/to/source/path. I do not get any errors.
I delete the .cache file and run make and make install. I do not get any
errors... that I can see.
I can't get the latest version to show up in the page generated from
phpinfo() and the configure command does not match the one i used and the
build Date is march 3 2001.
Can somebody please shed some light on why I can't get this to work?
thanks
gerald
Gerald Langiewicz [EMAIL PROTECTED]
University of California, Irvine http://glang.ss.uci.edu
School of Social Science Programmer/Analyst
Irvine, Ca 92697
949 824 5404
Hello, I have tried installing PHP using PWS4.0 as the web server. When
viewing a PHP file I have created, it opens PHP.exe and the html code is
displayed in the DOS window. When I veiew the source of the file in IE, the
PHP code is no longer there, but the page is blank. I am using <?php
phpinfo();?> in my PHP file. Any help would be appreciated.
Ross