LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices



Reply
 
Search this Thread
Old 09-14-2006, 05:39 AM   #1
ginda
Member
 
Registered: Mar 2004
Distribution: SUSE8.2, 9.2, Knoppix
Posts: 323

Rep: Reputation: 31
RHEL4 php4 installed but no zlib,xml, mysql suupport


I have a standard install of RHEL4 with php4, apache and mysql.

I have been trying to install a free CMS software. And so far i get the auto installation screen in my web browser.

i have checked /usr/lib/php4/ and have the mysql and ldap files bout no zlib.so???? I am also prompted that i have no xml support. As the Php4 installation was done at the time of the operating system install, it is installed as a rpm. How can i add the xml, zlib, mysql support? preferablly without compiling a new php 4 or 5 install.

Thanks alot guys
 
Old 09-14-2006, 08:20 AM   #2
Caesar Tjalbo
Member
 
Registered: Aug 2006
Location: Enschede, The Netherlands
Distribution: sidux
Posts: 91

Rep: Reputation: 16
Perhaps your CMS has an installation guide on it's site

In the GUI (your window manager) you can look at System Settings > Server Settings > Services and you should find httpd (=Apache 2) and mysqld in the list. You can start/stop/restart the services here too. In order for services to work they need to be started.

If something's not installed:

I'm guessing you don't have yum installed (try on the commandline: yum -h), otherwise you could try
Code:
yum info <package>
which lists the package. If it says "Repo : base" for example then that package is NOT installed or it'll say "Repo : installed". Try httpd, php, mysql.
yum install <package> would install whatever you need.

For up2date (try: up2date -h) you can use: up2date --show-available
That gives you a (long) list of packages NOT installed.
Code:
up2date -i mysql
would install MySQL client, there's also a server: mysql-server
You probably need package php-mysql too.

I don't know about zlib, afaik you can install it with yum or up2date too.
For XML I don't know, seems to me like your browser should handle that but I don't know what you need it for.

Aside: I like yum a lot better than up2date, consider installing yum if you don't have it already.

There are some post-installation/initialization steps you need to do.
- Google on: mysql post installation, you should end up on a site like dev.mysql.com
- Go to http://www.php.net/manual/ and select your language, look at the security section in particular
- Check http://httpd.apache.org/docs/2.0/mis...rity_tips.html

Finally, the CMS should probably be installed in the webserver directory, probably /var/www/html/
 
Old 05-26-2008, 04:37 AM   #3
fensen
LQ Newbie
 
Registered: May 2008
Posts: 1

Rep: Reputation: 0
Solved my problem too!

This helped me solve my problem too.

Thanks a lot!!!!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
php-mysql dependancy problem after nitemare mysql upgrade. RHEL4 andrewc Red Hat 1 01-03-2006 05:16 PM
Unable to find -lz (zlib). RPM is installed...???? dolvmin Linux - Software 3 12-04-2005 12:25 AM
Help loading php4-gd with php4 already installed. (Debian) sdduuuude Linux - Software 3 10-24-2005 06:13 AM
zlib needed but already installed g-string 3 Debian 2 11-25-2004 09:04 AM
php4 mysql, installation, php-pages with mysql info stay empty dnla Linux - Software 2 03-14-2004 03:54 PM


All times are GMT -5. The time now is 04:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration