ExamNotes.net  -  IT certification portal

ForumsCertResearchTop sitesNewslettersFree email
HomeRegister


Exams Notes
Practice exams
Exam games
Questions by email
Online training
Training videos
College degrees
Boot camps
Book store
Links directory
Tell a friend
For webmasters




General discussions > Public newsgroups > alt.os.linux > configuring php and mysql ?

Show a Printable Version
Email This Page to Someone!
Receive updates to this thread



Author configuring php and mysql ?
paul-new
Guest




Registered: Not Yet
Location:
Country:
State:
Certifications:
Working on:

Total Posts: N/A
configuring php and mysql ?

how to configure php for red hat linxu 8.0 ?

i've installed the web server packages -
apache, php and php manual packages for red hat linux 8.0

however, i can't run any files with extension of .php

as i need to configure php and mysql.

i can't find any documentation on how to configure php to run on apache
's httpd.conf file ?

how do i go about doing that ?



Report this post to a moderator

Old Post 11-20-02 03:24 PM
Reply w/Quote Edit/Delete Message IP: Logged
MM
Guest




Registered: Not Yet
Location:
Country:
State:
Certifications:
Working on:

Total Posts: N/A
Re: configuring php and mysql ?

In article <3ddba281$1_1@news.tm.net.my>, paul-new wrote:
> how to configure php for red hat linxu 8.0 ?
>
> i've installed the web server packages -
> apache, php and php manual packages for red hat linux 8.0
>
> however, i can't run any files with extension of .php
>
> as i need to configure php and mysql.
>
> i can't find any documentation on how to configure php to run on apache
> 's httpd.conf file ?
>
> how do i go about doing that ?


If you've installed the httpd and php packages as supplied by RedHat
then it should all work by default. A common 'problem' people seem to
encounter is when using short opening tags ('<?') instead of full ones
('<?php'). The default setup doesn't allow the short tags. You can,
howver, amend the /etc/php.ini to allow it (the option is
'short_open_tag' - change it from 'Off' to 'On').

--
MM

Report this post to a moderator

Old Post 11-20-02 03:25 PM
Reply w/Quote Edit/Delete Message IP: Logged
David M.
Guest




Registered: Not Yet
Location:
Country:
State:
Certifications:
Working on:

Total Posts: N/A
Re: configuring php and mysql ?


"MM" <R807_T345@hotmail.com> wrote in message
news:UANC9.6051$K46.45371507@news-text.cableinet.net...
> In article <3ddba281$1_1@news.tm.net.my>, paul-new wrote:
> > how to configure php for red hat linxu 8.0 ?
> >
> > i've installed the web server packages -
> > apache, php and php manual packages for red hat linux 8.0
> >
> > however, i can't run any files with extension of .php
> >
> > as i need to configure php and mysql.
> >
> > i can't find any documentation on how to configure php to run on apache
> > 's httpd.conf file ?
> >
> > how do i go about doing that ?

>


More than likely you do not have mysql installed, or if you do, then you
dont have the php-mysql module installed.

php.net
mysql.org

Awesome awesome documentation on these sites.

dm


Report this post to a moderator

Old Post 11-20-02 04:25 PM
Reply w/Quote Edit/Delete Message IP: Logged
Tim Wunder
Guest




Registered: Not Yet
Location:
Country:
State:
Certifications:
Working on:

Total Posts: N/A
Re: configuring php and mysql ?

On 11/20/2002 10:25 AM, someone claiming to be David M. wrote:
> "MM" <R807_T345@hotmail.com> wrote in message
> news:UANC9.6051$K46.45371507@news-text.cableinet.net...
>
>>In article <3ddba281$1_1@news.tm.net.my>, paul-new wrote:
>>
>>>how to configure php for red hat linxu 8.0 ?
>>>
>>>i've installed the web server packages -
>>>apache, php and php manual packages for red hat linux 8.0
>>>
>>>however, i can't run any files with extension of .php
>>>
>>>as i need to configure php and mysql.
>>>
>>>i can't find any documentation on how to configure php to run on apache
>>>'s httpd.conf file ?
>>>
>>>how do i go about doing that ?

>>

>
> More than likely you do not have mysql installed, or if you do, then you
> dont have the php-mysql module installed.
>
> php.net
> mysql.org
>
> Awesome awesome documentation on these sites.
>
> dm
>
>


The php-mysql package needs to be manually installed under RedHat 8, the Package Manager doesn't seem to know about it. IIRC, it's on CD3, mount it, cd to the RPMS direcotry and use 'rpm -Uvh <package name>' to install it. (It might be on CD2, but it's def
inately *not* on CD 1.)

Mysql can be installed from the Package Manager though.

HTH,
Tim


Report this post to a moderator

Old Post 11-20-02 04:25 PM
Reply w/Quote Edit/Delete Message IP: Logged
Joachim Feise
Guest




Registered: Not Yet
Location:
Country:
State:
Certifications:
Working on:

Total Posts: N/A
Re: configuring php and mysql ?

David M. wrote:
> "MM" <R807_T345@hotmail.com> wrote in message
> news:UANC9.6051$K46.45371507@news-text.cableinet.net...
>
>>In article <3ddba281$1_1@news.tm.net.my>, paul-new wrote:
>>
>>>how to configure php for red hat linxu 8.0 ?
>>>
>>>i've installed the web server packages -
>>>apache, php and php manual packages for red hat linux 8.0
>>>
>>>however, i can't run any files with extension of .php
>>>
>>>as i need to configure php and mysql.
>>>
>>>i can't find any documentation on how to configure php to run on apache
>>>'s httpd.conf file ?
>>>
>>>how do i go about doing that ?

>>

>
> More than likely you do not have mysql installed, or if you do, then you
> dont have the php-mysql module installed.



And, of course, you have to add the appropriate directives to your httpd.conf:
LoadModule modules/libphp4.so (if you use DSO)
AddType application/x-httpd-php .php

-Joe

Report this post to a moderator

Old Post 11-20-02 05:24 PM
Reply w/Quote Edit/Delete Message IP: Logged
Steve B.
Guest




Registered: Not Yet
Location:
Country:
State:
Certifications:
Working on:

Total Posts: N/A
Re: configuring php and mysql ?

"paul-new" <paul@hotmail.com> wrote in message
news:3ddba281$1_1@news.tm.net.my...
> how to configure php for red hat linxu 8.0 ?
>
> i've installed the web server packages -
> apache, php and php manual packages for red hat linux 8.0
>
> however, i can't run any files with extension of .php
>
> as i need to configure php and mysql.
>
> i can't find any documentation on how to configure php to run on

apache
> 's httpd.conf file ?
>
> how do i go about doing that ?
>


I feel for you because I just went through the same thing . I do have
it working, but can't say exactly what made it work. I was working on
httpd.conf settings making sure the .php extension was configured and
mySQL lines were uncommented. What is so frustrating is the FAQ's and
Howto's assume you are building all the components from scratch. So
paths are different and the test tools aren't installed with RH 8
rpms.

Steve Barnette


Report this post to a moderator

Old Post 11-20-02 05:24 PM
Reply w/Quote Edit/Delete Message IP: Logged
Derek White
Guest




Registered: Not Yet
Location:
Country:
State:
Certifications:
Working on:

Total Posts: N/A
Re: configuring php and mysql ?

Paul

What kind of error's are you getting (if any).

I know with my RH 7.2 I just had to install the php module.

I know there is a simple configuration somewhere to get the php pages to
recognize, just depending on what the actual problem is.

Derek

paul-new wrote:

> how to configure php for red hat linxu 8.0 ?
>
> i've installed the web server packages -
> apache, php and php manual packages for red hat linux 8.0
>
> however, i can't run any files with extension of .php
>
> as i need to configure php and mysql.
>
> i can't find any documentation on how to configure php to run on apache
> 's httpd.conf file ?
>
> how do i go about doing that ?


Report this post to a moderator

Old Post 11-20-02 06:24 PM
Reply w/Quote Edit/Delete Message IP: Logged
paul-new
Guest




Registered: Not Yet
Location:
Country:
State:
Certifications:
Working on:

Total Posts: N/A
Re: configuring php and mysql ?

thanks.

i went to php.net and gone and followed the advice there.

php is working.

have not tried mysql yet.


"Derek White" <dw.white@verizon.net> wrote in message
news:3DDBD0BD.14305C67@verizon.net...
> Paul
>
> What kind of error's are you getting (if any).
>
> I know with my RH 7.2 I just had to install the php module.
>
> I know there is a simple configuration somewhere to get the php pages to
> recognize, just depending on what the actual problem is.
>
> Derek
>
> paul-new wrote:
>
> > how to configure php for red hat linxu 8.0 ?
> >
> > i've installed the web server packages -
> > apache, php and php manual packages for red hat linux 8.0
> >
> > however, i can't run any files with extension of .php
> >
> > as i need to configure php and mysql.
> >
> > i can't find any documentation on how to configure php to run on apache
> > 's httpd.conf file ?
> >
> > how do i go about doing that ?

>



Report this post to a moderator

Old Post 11-21-02 02:24 AM
Reply w/Quote Edit/Delete Message IP: Logged
All times are GMT.
Post new thread   Post reply


Forum Jump:
Rate This Thread:
Forum Rules:
Who Can Read The Forum? Any registered user or guest.
Who Can Post New Topics? Any registered user.
Who Can Post Replies? Any registered user.
Changes: Messages can be edited by their author.
Posts: HTML code is OFF. Smilies are ON. vB code is ON. [IMG] code is OFF.
 

ExamNotes forum archive


Powered by: vBulletin 2.2.8
Copyright ©2000, Jelsoft Enterprises Limited.

  Free Braindumps | mcse braindumps