| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
Comments:
<0> Hotwir3d: php.net/installation <0> Hotwir3d: google.com/search?q=php+mysql+all+in+one+installer+windows <1> fyrestrtr: mod_perl/1.99_08 Perl/v5.8.6 would be my only other non-default module loaded. <0> Tresnar: sorry, I meant non-default *extension* in PHP. <2> Hotwir3d, Sourceforge, search WAMP <3> Hotwir3d, <1> fyrestrtr: There are no extensions not included with the php.net packaged download. I edited php.ini to enable mysql and mbstring. <3> php include a dll or equivalent that should go in a modules directory for apache <0> Tresnar: Apache doesn't load mysql, or both? <3> got that Hotwir3d? <4> Im getting XAMMP or something <3> uh ok <3> anyway, good night all.. sorry that I couldn't help.. <3> ;-) <1> fyrestrtr: mbstring is mentioned in phpinfo(). Is that adequate? <1> curl [missing in Apache] seems to be the other missing module.
<0> Tresnar: you have verified these work on the other server? <1> fyrestrtr: mysql definitely works on the other server. <1> My cause for this diagnostic session is because mysql_connect is undefined under apache. <1> My ***umption has been, that "mysql not loading" is a valid thing to focus on in that situation. <0> and there are no messages in the log about invalid extention, missing files, etc. etc. <0> you have copied the .dlls over and everything. <1> None in apache's error.log, no <1> There were no copied .dll's I use LoadModule php5_module "c:/php/php5apache2.dll" and have the optional directive PHPIniDir "C:/php" <1> I also gave .php files an appropriate AddType so that PHP will consent to parse them. <0> well don't know then. I suspect this is Windows problem though. <5> Tresnar: when you use phpinfo() does it show that your php is compiled with mysql? <1> fyrestrtr: That's often a valid suspicion. I will say, that PHP does have the ability to work on Windows with MySQL [Well, it used to. I can't verify that last time I ran it, I was running this precise sub-revision]. <0> Tresnar: I mean more like file sharing violation or something. <0> I have had PHP running on two web servers before -- at the same time, without these problems. <0> but both isapi, not one cgi one isapi <1> fyrestrtr: That's why I unloaded the working server before beginning diagnostics. <5> Tresnar: sorry - I haven't scrolled up to where your original problem is stated so I'm going on fragments of the conversation =) <1> I ran it's "Stop LightTPD" script, and checked my process list just for certainty. <1> Neither lightTPD.exe nor php.exe were present. <1> Aside from that, LightTPD is running in CGI mode, which actually has PHP unloaded except when PHP is actively handling something. <1> FastCGI is broken on Windows, which means I don't have any persistent bits, even when LightTPD *IS* running [which it wasn't <grin>] <5> Tresnar: have you considered making a copy of the php install and using separate for each server? <1> mikere: I don't see the point. <1> I can copy C:\php to c:\php-testing, but it'll be the same exact files - With just Apache using them. <5> Yes and no problem for file concurrency problems <1> <sighs> <1> Okay. I only have Apache running. It's been the only server running for a very long time. <5> Ah, and it still isn't working corretly? <1> Right. <5> Odd. <1> I've repeated that fact oh... 5 times <grunt> <5> Sorry - been afk for about 40 minutes and didn't read everything <1> Other than that, it would have been quite a good thought :( <1> mikere: In the last 15 lines though, was the most recent repetition. After you got back, in fact. No worries though. If you have any other things you want checked out, I'll gladly go for it though. <5> I've installed php for apache about a dozen times under windows without those problems. I wonder if the ini file is being fully parsed <1> I've also had successful installs in the past. <5> Tresnar: is it running well enough to get output from phpinfo()? <1> Yes. <5> And what does it say about mysql? <1> I used phpinfo to verify that it was loading the ini file I expected it to, as well. <1> It says nothing about MySQL <5> Under the compile options does it say --with-mysql? <1> Definitely not. <1> Hence using extensions to gain that support. <5> so no mysql compiled into the binary <1> Right. <1> It's instead compiled into a seperate .dll file which must be included. <5> oops i'm thinking *nix not windows <1> Indeed you are. <5> No section for mysql on phpinfo tho? <1> It says nothing about MySQL <5> Tresnar: and the path to php.ini is? <1> c:/php/php.ini <1> Set by an Apache Directive, and verified in phpinfo() <5> and in php.ini there is a section for MySQL? <1> The extension is loaded, yes. <1> Using a seperate webserver [LightTPD] with the same php.ini file yields correct results, too. <5> Tresnar: my php has mysql compiled in (windows on this box) <1> Did you compile it yourself? <1> And, if you did, is it compiled against Cygwin? <5> So no extension= is required
<1> [Doing either of the above yields a setup that is markedly different from a stock download] <5> Nope, this box is running a precompiled distribution for mapserver usage <1> The same questions would then apply to whoever you got it from. <6> skinkie: there? <7> phpinfo may give the ./configure options which may show some info on how it was compiled <1> clever: It was compiled without mysql support. <7> ahh <1> Since this is windows, that's normal, and the standard method of gaining that support is to add an extension=blah.dll line to php.ini <7> my compression php script works:D <8> moin moin <7> is saw that using bzip2 saved me a extra 35kb <7> so far bzip is best for all the avi's it seems <7> its a heck of alot slower but it saves me 35KB:P <8> what about the plus("+") character, can i use it in an url parameter value without encoding? <5> Tresnar: so php.ini is getting parsed but for some reason mysql.dll isn't getting loaded. You'd think it'd have something to do with the extension= line - but why it'd get parsed any differently from one web server to the next is very strange indeed. Should be php.exe that is parsing the ini file I think <1> mikere: More or less my point, and why I'm rather dreadfully confused. <1> I noticed a neat line in PHP.ini called "display_startup_errors", which I set to On, and restarted Apache. <5> Tresnar: what exactly does your extension= line say? <1> It now displays the path to the dll, and tells me it can't be loaded. <1> mikere: php_mysql.dll <6> hmm... who here were interesed in my binary-serializer/session-handler? <5> Ah, at least you are on to something there - now if only it would say *why* it won't load it <8> i run into the problem, that i open my php script with the url script.php?var=application/xml+todo. but when i echo the request parameter 'var' i get "application/xml todo" without the "+" sign, whats wrong? <0> siebeneicher: nothing is wrong. <8> so, what have i missed <9> siebeneicher: + == " " <1> Merely "the specified module could not be found" <5> think you might need to quote it. <5> Tresnar: so it says extension=php_mysql.dll? <9> siebeneicher: All spaces are converted into plus signs. Standard url encoding. <8> it comes from a html form <1> extension=php_mysql.dll <1> extension=php_mbstring.dll <1> extension=php_curl.dll <1> The rest are commented out. mbstring loads, the others do not. <8> ahh, thats it... <1> ? <1> Oh, different conversation. <5> Tresnar: and php_mysql.dll and php_curl.dll are in the same directory as php_mbstring.dll? <1> mikere: Indeed. <1> The order the extensions are loaded in has no effect, either. <1> mbstring used to be on top. <9> for that mattter, Tra <9> Hrm. Wrong channel. <9> absentia: Unusual. I'm currently listening to Porcupine Tree's album In Absentia. <5> Tresnar: night time for me - wife about to apply beatings. good luck <1> mikere: Beatings can be fun. <2> I think he's off for a bit of the old paddle ;) <10> whoa! <10> did cnn just change formats? <10> www.cnn.com ? <10> lateralus: :-> <1> Mmmm <11> hy <11> I am not banned this time <1> Found my issue. <1> Finally. <11> ok, I have finished my test on my php progress bar project <11> someone interested to test it (and help me a few) ? <10> sure <10> what's the url ? <10> I coded up a 500 line http post parser..and progress bar in like 4 hrs two fridays ago... under the gun <11> http://upload.rapsys.be/upm/ <11> it's a php module <2> Parses raw post headers absentia? <12> hi <11> hi snowrichard <12> finished a new app today, just announced to freshmeat. <11> snowrichard: do you want help me debug my upload progress bar project ? <11> hsnowrichard: ttp://upload.rapsys.be/upm/ <12> maybe tagada, though its getting late here <11> I haven't tested it under safari and opera <12> http://upload.rapsys.be/upm
Return to
#php or Go to some related
logs:
jesusaurus rex
#gentoo #perl SiS 86C326 video card resolution ADVENT RDR-ALL drivers namesserver gentoo nzbget deb has no installation candidate ubuntu kdevelop xfbdev segmentation fault #php
|
|