vad händer när du försöker göra en mysql_connect()?
tänk på att se till att mysql-modulen laddas när php startas.
3 svar · 214 visningar · startad av nanne
Få se nu. Tänker jag rätt.
Jag har Apache 1.3.19 på min Redhat 7 maskin. På denna har jag även nyaste mysql kompilerat för just min fina maskin. Jag får dock inte tillgång till mysql när jag anropar från PHP.
Apache använder användaren nobody. Så det borde väl bara att lägga till en nobody användare i usertabellen i mysql databasen?
------------------
"Information wants to be free -- because it is now so easy to copy and distribute casually -- and information wants to be expensive -- because in an Information Age, nothing is so valuable as the right information at the right time."
- John Perry Barlow
vad händer när du försöker göra en mysql_connect()?
tänk på att se till att mysql-modulen laddas när php startas.
Det funkar nu. Det var precis så jag hade tänkt ut :)
------------------
"Information wants to be free -- because it is now so easy to copy and distribute casually -- and information wants to be expensive -- because in an Information Age, nothing is so valuable as the right information at the right time."
- John Perry Barlow