Matt Broughton wrote:
Ok, I've emerged Apache, PHP, mod_php, and mod_ssl and installed them exactly like the how-to on gentoos website states.  Apache is working nicely, but only with HTML documents.  It refuses to parse the PHP docs and does not start SSL either. 

Ok. On the php documents. Does it actually show you the php document source code? (This would imply that it is not an file access issue). Does the log indicate that the mod_php*.so was loaded with no errors? Do you have PHP4 and SSL enabled in the /etc/conf.d/apache file?


Anyone have this problem?  Also, once I get that working, how do I get MySQL to work with it?  I've got mysql installed and working nicely...just dont know if i need to put anything in the apache config files.

When you get the apache server to use mod_php, create a page called test.php (or something) that just contains
<?php  phpinfo(); ?>

When you look at this in a browser, if there is a section for MySQL, then you have everything you need to access the SQL server and make web-pages. I would then direct you to http://www.php.net, and the documentation link for the function reference and usage.

Steve Ringwald

Reply via email to