I'm new installing/configuring apache2 and php. Here's what I've done thus far, along with my current server set up. I'm very familiar with Solaris/Sun OS.
Solaris 10, PHP version is 5.3.26, Apache version is 2.2.22 and MySQL version is 5.0.67. I've been able to install/configure Apache and MySQL; website works as I would like; created db and started to write SQL. These work fine.
I installed PHP, and it works only via command line. That is, to execute:
<?php echo "Hello World\n" ?>
% php hello.php
... and I get the expected return of "Hello World" (minus the quotes).
/etc/apache2), I added:
DirectoryIndex index.html index.php index.html.var AddType application/x-httd-php .php AddHandler php5-script .php .html .htm.
The line that is causing me consternation is the
LoadModule php5_module modules/libphp5.so (I've also seen examples that use libexec vice modules).
LoadModule line is not commented out in the
httpd.conf file, apache goes into maintenance mode. I have my
LD_LIBRARY_PATH pointed to
What needs to be done to get PHP working with browsers?