PHP is easy to install as a RPM (requires apache was installed as a rpm) or from source. If you build it from source, you can compile it as a apache module and as long as your apache was configured with DSO support then you can plug php into it. you can also configure PHP directly into apache, this requires that you recompile apache. If you benchmark the two the later will be faster, now if it's noticable, I don't know.
Once you download the PHP source the install doc has good directions on how to compile apache and php. But like Brian keeps saying, it shouldn't be too difficult to add mysql hooks into you perl app. On Sat, 2002-01-12 at 21:20, Jake McHenry wrote: > Ok, I have DBI-perl-bin installed, from a rpm, if that helps. And, yes, all > connections are denied unless you specify the -u user and -p option. So that > is good. > > If it would be easier to use PHP, what do I have to do to get that up and > running? Difficult? I know that's going to take a little time to learn, but > no biggie. Are there RPMS that I download for PHP, or do I have to recompile > apache, again? :) > > Thanks for the help, > Jake > > > ----- Original Message ----- > From: "Brian Ashe" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Saturday, January 12, 2002 8:54 PM > Subject: Re: MySQL > > > > Jake, > > > > On Saturday 12 January 2002 08:24, you babbled something about: > > > Hello everyone. I am kinda disturbed about what my boss wants me to do. > I > > > have spent the past 6 months creating a web-based database all with perl > > > scripts. It works great! But he now want's me to convert it to MySQL. I > > > have MySQL installed, up and running. I can connect to it from the local > > > machine. > > > > > > The problem is, what do I do now? I've read articles on using MySQL and > PHP > > > together for web access, but I don't have PHP installed. How else can I > > > access the database? Say maybe using perl? > > > > Well, I think PHP would be better, but not after you have already done so > > much work. ;) > > > > You should look into the DBI:DBD modules for Perl. They will get you > > connected to just about any RDBMS you might need to. Quite easy to learn > and > > use. > > > > > Also, something else, maybe this is supposed to happen, when I type in > the > > > address, then the port for MySQL, it gives me this .. > > > > > > LÿjHost 'winxp.ministang.com' is not allowed to connect to this MySQL > > > server > > > > > > Is this supposed to happen? I think it is, because it doesn't have a web > > > server built in, right? > > > > Are you saying that you are putting this into your web browser? > > Then, yeah, that wont work. > > The webserver will pass it off to your CGI's then that will connect to the > DB > > backend. > > MySQL was also rejecting you because it should be configured to reject > > everything except localhost by default. This wont cause you problems > though. > > You don't really want anyone else connecting directly to your MySQL server > > (except in certain circumstances, that are not likely what you are dealing > > with). > > > > -- > > Brian Ashe CTO > > Dee-Web Software Services, LLC. [EMAIL PROTECTED] > > > > > > > > _______________________________________________ > > Redhat-list mailing list > > [EMAIL PROTECTED] > > https://listman.redhat.com/mailman/listinfo/redhat-list > > > > > > > > > _______________________________________________ > Redhat-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/redhat-list -- Jeff Bearer, RHCE Webmaster PittsburghLIVE.com _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list