Permission to directory in /var/www

Amrit Pal Pathak amritpalpathak1 at gmail.com
Thu Aug 4 16:34:07 UTC 2011


On Thu, Aug 4, 2011 at 9:20 AM, Jordon Bedwell <jordon at envygeeks.com> wrote:

> On 04/08/11 07:37, Colin Law wrote:
> > On 4 August 2011 13:32, Amrit Pal Pathak <amritpalpathak1 at gmail.com>
> wrote:
> >> On Thu, Aug 4, 2011 at 8:17 AM, Colin Law <clanlaw at googlemail.com>
> wrote:
> >>> On 4 August 2011 13:08, Amrit Pal Pathak <amritpalpathak1 at gmail.com>
> >>> wrote:
> >>> > Fatal error: Call to undefined function mysql_connect() in
> >>> > /var/www/GNDEC-SMS-Service/functions.php on line 13
> >>> > Mysql is installed and database exist there.The
> >>> > funtions.php file  looks like.
> >>> How long did you spend with google before coming back to ask here?
> >>> I hope you are not just seeing an error and immediately asking for
> >>> more help.  That way you will never learn how to sort your own
> >>> problems out.
> >>     I couldn't understand it thats why i ask immediately.
> > So what have you learnt by googling the error message now?  A good
> > search might be call to undefined function mysql_connect ubuntu
> >
> > You may still not be able to solve it yourself but you will be able to
> > say what you have tried and what happened.
> > I don't know the answer myself by the way, but if I had the problem
> > then google would be my first approach and only if I still could not
> > sort it would I ask people to spend their time trying to help me.
>
> The better Google query would be: "php ubuntu undefined mysql_connect"
> Anyways to answer:
>    apt-get install php5-mysql
> Thank you very much sir and all.It worked.I restarted the mysql and apache
> after it and it worked!!
>

-- 
 Thank you !!

 Regards
 Amrit Pal

 amritpalpathak.blogspot.com <http://amritpalpathak.blogspot.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20110804/8fd7ee43/attachment.html>


More information about the ubuntu-users mailing list