<?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: LAMP php5 in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/lamp-php5/m-p/3547862#M70368</link>
    <description>&lt;BR /&gt;that shows that mysql is not linked in your new system.&lt;BR /&gt;&lt;BR /&gt;how did you create this new machine, did you do everything from scratch(installation of Apache, mysql and php) or you just copied from running machine.&lt;BR /&gt;&lt;BR /&gt;if the first case then it means you probably missed to add mysql extension when you compiled php. since you have copied php.ini from working machine it will have correct entry but php will try to locate mysql.so and can not locate it. if i am correct, phpinfo gives the exact command line of how php was compiled. Do the same way in the new machine also to get the php with same configuration as working machine&lt;BR /&gt;&lt;BR /&gt;if the second case then you proabaly missed copying some files from running machine. try to find all *mysql* from working machine, compare the list and copy the files which are missed out on the new system&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Gopi</description>
    <pubDate>Thu, 19 May 2005 09:00:32 GMT</pubDate>
    <dc:creator>Gopi Sekar</dc:creator>
    <dc:date>2005-05-19T09:00:32Z</dc:date>
    <item>
      <title>LAMP php5</title>
      <link>https://community.hpe.com/t5/operating-system-linux/lamp-php5/m-p/3547858#M70364</link>
      <description>I have a new installation of Linux, Apache 1.3, mysql 4.0.1 and php 5.0.3 except that php appears not to be picking up the mysql functions.&lt;BR /&gt;I think the modules are all in the right places.&lt;BR /&gt;php.ini is copied from a working system with the same components.&lt;BR /&gt;But on the new system I get:&lt;BR /&gt;"Fatal error. Call to undefined function mysql_connect..."&lt;BR /&gt;Can anyone fix this?&lt;BR /&gt;Thanks</description>
      <pubDate>Thu, 19 May 2005 06:49:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/lamp-php5/m-p/3547858#M70364</guid>
      <dc:creator>David_910</dc:creator>
      <dc:date>2005-05-19T06:49:34Z</dc:date>
    </item>
    <item>
      <title>Re: LAMP php5</title>
      <link>https://community.hpe.com/t5/operating-system-linux/lamp-php5/m-p/3547859#M70365</link>
      <description>&lt;BR /&gt;looks like you dont have mysql plugin libraries for PHP. &lt;BR /&gt;&lt;BR /&gt;if you have installed it from RedHat, then there should be an rpm by name php-mysql* install that rpm then you should be able to use that function.&lt;BR /&gt;&lt;BR /&gt;if you have compiled your own version of php, then you may have to recompile php with mysql option. check the configure option in php to find out how to do this.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Gopi</description>
      <pubDate>Thu, 19 May 2005 07:12:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/lamp-php5/m-p/3547859#M70365</guid>
      <dc:creator>Gopi Sekar</dc:creator>
      <dc:date>2005-05-19T07:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: LAMP php5</title>
      <link>https://community.hpe.com/t5/operating-system-linux/lamp-php5/m-p/3547860#M70366</link>
      <description>Apache 1.3 + MySQL 4.0 + PHP 5? No RH distro comes with these. &lt;BR /&gt;&lt;BR /&gt;As of RH8, all RH boxes ship with Apache 2, and to this day only ship with MySQL 3 and PHP 4.&lt;BR /&gt;&lt;BR /&gt;In any case, Gopi is right.  It looks like whoever set this system up needs to go back and re-compile PHP, making sure it finds the MySQL libraries, and compiles them in.&lt;BR /&gt;&lt;BR /&gt;If this was done, as a module/extension, the 'php.ini' needs to have 'extesion=mysql.so' included too.</description>
      <pubDate>Thu, 19 May 2005 08:11:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/lamp-php5/m-p/3547860#M70366</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2005-05-19T08:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: LAMP php5</title>
      <link>https://community.hpe.com/t5/operating-system-linux/lamp-php5/m-p/3547861#M70367</link>
      <description>Thanks for such prompt replies&lt;BR /&gt;&lt;BR /&gt;More info:&lt;BR /&gt;&lt;BR /&gt;-&amp;gt;Not RH but Debian&lt;BR /&gt;-&amp;gt;I'm trying to clone a working system which has:&lt;BR /&gt;&lt;BR /&gt;Apache 1.3&lt;BR /&gt;mysql 4&lt;BR /&gt;php5&lt;BR /&gt;&lt;BR /&gt;all working happily.&lt;BR /&gt;&lt;BR /&gt;-&amp;gt;extension=mysql.so&lt;BR /&gt;&lt;BR /&gt;is in php.ini because the new machine has copied the old's php.ini&lt;BR /&gt;&lt;BR /&gt;When I run php.info on the old machine I get a mysql section.&lt;BR /&gt;&lt;BR /&gt;When I run php.info on the old machine I get no mysql section.&lt;BR /&gt;&lt;BR /&gt;Thanks again&lt;BR /&gt;&lt;BR /&gt;Dave</description>
      <pubDate>Thu, 19 May 2005 08:46:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/lamp-php5/m-p/3547861#M70367</guid>
      <dc:creator>David_910</dc:creator>
      <dc:date>2005-05-19T08:46:51Z</dc:date>
    </item>
    <item>
      <title>Re: LAMP php5</title>
      <link>https://community.hpe.com/t5/operating-system-linux/lamp-php5/m-p/3547862#M70368</link>
      <description>&lt;BR /&gt;that shows that mysql is not linked in your new system.&lt;BR /&gt;&lt;BR /&gt;how did you create this new machine, did you do everything from scratch(installation of Apache, mysql and php) or you just copied from running machine.&lt;BR /&gt;&lt;BR /&gt;if the first case then it means you probably missed to add mysql extension when you compiled php. since you have copied php.ini from working machine it will have correct entry but php will try to locate mysql.so and can not locate it. if i am correct, phpinfo gives the exact command line of how php was compiled. Do the same way in the new machine also to get the php with same configuration as working machine&lt;BR /&gt;&lt;BR /&gt;if the second case then you proabaly missed copying some files from running machine. try to find all *mysql* from working machine, compare the list and copy the files which are missed out on the new system&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Gopi</description>
      <pubDate>Thu, 19 May 2005 09:00:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/lamp-php5/m-p/3547862#M70368</guid>
      <dc:creator>Gopi Sekar</dc:creator>
      <dc:date>2005-05-19T09:00:32Z</dc:date>
    </item>
    <item>
      <title>Re: LAMP php5</title>
      <link>https://community.hpe.com/t5/operating-system-linux/lamp-php5/m-p/3547863#M70369</link>
      <description>.. /usr/lib/php*/ ..&lt;BR /&gt;&lt;BR /&gt;that's where the modules/extensions live.&lt;BR /&gt;&lt;BR /&gt;What do the HTTP error_log's say about the start-up of apache?&lt;BR /&gt;&lt;BR /&gt;Or are you using PHP as a CGI, not as an apache module?</description>
      <pubDate>Thu, 19 May 2005 09:29:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/lamp-php5/m-p/3547863#M70369</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2005-05-19T09:29:38Z</dc:date>
    </item>
  </channel>
</rss>

