apache2 php5 extension probleem

Pagina: 1
Acties:

  • tombo_inc
  • Registratie: December 2004
  • Laatst online: 10-03 13:21
beste mensen,
ik ben zojuist overgestapt van apache2+php4 naar apache2+php5.
nu start php5 gewoon op en lijkt goed te werken. maar nu wil ik de mysql extensie laden om mysql te kunnen gebruiken. maar als ik apache herstart dan zegt ie "unable to load dynamic library 'het pad hier' kan de opgegeven module niet vinden." ik snap er niks van want alle dll's staan bij elkaar in de juiste dir (de extensiondir die ik opgegeven heb). weet iemand hoe het komt of wat ik eraan kan doen?

Microsoft Windows: A thirty-two bit extension and graphical shell to a sixteen-bit patch to an eight-bit operating system originally coded for a four-bit microprocessor which was written by a two-bit company that can't stand one bit of competition


  • G33rt
  • Registratie: Februari 2002
  • Laatst online: 22-06-2022
Aannemende dat je op de hoogte bent dat de MySQL-implementatie iets veranderd iets, heb je onderstaand stuk FAQ al gezien? :)
This won't actually affect that many people. Unix users, at least the ones who know what they are doing, tend to always build PHP against their system's libmyqlclient library simply by adding the --with-mysql=/usr option when building PHP. Windows users may enable the extension php_mysql.dll inside php.ini. Also, be sure libmysql.dll is available to the systems PATH. For more details on how, read the FAQ on setting up the Windows systems PATH. Because libmysql.dll (and many other PHP related files) exist in the PHP folder, you'll want to add the PHP folder to your systems PATH.

  • RSpliet
  • Registratie: Juni 2003
  • Laatst online: 11-07 00:42

RSpliet

*blink*

Of voor een simpele oplossing: gooi ze neer in C:\Windows of C:\Windows\System32 (een van de 2 was het)

Schaadt het niet, dan baat het niet


  • tombo_inc
  • Registratie: December 2004
  • Laatst online: 10-03 13:21
aha thnx. ik zal eens naar die faq kijken voor die system path.

Microsoft Windows: A thirty-two bit extension and graphical shell to a sixteen-bit patch to an eight-bit operating system originally coded for a four-bit microprocessor which was written by a two-bit company that can't stand one bit of competition


  • G33rt
  • Registratie: Februari 2002
  • Laatst online: 22-06-2022
Seven of Nine schreef op zondag 13 februari 2005 @ 21:17:
Of voor een simpele oplossing: gooi ze neer in C:\Windows of C:\Windows\System32 (een van de 2 was het)
Dat staat er toch? :P
Also, be sure libmysql.dll is available to the systems PATH
De twee directories die jij noemt zitten in je PATH ;)

  • RSpliet
  • Registratie: Juni 2003
  • Laatst online: 11-07 00:42

RSpliet

*blink*

ja, je kan ook je PATH uitbereiden naar de directory waar de DLL's nu instaan, maar da's n hoop gerotzooi.

Schaadt het niet, dan baat het niet


Verwijderd

in msdos prompt: SET PATH .. kan je zien wat je path is. off.. configscherm - systeem - geavanceerd - omgevingsvariabelen. en dan bij systeemvariabelen path opzoeken en je mysql dir (waar die dll in zit) erbij zetten. (houd je windows dir mooi schoon als je het altijd zo doet.. net zoals met een manual java install.. zonder 50 extra dlls in je windows map)

  • G33rt
  • Registratie: Februari 2002
  • Laatst online: 22-06-2022
Nee hoor, dat is erg simpel te doen. Het is altijd nog iets meer werk dan op een *nix gerelateerd OS, maar met Winkey+PAUSE > Advanced > Environment variabeles > edit ben je er ook binnen een minuut :)

  • tombo_inc
  • Registratie: December 2004
  • Laatst online: 10-03 13:21
ok het werkt nu :D ik heb mun php dir opgegeven als PATH var. vind ik wel beter dan alles in je windows dir gooien. zo kun je makkelijker updaten en alles staat bij elkaar. ;)
bedankt allemaal _/-\o_

Microsoft Windows: A thirty-two bit extension and graphical shell to a sixteen-bit patch to an eight-bit operating system originally coded for a four-bit microprocessor which was written by a two-bit company that can't stand one bit of competition

Pagina: 1