LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   RHEL4 php4 installed but no zlib,xml, mysql suupport (https://www.linuxquestions.org/questions/programming-9/rhel4-php4-installed-but-no-zlib-xml-mysql-suupport-483381/)

ginda 09-14-2006 04:39 AM

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

Caesar Tjalbo 09-14-2006 07:20 AM

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/

fensen 05-26-2008 03:37 AM

Solved my problem too!
 
This helped me solve my problem too.

Thanks a lot!!!!!


All times are GMT -5. The time now is 11:27 AM.