|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
apache/mysql image troubles...
i'm running apache1.3.20 with php4.0.6 on the NT platform for local development.
for some odd reason the apache does not allow me to save imagefiles to the mysql database . application/ms word, application/pdf and even images/bmp are ok. but saving image/pjpeg or image/gif fails miserably after few bytes.... the reason is NOT the php script doing the job since on PWS the same script is working perfectly (originated from phpbuilder with modifications). i hav not tried it on unix yet.... so, the problem (in my humble oppinion) is : a\in the apache configuration b\in the apache for sicromoft version c\in the php cgi version (less likely since the script works on PWS) Anybody, any ideas? i reaaaaaally want to abandon the pws but the intranet is running on NT so in order to do that i have to retest all the php programs on apache appriciate ANY sugestions |
|
#2
|
||||
|
||||
|
Hmm...could this be the same problems that happend to me....
And I blamed it on phpMyAdmin... I dumped a mysql database from a linux environment containing BLOB's in both jpeg and gif format.... I tried to use phpMyAdmin to import this dumpfile in my apache1.3.20/PHP4.0.6...Win2000 environment... .... I did only get errors...and gave up... What error messages do you got?
__________________
- [ If I cant fix it, ask MacGyver... ] - |
|
#3
|
|||
|
|||
|
when dumping a large dumpfile with phpMyAdmin you are likely to run in trouble. I ones tryed to dump a NATO terminology wokabulary (proxymately 3200 terms) and it was a major pain. So you should do it from shell , in ypure case with the msdos prompt. yoy problaly now the drill but you have to (unlike in *nix systems) cd yourself to c:\mysql\bin\ directory before you can actually dump the data, so the command would look something like:
C:\mysql\bin>mysql -u root -p -h localhost www < c:\mydumpfile.sql Enter password: ********** ... but you probably know that so i wroted it down just in case |
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > apache/mysql image troubles... |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|