I have installed RHEl-4 As .After  that i have installed apachce2.10,php5.26.mysql-5.45 .All the installations are done from tar ball installations.
after installation when starting the apache its giving error as follows
root@bg1ws0085 ~]#  /usr/local/apache2/bin/apachectl start
httpd: Syntax error on line 53 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/local/apache2/modules/ into server: /usr/local/apache2/modules/ undefined symbol: mysql_module_entry
. I am not getting the tings correctly.
I have to integrate php apache and mysql how to do that .how to rectify this error
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

for php and mysql you need to install

yun install php-mysql    

then from php.ini you need to enable extenstion

i always try to install php , mysql and apache by yum it never give me any problem.

can you not try to install php by yum ??

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
I second that, try the Redhat-delivered packages first before using some tarballs. They are tested for your
system and should probably work out of the box. I don't believe you ned the latest versions, security updates are ported back into the Redhat-Packages...

krishguddAuthor Commented:

I installed those softwares by tar ball installation.Tell me how can i change settings so that all three will be integrated.
Acronis True Image 2019 just released!

Create a reliable backup. Make sure you always have dependable copies of your data so you can restore your entire system or individual files.

First, if you installed all those tarballs, I would reinstall the system because cleaning up this mess will be
difficult and probably not complete.
When you reinstall, you should be able to select this as part of the installation (LAMP system, Webserver or single selection of those packages)

If you don#t want to reinstall, you could try to clean up the mess either by having uninstall scripts or by hand and after that use the command system-config-packages to install the packages. You need
 X for this.

But for you expertise, I belive a clean reinstall would be the best.

ok in your php.ini file have you insert this line

AddType application/x-httpd-php .php
try to have a look this tutorial, and say you have done all thig things
when you installed php the ./configure line has an option to allow for the building of the apache module or not, if you didnt use that option then no module was created.

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.