Fedora Linux Support Community & Resources Center
  #1  
Old 16th December 2009, 07:34 PM
maz00 Offline
Registered User
 
Join Date: Dec 2009
Posts: 4
windows_xp_2003firefox
Smile PHP older version install using YUM

Hi all,

After 5 years of working with ASP.NET, I started a position that requires some LAMP. I've installed Fedora 12 on a server and have configure Apache and MySQL using YUM.

Using the instructions on
http://www.howtoforge.com/installing...fedora-11-lamp

To install apache, I used
> yum install httpd (which worked great)

For php it says use
> yum install php

This server is mainly used for Drupal and they recommend PHP 5.2 and not 5.3. Can you someone please tell me how I can only install 5.2 using YUM or anything else configure into Apache?

Thanks
M.
Reply With Quote
  #2  
Old 17th December 2009, 07:14 PM
bertrc Offline
Registered User
 
Join Date: Dec 2009
Posts: 15
linuxfedorafirefox
yum install httpd php mysql-server php-mysql
service httpd restart
service mysqld restart
setup
system services
httpd
mysqld

/ etc / httpd / conf / httpd.conf

mysql-u root
set password = password ( 'new7card');

mysql-u root-p
new7card

http://localhost/

mkdir / var / www / html / php
create access directe amb linux
albert chown / var / www / html / php
ln-s / var / www / html / php / home / albert / Desktop


vi / var / www / html / php / prova.php
<?
phpinfo ();
?>
http://localhost/php/prova.php


vi / var / www / html / conexio.php
<?
echo $ link = mysql_pconnect ( "localhost", "root", "new7card");
?>
http://192.168.1.37/php/conexio.php

---------- Post added at 08:14 PM CST ---------- Previous post was at 08:07 PM CST ----------

yum install httpd php mysql-server php-mysql
service httpd restart
service mysqld restart

setup

system services
httpd
mysqld

apache
/etc/httpd/conf/httpd.conf

mysql
mysql -u root
set password = password ( 'new7card');

mysql -u root -p
new7card

http://localhost/

mkdir /var/www/html/php

user chown /var/www html/php
ln -s /var/www/html/php/home/user/Desktop


vi /var/www/html/php/test.php
<?
phpinfo ();
?>
http://localhost/php/test.php


vi /var/www/html/test2.php
<?
echo $ link = mysql_pconnect ( "localhost", "root", "new7card");
?>
http://localhost/php/test2.php
Reply With Quote
  #3  
Old 18th December 2009, 02:33 PM
maz00 Offline
Registered User
 
Join Date: Dec 2009
Posts: 4
windows_xp_2003ie
But I need 5.2X not 5.3

I've already done this before however, this installs version 5.3, we need 5.2.X. How do I install using YUM or any other tool version 5.2.X?

Thanks
M.

---------- Post added at 09:33 AM CST ---------- Previous post was at 09:32 AM CST ----------

Hi Bertrc,

I've already done this before however, this installs version 5.3, we need 5.2.X. How do I install using YUM or any other tool version 5.2.X?

Thanks
M.
Reply With Quote
Reply

Tags
install, older, php, version, yum

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How install older version of boost? 6tr6tr Using Fedora 2 4th September 2009 05:26 AM
Using yum to install older version of software (ndiswrapper) for kernel compatibility openSauce Using Fedora 2 16th October 2008 03:24 PM
Older version of package gone from YUM...where can I get it? rweed Installation and Live Media 0 7th August 2007 12:21 AM
Loading FC6 from an older grub version Viashimo EOL (End Of Life) Versions 5 5th November 2006 03:46 PM
Need older version of wine KansasJoe Using Fedora 4 18th April 2006 09:13 PM


Current GMT-time: 18:36 (Friday, 24-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat