Re: PHP4 - Apache2 - MySQL What am I missing *FIXED*

From: Nayyar Ahmed (nayyares_at_gmail.com)
Date: 08/28/04

  • Next message: Victor Munoz: "gallery not showing all photos"
    Date: Sat, 28 Aug 2004 10:00:00 +0530
    To: Michael Satterwhite <michael@weblore.com>, debian-user@lists.debian.org
    
    

    On Fri, 27 Aug 2004 08:41:11 -0500, Michael Satterwhite
    <michael@weblore.com> wrote:
    > -----BEGIN PGP SIGNED MESSAGE-----
    > Hash: SHA1
    >
    > On Friday 27 August 2004 08:25, Michael Satterwhite wrote:
    >
    > I'd like to blame Google, but that wouldn't be fair.
    >
    > I kept going through the pages that referenced this error and found the
    > (obvious) that I hadn't enabled it in php.ini.
    >
    > Sorry about the previous post.
    > - ---Michael

    Hello Michael,
    >
    > > For development purposes, I have Apache2 running on a local machine. MySQL
    > > is running on one of my main machines. The development machine is running
    > > Debian Sarge and PHP4. PHP4 is running fine; pages that don't use database
    > > work perfectly.
    > >
    > > I used apt-get to install php4-mysql. I didn't see any errors during the
    > > install, and I have verified that it is installed.
    > >
    > > When I try to open a web page that has mysql_connect, I get an error

    First Of all i couldnt see the error , you are getting from your apache2 server.

    Now, i am working on a network management system using php4,mysql and apache ,
     i was getting error like it, as i was sending my user name passwd
    through my html form
    and it was not receving by my php4 action script , after an hour hard
    searching i came to know that we have to edit ????php.ini file and
    there an option REGISTER_GLOBAL
    should be turned ON , so that our form variables could be send to php
    script through apache.

    i hope it will help you in debuging your system,
    cheers,

    > > message because I used an undefined function mysql_connect. The same web
    > > page works fine if run on the production machine.
    > >
    > > I've done web searches, but the only real advice I've found is to recompile
    > > php. If that's what's needed, I'll do it, but I'd rather stay within the
    > > structures of Debian.
    > >
    > > Can someone queue me in on what I missed on the MySQL capability install?
    > >
    > > tia
    > > ---Michael
    > -----BEGIN PGP SIGNATURE-----
    > Version: GnuPG v1.2.4 (GNU/Linux)
    >
    > iD8DBQFBLzn/jeziQOokQnARAuj5AJ9+JqGYFaiddM5Zq3M45gejVCUsOACghgwn
    > DO5mxl7yIwu16cyyDxLJbTE=
    > =pYus
    > -----END PGP SIGNATURE-----
    >
    >

    -- 
    Nayyar Ahmad
    Lecturer
    Faculty Of Computer Science,
    Institute Of Management Sciences,
    Hayat Abad Peshawar , Pakistan.
    Office : 92-091-9217404 , 9217452
    Cell     :  92-0333-9139461
    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Victor Munoz: "gallery not showing all photos"

    Relevant Pages

    • Re: PHP Tutorials
      ... >> In this tutorial we assume that your server has activated support for PHP ... install a web server locally (not just Apache). ...
      (comp.lang.php)
    • RE: [PHP] Question before upgrading to 5
      ... We only use php for intranet applications I create, ... so the server is basically dead at nights, which is when I do most of my ... so your going to shut down apache on ... install of apache would allow you to do. ...
      (php.general)
    • Re: [SLE] updating to PHP5
      ... while running PHP 5 for my stuff. ... managed by SuSE staff where you can download latest apache with all ... SLES 9 doesn't need PHP for its default configuration. ... Thus, it seems possible to remove PHP4, install a new Apache instance, PHP5 ...
      (SuSE)
    • RE: Problem with apache, php and mysql after FC4 upgrade: SegmentationFault ...
      ... the config options are that php/apache is seeing for php... ... this will install in the default dirs.... ... i'm curious to know if the rpms for php with FC4 are somehow screwed up... ... > Group apache ...
      (Fedora)
    • Re: php postgres issues
      ... http.config is set up to add the php module ... make install apache13 port ... apache rc script restart ... > presented with a menu to select the options for PHP such as PostgreSQL, GD, ...
      (freebsd-questions)