Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'apache and php and mysql' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
apache and php and mysql
Authored by: aalegado on Apr 02, '01 01:32:53AM

For my Linux boxen I've used a tutorial found at:

http://www.devshed.com/Server_Side/PHP/SoothinglySeamless/

This tutorial integrates MySQL, PHP, Apache, and OpenSSL. I was able to modify the procedure to include mod_perl support as well. However, the tutorial as written doesn't work under Darwin/Mac OS X. Among other things, the PHP portion ends with errors after the 'make install' and OpenSSL won't compile under Darwin.

The MySQL part can DEFINITELY shed some light on that part of the process. I nipped out the OpenSSL stuff and tried to do a basic MySQL/PHP/Apache install but the PHP errors persist. I've only spent one afternoon at it so a solution may still be available.

The important thing about achieving it this way is that 1) it's built from sources, and 2) it integrates all three applications. I'd like to build it this way so that my OS X installation matches my production Linux installation feature-for-feature and directory-for-directory.

The "canned" MySQL and PHP maybe be do-able but do they work together?

I was able to compile MySQL and it works but I've yet to test it against the Olav PHP package. I'll try installing PHPNuke and see what happens. PHPNuke is a combination portal/discussion board that uses PHP and MySQL to build an interactive site not unlike SlashDot or GeekLog. If that works then no further research is required.



[ Reply to This | # ]
integration
Authored by: robg on Apr 02, '01 01:42:37AM

I have Olav's PHP package (from the archive) running on Apache with mySQL that I compiled from source (see how-to elsewhere on the site). They're working great together; I made a start page that lets me pick from phpBB, geeklog, phpNuke, phpMyAdmin, and phpWebSite (all packages that I'm experimenting with, and that use PHP and mySQL).

They all work exactly as expected!

-rob.



[ Reply to This | # ]