[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Installing MySQL, PHP3 and Apache
- From: "Lawrence Sobilo" <lsobilo whitingcorp com>
- To: <redhat-install-list redhat com>
- Subject: Re: Installing MySQL, PHP3 and Apache
- Date: Thu, 05 Aug 1999 13:17:43 -0500
Will the default apache install during the RH 6.0 installation support PHP3? I tried uncommenting the AddModule, LoadModule lines in httpd.conf, and added an extension line in srm.conf. Apache runs, but simply displays a.php3 file, does not execute it.
Larry Sobilo
>>> David Royer <David D Royer-1 tc umn edu> 08/04/99 06:41PM >>>
If you installed things using RPMS, you can get PHP, Apache & MySQL working
together by building your own RPM file, from the source on the redhat CD (I
did it with 6.0...I'm not sure about 5.2). Check out
http://www.php.net/FAQ.php3#3.3 for detailed directions.
If you installed Tarballs, I have found that installing MySQL, Compiling &
installing Apache, then following the PHP installation instructions very
precisely worked best.
You do need to go into the httpd.conf file (I think that's the one) and
enable the 2 mod_php3 statements.
If you need help, or have more questions, let me know.
Dave Royer
At 12:57 PM 8/4/99 -0500, you wrote:
I have RH 5.2 and I have gotten the MySQL and PHP3 installed correctly.
Both work quite well, however; PHP3 code works with Apache 1.3, but when
calling mysql commands, it replies 'Unrecognized command: mysql_connect'.
It seems obvious that I need to recompile Apache with MySQL support. Is
there a line in the apache config I can edit to do the same or is this
requiring a recompile?
TIA;
P. Robie
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com http://archive.redhat.com
To unsubscribe: mail redhat-install-list-request redhat com with
"unsubscribe" as the Subject.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]