<html><div style='background-color:'><DIV class=RTE>
<P><BR>Hi Manish</P>
<P>&nbsp;</P>
<P>be sure&nbsp;you have this line :</P>
<P>&nbsp;</P><FONT size=2>
<P>AddType application/x-httpd-php .php</P>
<P>I followed the instructions on this web and everything worked fine:</P>
<P>&nbsp;</P>
<P><A href="http://www.learning-solaris.com/index.php/php-for-apache2-on-solaris-10/">http://www.learning-solaris.com/index.php/php-for-apache2-on-solaris-10/</A></P>
<P>&nbsp;</P>
<P>&nbsp;</P>
<P>Good Luck :)!</P>
<P>&nbsp;</P>
<P>Mauricio Cerna</FONT><BR></P></DIV>
<DIV></DIV>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #a0c6e5 2px solid; MARGIN-RIGHT: 0px"><FONT style="FONT-SIZE: 11px; FONT-FAMILY: tahoma,sans-serif">
<HR color=#a0c6e5 SIZE=1>

<DIV></DIV>From:&nbsp;&nbsp;<I>"Manish Agrawal" &lt;magrawal@coba.usf.edu&gt;</I><BR>Reply-To:&nbsp;&nbsp;<I>questions and discussions &lt;users@lists.blastwave.org&gt;</I><BR>To:&nbsp;&nbsp;<I>"questions and discussions" &lt;users@lists.blastwave.org&gt;</I><BR>Subject:&nbsp;&nbsp;<I>Re: [csw-users] Apache/php issue</I><BR>Date:&nbsp;&nbsp;<I>Fri, 07 Sep 2007 11:55:51 -0400</I><BR>&gt;You also need the ap2_modphp5 package - I think it will do the integration of php into apache<BR>&gt;<BR>&gt;Manish<BR>&gt;<BR>&gt;<BR>&gt;On Tue, 31 Jul 2007 13:15:25 -0400, Jeremy Wakeman &lt;jwakeman@coe.drexel.edu&gt; wrote:<BR>&gt;<BR>&gt; &gt; Hi all,<BR>&gt; &gt;<BR>&gt; &gt; I've got apache 2.2.4 and php 5.2.1 installed on my sun server (5.10).&nbsp;&nbsp;I<BR>&gt; &gt; can't seem to get php scripts to work correctly on the server.&nbsp;&nbsp;I've tried a<BR>&gt; &gt; few different settings in the 
httpd.conf file (since several howto/help<BR>&gt; &gt; sites have conflicting info), but I believe I now have it configured<BR>&gt; &gt; correctly.<BR>&gt; &gt;<BR>&gt; &gt; The script I'm using to test php is here:<BR>&gt; &gt; http://webmail.ece.drexel.edu/test.php&nbsp;&nbsp;It just runs phpinfo(), but even<BR>&gt; &gt; that simple script isn't working.<BR>&gt; &gt;<BR>&gt; &gt; I'll stick a bunch of my httpd checks and excerpts from the config file.<BR>&gt; &gt;<BR>&gt; &gt; BTW, one of the websites I found mentioned that php files should have<BR>&gt; &gt; content-type headers of text/plain.&nbsp;&nbsp;Is that correct (that's what I've got,<BR>&gt; &gt; now)?<BR>&gt; &gt;<BR>&gt; &gt; Any suggestions would be appreciated.<BR>&gt; &gt;<BR>&gt; &gt; -Jeremy Wakeman<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt; /opt/csw/apache2/sbin/httpd -t<BR>&gt; &gt; Syntax OK<BR>&gt; &gt;<BR>&gt; 
&gt;<BR>&gt; &gt; /opt/csw/apache2/sbin/httpd -v<BR>&gt; &gt; Server version: Apache/2.2.4 (Unix)<BR>&gt; &gt; Server built:&nbsp;&nbsp; Feb 19 2007 00:20:08<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt; /opt/csw/apache2/sbin/httpd -V<BR>&gt; &gt; Server version: Apache/2.2.4 (Unix)<BR>&gt; &gt; Server built:&nbsp;&nbsp; Feb 19 2007 00:20:08<BR>&gt; &gt; Server's Module Magic Number: 20051115:4<BR>&gt; &gt; Server loaded:&nbsp;&nbsp;APR 1.2.8, APR-Util 1.2.8<BR>&gt; &gt; Compiled using: APR 1.2.8, APR-Util 1.2.8<BR>&gt; &gt; Architecture:&nbsp;&nbsp; 32-bit<BR>&gt; &gt; Server MPM:&nbsp;&nbsp;&nbsp;&nbsp; Prefork<BR>&gt; &gt;&nbsp;&nbsp; threaded:&nbsp;&nbsp;&nbsp;&nbsp; no<BR>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; forked:&nbsp;&nbsp;&nbsp;&nbsp; yes (variable process count)<BR>&gt; &gt; Server compiled with....<BR>&gt; &gt;&nbsp;&nbsp;-D APACHE_MPM_DIR="server/mpm/prefork"<BR>&gt; 
&gt;&nbsp;&nbsp;-D APR_HAS_SENDFILE<BR>&gt; &gt;&nbsp;&nbsp;-D APR_HAS_MMAP<BR>&gt; &gt;&nbsp;&nbsp;-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)<BR>&gt; &gt;&nbsp;&nbsp;-D APR_USE_FCNTL_SERIALIZE<BR>&gt; &gt;&nbsp;&nbsp;-D APR_USE_PTHREAD_SERIALIZE<BR>&gt; &gt;&nbsp;&nbsp;-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT<BR>&gt; &gt;&nbsp;&nbsp;-D APR_HAS_OTHER_CHILD<BR>&gt; &gt;&nbsp;&nbsp;-D AP_HAVE_RELIABLE_PIPED_LOGS<BR>&gt; &gt;&nbsp;&nbsp;-D DYNAMIC_MODULE_LIMIT=128<BR>&gt; &gt;&nbsp;&nbsp;-D HTTPD_ROOT="/opt/csw/apache2"<BR>&gt; &gt;&nbsp;&nbsp;-D SUEXEC_BIN="/opt/csw/apache2/sbin/suexec"<BR>&gt; &gt;&nbsp;&nbsp;-D DEFAULT_PIDLOG="/var/run/httpd.pid"<BR>&gt; &gt;&nbsp;&nbsp;-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"<BR>&gt; &gt;&nbsp;&nbsp;-D DEFAULT_LOCKFILE="/var/run/accept.lock"<BR>&gt; &gt;&nbsp;&nbsp;-D DEFAULT_ERRORLOG="logs/error_log"<BR>&gt; &gt;&nbsp;&nbsp;-D 
AP_TYPES_CONFIG_FILE="etc/mime.types"<BR>&gt; &gt;&nbsp;&nbsp;-D SERVER_CONFIG_FILE="etc/httpd.conf"<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt; /opt/csw/apache2/sbin/httpd -S<BR>&gt; &gt; VirtualHost configuration:<BR>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;default server portal.ece.drexel.edu<BR>&gt; &gt; (/opt/csw/apache2/etc/includes/portal.ece.drexel.edu.conf:1)<BR>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;port 80 namevhost portal.ece.drexel.edu<BR>&gt; &gt; (/opt/csw/apache2/etc/includes/portal.ece.drexel.edu.conf:1)<BR>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;port 80 namevhost webmail.ece.drexel.edu<BR>&gt; &gt; (/opt/csw/apache2/etc/includes/webmail.ece.drexel.edu.conf:1)<BR>&gt; &gt; Syntax OK<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt; /opt/csw/apache2/sbin/httpd -M<BR>&gt; &gt; Loaded Modules:<BR>&gt; 
&gt;&nbsp;&nbsp;core_module (static)<BR>&gt; &gt;&nbsp;&nbsp;mpm_prefork_module (static)<BR>&gt; &gt;&nbsp;&nbsp;http_module (static)<BR>&gt; &gt;&nbsp;&nbsp;so_module (static)<BR>&gt; &gt;&nbsp;&nbsp;authn_file_module (shared)<BR>&gt; &gt;&nbsp;&nbsp;authn_dbm_module (shared)<BR>&gt; &gt;&nbsp;&nbsp;authn_anon_module (shared)<BR>&gt; &gt;&nbsp;&nbsp;authn_default_module (shared)<BR>&gt; &gt;&nbsp;&nbsp;authn_alias_module (shared)<BR>&gt; &gt;&nbsp;&nbsp;authz_host_module (shared)<BR>&gt; &gt;&nbsp;&nbsp;authz_groupfile_module (shared)<BR>&gt; &gt;&nbsp;&nbsp;authz_user_module (shared)<BR>&gt; &gt;&nbsp;&nbsp;authz_dbm_module (shared)<BR>&gt; &gt;&nbsp;&nbsp;authz_owner_module (shared)<BR>&gt; &gt;&nbsp;&nbsp;authnz_ldap_module (shared)<BR>&gt; &gt;&nbsp;&nbsp;authz_default_module (shared)<BR>&gt; &gt;&nbsp;&nbsp;auth_basic_module (shared)<BR>&gt; &gt;&nbsp;&nbsp;auth_digest_module 
(shared)<BR>&gt; &gt;&nbsp;&nbsp;include_module (shared)<BR>&gt; &gt;&nbsp;&nbsp;deflate_module (shared)<BR>&gt; &gt;&nbsp;&nbsp;ldap_module (shared)<BR>&gt; &gt;&nbsp;&nbsp;log_config_module (shared)<BR>&gt; &gt;&nbsp;&nbsp;env_module (shared)<BR>&gt; &gt;&nbsp;&nbsp;mime_magic_module (shared)<BR>&gt; &gt;&nbsp;&nbsp;expires_module (shared)<BR>&gt; &gt;&nbsp;&nbsp;headers_module (shared)<BR>&gt; &gt;&nbsp;&nbsp;setenvif_module (shared)<BR>&gt; &gt;&nbsp;&nbsp;mime_module (shared)<BR>&gt; &gt;&nbsp;&nbsp;status_module (shared)<BR>&gt; &gt;&nbsp;&nbsp;autoindex_module (shared)<BR>&gt; &gt;&nbsp;&nbsp;info_module (shared)<BR>&gt; &gt;&nbsp;&nbsp;cgi_module (shared)<BR>&gt; &gt;&nbsp;&nbsp;negotiation_module (shared)<BR>&gt; &gt;&nbsp;&nbsp;dir_module (shared)<BR>&gt; &gt;&nbsp;&nbsp;actions_module (shared)<BR>&gt; &gt;&nbsp;&nbsp;userdir_module (shared)<BR>&gt; &gt;&nbsp;&nbsp;alias_module 
(shared)<BR>&gt; &gt;&nbsp;&nbsp;rewrite_module (shared)<BR>&gt; &gt;&nbsp;&nbsp;php5_module (shared)<BR>&gt; &gt; Syntax OK<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt; # This is the main Apache HTTP server configuration file.&nbsp;&nbsp;It contains the<BR>&gt; &gt; # configuration directives that give the server its instructions.<BR>&gt; &gt; # See &lt;URL:http://httpd.apache.org/docs/2.2&gt; for detailed information.<BR>&gt; &gt; # In particular, see<BR>&gt; &gt; # &lt;URL:http://httpd.apache.org/docs/2.2/mod/directives.html&gt;<BR>&gt; &gt; # for a discussion of each configuration directive.<BR>&gt; &gt;<BR>&gt; &gt; &lt;snip&gt;<BR>&gt; &gt;<BR>&gt; &gt; &lt;IfModule dir_module&gt;<BR>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; DirectoryIndex index.pl index.html awstats.pl index.php<BR>&gt; &gt; &lt;/IfModule&gt;<BR>&gt; &gt;<BR>&gt; &gt; &lt;snip&gt;<BR>&gt; &gt;<BR>&gt; &gt; # php stuff<BR>&gt; 
&gt;<BR>&gt; &gt; LoadModule&nbsp;&nbsp;&nbsp;&nbsp;php5_module&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;libexec/libphp5.so<BR>&gt; &gt; Addhandler&nbsp;&nbsp;&nbsp;&nbsp;application/x-httpd-php&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.php<BR>&gt; &gt;<BR>&gt; &gt; &lt;snip&gt;<BR>&gt; &gt;<BR>&gt; &gt; &lt;VirtualHost *:80&gt;<BR>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; ServerAlias webmail.ece.drexel.edu<BR>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; ServerAlias webmail.coe.drexel.edu<BR>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; ServerName webmail.ece.drexel.edu<BR>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; ScriptAlias /cgi/ "/web/webmail/cgi/"<BR>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; DirectoryIndex index.php<BR>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DocumentRoot /web/webmail<BR>&gt; 
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TransferLog /var/log/http/webmail/access_log<BR>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ErrorLog /var/log/http/webmail/error_log<BR>&gt; &gt; &lt;/VirtualHost&gt;<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt; _______________________________________________<BR>&gt; &gt; users mailing list<BR>&gt; &gt; users@lists.blastwave.org<BR>&gt; &gt; https://lists.blastwave.org/mailman/listinfo/users<BR>&gt; &gt;<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt;--<BR>&gt;Manish Agrawal<BR>&gt;Asstt. Prof., Dept. of ISDS, Univ. of South Florida<BR>&gt;4202 E. Fowler Ave., CIS 1040, Tampa, Fl 33620 - 7800, U.S.A.<BR>&gt;<?XML:NAMESPACE PREFIX = SKYPE /><SKYPE:SPAN onmouseup="javascript:skype_tb_imgOnOff(this,1,'0',true,16,'');return skype_tb_stopEvents();" class=skype_tb_injection oncontextmenu="javascript:skype_tb_SwitchDrop(this,'0','sms=0');return 
skype_tb_stopEvents();" onmousedown="javascript:skype_tb_imgOnOff(this,2,'0',true,16,'');return skype_tb_stopEvents();" id=softomate_highlight_0 onmouseover="javascript:skype_tb_imgOnOff(this,1,'0',true,16,'');" title="Call this phone number in United States of America with Skype: +18139746716" onclick="javascript:doRunCMD('call','0',null,0);return skype_tb_stopEvents();" onmouseout="javascript:skype_tb_imgOnOff(this,0,'0',true,16,'');" durex="0" context="(813)-974-6716"><SKYPE:SPAN onmouseup="javascript:doSkypeFlag(this,'0',1,1,16);return skype_tb_stopEvents();" class=skype_tb_imgA onmousedown="javascript:doSkypeFlag(this,'0',2,1,16);return skype_tb_stopEvents();" id=skype_tb_droppart_0 onmouseover="javascript:doSkypeFlag(this,'0',1,1,16);" title="Change country code ..." style="BACKGROUND-IMAGE: 
url(C:\DOCUME~1\Mario\CONFIG~1\Temp\__SkypeIEToolbar_Cache\caea264d80cf3346d48a96a3762727b1\static\inactive_a.compat.flex.w16.gif)" onclick="javascript:doHandleChdial(this,1,'0',1);return skype_tb_stopEvents();" onmouseout="javascript:doSkypeFlag(this,'0',0,1,16);"><SKYPE:SPAN class=skype_tb_imgFlag id=skype_tb_img_f0 style="BACKGROUND-IMAGE: url(C:\DOCUME~1\Mario\CONFIG~1\Temp\__SkypeIEToolbar_Cache\caea264d80cf3346d48a96a3762727b1\static\famfamfam/US.gif)"></SKYPE:SPAN></SKYPE:SPAN><SKYPE:SPAN class=skype_tb_imgS id=skype_tb_img_s0></SKYPE:SPAN><SKYPE:SPAN class=skype_tb_injectionIn id=skype_tb_text0><SKYPE:SPAN class=skype_tb_innerText id=skype_tb_innerText0>(813)-974-6716</SKYPE:SPAN></SKYPE:SPAN><SKYPE:SPAN class=skype_tb_imgR id=skype_tb_img_r0></SKYPE:SPAN></SKYPE:SPAN> (W) 974-6749 (FAX) 
magrawal@coba.usf.edu<BR>&gt;http://coba.usf.edu/departments/isds/faculty/agrawal/index.html<BR>&gt;--<BR>&gt;_______________________________________________<BR>&gt;users mailing list<BR>&gt;users@lists.blastwave.org<BR>&gt;https://lists.blastwave.org/mailman/listinfo/users<BR></FONT></BLOCKQUOTE></div><br clear=all><hr>Consigue aquí las mejores y mas recientes ofertas de trabajo EE.UU. <a href="http://g.msn.com/8HMAESUS/2737??PS=47575" target="_top">Clic aquí</a> </html>