[LUNI] Epic LAMP Fail
hef at pbrfrat.com
Sun Sep 12 19:15:59 CDT 2010
did you restart apache after changeing the php.ini file and installing
On Sun, Sep 12, 2010 at 6:53 PM, Clyde Forrester
<clydeforrester at gmail.com> wrote:
> I have Ubuntu 9.10, Apache 2, MySQL, PHP 5. But I'm getting errors
> trying to tie it all together.
> gives me: Fatal error: Call to undefined function mysql connect() ...
> I googled up a storm on this one. I have php5-mysql and libmysqlclient.
> There is no php5-mysqli available through the package manager, but I
> think it's irrelevant. I did uncomment the extension=msql.so line, and
> even change it to mysql.so, and reboot. Didn't seem to help.
> I tried other examples, like the one in the O'Reilly book. require
> 'DB.php'; gave me: Warning: require(DB.php) [function.require]: failed
> to open stream: No such file or directory ...
> This should be THE simplest application of THE most common use of Linux
> (web serving) on possibly THE most common distro. Yet it's lookin' at me
> like maybe I got two heads, tryin' to do sumpthin' so radical.
> I'm hoping it's some logical oversight, like when the Hello.c program
> won't compile because they thought that no one would need the header
> files in a standard install.
> Any ideas?
> (Full disclosure: I posted this on chicagolinux a few minutes ago, also.)
> Linux Users Of Northern Illinois (Chicago) - Technical Discussion
More information about the LUNI