<?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: Need Hello World PHP script in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/need-hello-world-php-script/m-p/3493992#M16478</link>
    <description>Have you check to make sure the user has privilege to access the db remotely from another box (assuming you are not hosting mysql on the same server as your webpage).  Here's a quick command to test it:&lt;BR /&gt;mysql -u &lt;USER&gt; -h &lt;HOST&gt; -p &lt;DB&gt;&lt;/DB&gt;&lt;/HOST&gt;&lt;/USER&gt;</description>
    <pubDate>Sun, 27 Feb 2005 19:44:13 GMT</pubDate>
    <dc:creator>K.C. Chan</dc:creator>
    <dc:date>2005-02-27T19:44:13Z</dc:date>
    <item>
      <title>Need Hello World PHP script</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-hello-world-php-script/m-p/3493989#M16475</link>
      <description>I'm trying to setup phpbb which uses php and MySQL. Error message from the phpbb install says my PHP setup doesn't support the database selected. The install splash page says that the database selected must already exist.&lt;BR /&gt;&lt;BR /&gt;I need a simple PHP script that will access MySQL as a test so that I know they are compatible.&lt;BR /&gt;&lt;BR /&gt;I need to create a MySQL database and assign it a password. I'm not sure the MySQL install process did that.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 27 Feb 2005 14:28:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-hello-world-php-script/m-p/3493989#M16475</guid>
      <dc:creator>Vernon Brown_4</dc:creator>
      <dc:date>2005-02-27T14:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: Need Hello World PHP script</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-hello-world-php-script/m-p/3493990#M16476</link>
      <description>below is a code piece which should let you view information/configuration about apache,php,and and db configuration associated with php.&lt;BR /&gt;   phpinfo();&lt;BR /&gt;?&amp;gt;&lt;BR /&gt;&lt;BR /&gt;create a file call info.php, put that field in  a proper directory under apache, access it from the browser and you should see a slew of information you need.&lt;BR /&gt;&lt;BR /&gt;It sounds like a mysql config issue? Installing  mysql by defautl will create a user root and test. The default db are mysql and test. In short I do not think the install process create the db you wanted.</description>
      <pubDate>Sun, 27 Feb 2005 18:56:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-hello-world-php-script/m-p/3493990#M16476</guid>
      <dc:creator>K.C. Chan</dc:creator>
      <dc:date>2005-02-27T18:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: Need Hello World PHP script</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-hello-world-php-script/m-p/3493991#M16477</link>
      <description>Thanks for your response K.C.&lt;BR /&gt;&lt;BR /&gt;I agree it is probably a MySQL config issue; I just don't have it set up correctly. Thanks for the PHP script; I had it from a previous post, though :) &lt;BR /&gt;I'm really looking for something that will tell me if my PHP setup can actually talk to MySQL setup. A script that would store something in a default db (test) and retrieve it would do. I've attempted to write one; so far no joy.&lt;BR /&gt;&lt;BR /&gt;Vern</description>
      <pubDate>Sun, 27 Feb 2005 19:25:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-hello-world-php-script/m-p/3493991#M16477</guid>
      <dc:creator>Vernon Brown_4</dc:creator>
      <dc:date>2005-02-27T19:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: Need Hello World PHP script</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-hello-world-php-script/m-p/3493992#M16478</link>
      <description>Have you check to make sure the user has privilege to access the db remotely from another box (assuming you are not hosting mysql on the same server as your webpage).  Here's a quick command to test it:&lt;BR /&gt;mysql -u &lt;USER&gt; -h &lt;HOST&gt; -p &lt;DB&gt;&lt;/DB&gt;&lt;/HOST&gt;&lt;/USER&gt;</description>
      <pubDate>Sun, 27 Feb 2005 19:44:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-hello-world-php-script/m-p/3493992#M16478</guid>
      <dc:creator>K.C. Chan</dc:creator>
      <dc:date>2005-02-27T19:44:13Z</dc:date>
    </item>
    <item>
      <title>Re: Need Hello World PHP script</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-hello-world-php-script/m-p/3493993#M16479</link>
      <description>Hi,Brown,&lt;BR /&gt;&lt;BR /&gt;Try following PHP script&lt;BR /&gt;mysql_connect('localhost','username','password') or die ('can't connect mysqld');&lt;BR /&gt;mysql_select_db('yourdb') or die ('can't connect db');&lt;BR /&gt;?&amp;gt;&lt;BR /&gt;&lt;BR /&gt;PHP and mysql are working,if nothing display.&lt;BR /&gt;&lt;BR /&gt;NiCK</description>
      <pubDate>Sun, 27 Feb 2005 22:28:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-hello-world-php-script/m-p/3493993#M16479</guid>
      <dc:creator>NiCK_76</dc:creator>
      <dc:date>2005-02-27T22:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: Need Hello World PHP script</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-hello-world-php-script/m-p/3493994#M16480</link>
      <description>Thanks guys !!&lt;BR /&gt;&lt;BR /&gt;Exactly what I needed.</description>
      <pubDate>Mon, 28 Feb 2005 07:26:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-hello-world-php-script/m-p/3493994#M16480</guid>
      <dc:creator>Vernon Brown_4</dc:creator>
      <dc:date>2005-02-28T07:26:10Z</dc:date>
    </item>
  </channel>
</rss>

