Re: PHP on RH 7.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Well your suggestion to get all new RPMs with one command sounded too good to be true :-) So here is what happened ..
the first 3 lines are obvious. the phpinfo.php is a web page that one can use to test if PHP is running. I didn't realize I had so many dependants! :-)
phpinfo.php = <? phpinfo();?> in the code


[root@myhost  RPMS]# rpm -Uvh *
error: TRANS.TBL does not appear to be a RPM package
error: php-4.3.4.tar.gz.tar does not appear to be a RPM package
error: phpinfo.php does not appear to be a RPM package
error: failed dependencies:
       php = 4.0.1pl2 is needed by mod_php-4.0.1pl2-9
       glibc >= 2.2 is needed by mysql-3.23.54a-3.70
       libstdc++ >= 2.96-69 is needed by mysql-3.23.54a-3.70
       mysql = 3.23.54a is needed by mysql-devel-3.23.54a-3.70
       mysql = 3.23.54a is needed by mysql-server-3.23.54a-3.70
       libcrypto.so.1   is needed by php-4.1.2-7.0.6
       libssl.so.1   is needed by php-4.1.2-7.0.6
       php = 4.0.1pl2 is needed by php-imap-4.0.1pl2-9
       libcrypto.so.1   is needed by php-imap-4.1.2-7.0.6
       libssl.so.1   is needed by php-imap-4.1.2-7.0.6
       php = 4.0.1pl2 is needed by php-ldap-4.0.1pl2-9
       libcrypto.so.1   is needed by php-ldap-4.1.2-7.0.6
       liblber.so.2   is needed by php-ldap-4.1.2-7.0.6
       libldap.so.2   is needed by php-ldap-4.1.2-7.0.6
       libssl.so.1   is needed by php-ldap-4.1.2-7.0.6
       php = 4.0.1pl2 is needed by php-mysql-4.0.1pl2-9
       php = 4.0.1pl2 is needed by php-pgsql-4.0.1pl2-9

TIA

Rodolfo J. Paiz wrote:

At 06:45 1/31/2004, you wrote:

OK I found RPM updates for PHP and MYSQL on redhat.com and I have downloaded them. Do I need to RPM-e the existing version? They don't seem to be as new as the ones on the offical sites for each product.


What you should do is get the newest versions of the RPM packages for Apache, PHP, and MySQL (including related packages like php-mysql). Once you have those all together in a directory, you can upgrade them one by one with the "rpm -Uvh php-4.3.x-x-x-x-x.rpm" command or you can use "rpm -Uvh *" to upgrade all packages in that directory.

"rpm -Uvh" will smoothly upgrade existing packages by handling config files gracefully, removing the previous package, and installing the new one. If you installed the new packages with "rpm -i" then you will have to manually remove the older versions.

PHP has always worked immediately for me on Red Hat Linux, with no configuration required.

Post a specific question with details. For example, in your last email you said "PHP is still not active." How did you decide that? What did you try?

And you're in the right place, don't worry about it. This list is for general questions of any type related to Red Hat Linux.



-- Tom Westheimer I use Spamarrest to stop SPAM so please follow the short instructions in the confirmation email one time only to let the "good guys/gals through" :-)

<a href="http://spamarrest.com/affl?102505";>
<img src="http://spamarrest.com/img/affiliate/ads/emailbanner1.gif?102505"; height="31" width="435" border="0"></a>



--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux