Hi

I am a linux newbie. I wanted to have a linux box that I can use as a web 
server with Apache, MySQL and PHP 4.0.
I installed RedHat 6.2 from the PC-Quest CD on my AMD K6-III 400MHz, 64 MB 
RAM, 8.4 HDD, ATI 3D Rage Pro Turbo Graphics card system.
I installed Apache 1.2.14 that came with RedHat 6.2
I downloaded the following

mysql-3.22.32-pc-linux-gnu-i686.tar.gz
php-4.0.4.tar.gz

I also found some tutorials on the net to install these software. They asked 
me to untar the sources and run
./configure
make
make install

I faced a problem right away. I untared mysql src and ran ./configure. It 
was over in no time. But, there was NO MAKE FILE. I could not do either make 
or make install. So, I simply untared the src in /usr/local/mysql and ran 
./configure again.

Next, I untared php src and ran
./configure --with-mysql=/usr/local/mysql --with-xml --enable-track-vars
make
make install

It was a breeze, but I could not get it to run properly. So, I ditched the 
sources and downloaded
php-4.0.2-1.i386.rpm. I ran rpm -ivh on that and restarted Apache. Finally, 
I got apache to process php files properly. I played around with it for a 
bit and got bored soon. I wanted to try connecting to mysql.

So, I copied the example in the PHP manual (PHP function reference for 
mysql_connect()). And the script bombed out and said Fatal Error: Call to 
unknown function or something to that effect.
Where did I go wrong? Should I get the RPMs for mysql too and do a total RPM 
installation?
Help me out here please...

Thank You

Srinivasan Ranganathan
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


----------------------------------------------
LIH is all for free speech.  But it was created
for a purpose.  Violations of the rules of
this list will result in stern action.

Reply via email to