<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: PHP Problem... in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/php-problem/m-p/2995357#M913680</link>
    <description>Looks like it is displaying the code , rather than parsing and executing it.&lt;BR /&gt;&lt;BR /&gt;I think you need to tell apache that .php files are supposed to be executed.&lt;BR /&gt;&lt;BR /&gt;Do you have mod.php installed ? Maybe you need php-mysql as well ?&lt;BR /&gt;&lt;BR /&gt;Rgds Jarle&lt;BR /&gt;</description>
    <pubDate>Thu, 12 Jun 2003 05:18:16 GMT</pubDate>
    <dc:creator>Jarle Bjorgeengen</dc:creator>
    <dc:date>2003-06-12T05:18:16Z</dc:date>
    <item>
      <title>PHP Problem...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/php-problem/m-p/2995356#M913679</link>
      <description>when I brows the php file (Apache web server) (http://weseia:8080/WES/index.php)I get this error&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;set_startallopen (true); $root = $tree-&amp;gt;open_tree ("WES", ""); $cnt=0; $query = "select distinct cat_id,cat_desc from hp_categories order by cat_id"; $result = mysql_query ($query) or die ("select Query failed"); while($line = mysql_fetch_array($result)){ $cnt++; $folder = $tree-&amp;gt;add_folder ($root, $line[1],""); $link_query = "select distinct link_url,link_desc,shared_folder from hp_links where cat_id=%d order by link_desc"; $link_query = sprintf($link_query,$line[0]); $link_result = mysql_query ($link_query) or die ("select Query failed"); while($link_line = mysql_fetch_array($link_result)){ $tree-&amp;gt;add_document ($folder, $link_line[1], $link_line[0],""); }//end of inner while loop }//end of outer most while loop $tree-&amp;gt;close_tree ( ); } ?&amp;gt; &lt;BR /&gt;&lt;BR /&gt;how can i get rid of this? &lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Shashi.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 12 Jun 2003 05:08:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/php-problem/m-p/2995356#M913679</guid>
      <dc:creator>Shashi Kiran_1</dc:creator>
      <dc:date>2003-06-12T05:08:57Z</dc:date>
    </item>
    <item>
      <title>Re: PHP Problem...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/php-problem/m-p/2995357#M913680</link>
      <description>Looks like it is displaying the code , rather than parsing and executing it.&lt;BR /&gt;&lt;BR /&gt;I think you need to tell apache that .php files are supposed to be executed.&lt;BR /&gt;&lt;BR /&gt;Do you have mod.php installed ? Maybe you need php-mysql as well ?&lt;BR /&gt;&lt;BR /&gt;Rgds Jarle&lt;BR /&gt;</description>
      <pubDate>Thu, 12 Jun 2003 05:18:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/php-problem/m-p/2995357#M913680</guid>
      <dc:creator>Jarle Bjorgeengen</dc:creator>
      <dc:date>2003-06-12T05:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: PHP Problem...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/php-problem/m-p/2995358#M913681</link>
      <description>Hi,&lt;BR /&gt;You could check in php.ini (usr/local/lib) :&lt;BR /&gt;short_open_tag = On &lt;BR /&gt;Try this script to see if php is configured &amp;amp; loaded with apache :&lt;BR /&gt;info.php:&lt;BR /&gt;phpinfo();&lt;BR /&gt;?php&amp;gt;&lt;BR /&gt;place it in your apache tree, call it from your browser. &lt;BR /&gt;You can also check that php handler is properly defined in httpd.conf.&lt;BR /&gt;ANd last but not least, check if php is included in httpd or loaded...&lt;BR /&gt;hth&lt;BR /&gt;Benoit</description>
      <pubDate>Fri, 13 Jun 2003 09:44:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/php-problem/m-p/2995358#M913681</guid>
      <dc:creator>benoit Bruckert</dc:creator>
      <dc:date>2003-06-13T09:44:41Z</dc:date>
    </item>
  </channel>
</rss>

