[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [NETVAERK] php_mysql



Jacob Bunk Nielsen wrote:
Leif Lende <sslug@sslug> writes:


[Tue Dec 20 20:22:59 2005] [error] [client 62.243.210.110] PHP Fatal error: Call to undefined function mysql_connect() in /home/httpd/sites/sejsklub/html/forbind.php on line 4

Hvorfor er det et problem?
mysql_connect er da en del af php5?


Hvilken distribution bruger du? Nogle distributioner, fx Debian,
leverer mysql-udvidelsen med som en separat pakke. Efter man
installerer den skal man også slå den til i php.ini.

Jeg fik lige kigget på php.ini i mellemtiden, da mine hjernesvingninger endelig kom i gang.
der manglede bl.a:


extension=mysql.so

Jeg bruger trustix (2.2)
Den er så venlig at gemme den gamle (.ini)fil ved siden af, så man kan kigge ind og se om der var noget der manglede i den nye i forhold til den gamle.
Så virker det igen, alle er glade og vi kan snart holde jul.'
(uden forhåbentlig flere arbejdsnetter foran computeren)
Tak for sparringen.


Leif

 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2006-01-01, 02:01 CET [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *