From: Adrian M. <Adr...@fi...> - 2001-03-20 15:10:13
|
It places the file in /tmp, but what line to I change or add in the php.ini file to point to that? Here is my php.ini file in case it helps. I am running php version 4.04 on a Redhat 7.0 box with MySql version 3.23. Thanks! **************************************************************************** * ;; EXTENSION LOADING extension_dir = /usr/lib/php4 ;; Global PHP defaults warn_plus_overloading = On track_errors = On track_vars = On magic_quotes_gpc = On include_path = ".:/usr/share/php/PEAR" session.save_path = "/var/state/php" extension=mysql.so **************************************************************************** * Adrian -----Original Message----- From: Joseph Hoot [mailto:jo...@jo...] Sent: Monday, March 19, 2001 8:57 PM To: Adrian Mink Subject: Re: [Phphelpdesk-help] New install problems Adrian, does your MySQL put a file in /var/lib/mysql/mysql.sock? It may put it in /tmp or someplace else. You need to find out where it puts that file and change the location in your php.ini, which is probably located in /usr/local/includes/php.ini or something like that. ----- Original Message ----- From: "Adrian Mink" <Adr...@fi...> To: <php...@li...> Sent: Monday, March 19, 2001 2:03 PM Subject: [Phphelpdesk-help] New install problems > I have just installed phphelpdesk and cannot get past the initial > login page. I try to log in with admin, admin and this is the error message > I get back. > > " Warning: MySQL Connection Failed: Can't connect to local MySQL server > through socket '/var/lib/mysql/mysql.sock' (111) in > /var/www/html/helpdesk/includes/connect.inc.php on line 4 > ERROR: Can not connect to database " > The database is created using the script provided, can someone give > me a clue? Thanks. > > Adrian Mink > > > _______________________________________________ > Phphelpdesk-help mailing list > Php...@li... > http://lists.sourceforge.net/lists/listinfo/phphelpdesk-help > |