Topic: Proper howto

Hello everybody,

Is there a clean howto on Centos .
I have a typical configuration working, but what I have not achieved by now is the phpmyprepaid.
Is there a a simple installation howto on this ?

Re: Proper howto

I have just installed phpmyprepaid on my centos 4 box. i had to goto mysql.com and download these files

MySQL-client-community-5.0.45-0.rhel4.i386.rpm 
MySQL-server-community-5.0.45-0.rhel4.i386.rpm 
MySQL-shared-compat-5.0.45-0.rhel4.i386.rpm   < not sure this file is needed
MySQL-devel-community-5.0.45-0.rhel4.i386.rpm   
MySQL-shared-community-5.0.45-0.rhel4.i386.rpm 
MySQL-test-community-5.0.45-0.rhel4.i386.rpm

then i did a

yum localinstall *.rpm  it went away and got 150mb or there abouts other updates to enable MySQL 5 to be installed

1 reboot and edit /etc/my.cnf and # basedir in [mysql.server] ( it prevents mysql server starting)

[mysql.server]
user=mysql
# basedir=/var/lib


next i put phpmyprepaid in /var/www/html/phpmyprepaid

next i went to my browser

http://SERVER_IP/phpmyprepaid/www/install/setup.php

follow the instructions and phpmyprepaid is up and running clean and easy.

hope the above makes sense. the hardest part was upgrading MySQL from 4.x.x to 5.x.x i chose 5.0 and not 5.1 or 6 MySQL Server, it took a little reading and help from google to find the answer as to why MySQL wouldnt start.

Regards

Andrew - SimplyWifi.co.uk

3 (edited by simplywifi 2007-11-22 17:12:55)

Re: Proper howto

further to my install of phpmyprepaid...

I decided i wanted PHP5 installed as phpmyprepaid likes PHP5 apparently . .

i did this on my server console

   yum --enablerepo=centosplus -d 0 search php  # checks for php updates for files installed on my server

   yum --enablerepo=centosplus -y install php     # go away and get 30mb of updates for my system

   yum --enablerepo=centosplus upgrade php*   # < not sure about this line it didnt do anything.

to finish restart httpd and check your php version, mine is now PHP Version 5.1.6

I found the instructions here   http://osdir.com/ml/org.user-groups.linux.glisc/2006-12/msg00010.html