| |
| |
| |
|
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
Comments:
<0> Uhh which file is my "Comamdn shell" >_> <1> deadroot: It's a handy tool. Google for it. There's really just the one worth using. You open the DLL in it, and it tells you what's missing. <2> "winkey + r" then type "run" <0> Erm.. type "run" ? <1> You mean "cmd" <0> Yeah.. cmd <2> gah... "cmd" <1> Who was it that said they have a Krugle account? <0> Well it's spitting out quite a lot of stuff.. <0> But no MySQL <1> I have some high-level questions about the service, if you're willing to spend a few minutes answering them. <2> Hezkore: you sure? because if it isn't saying anything about mysql, than you had rebooted for nothing <3> TML usually you work with two versions to write code compatible <0> Not a single SQL there :P <1> I have an amazingly powerful plan for Krugle, but want to know whether it's going to be possible or not, and I just got notified that I'm in the "second half" of the beta group, which means I won't get my account until they're in "stress testing" <2> Hezkore: okay. *sigh* ... do: winkey + break
<4> TML: How do you put a whole html ref into a form? <0> Mhmm <1> j45on: What do you mean "html ref"? <2> Hezkore: advanced > environment variables > system variables <0> Mmm <2> Hezkore: look for the path in it <1> kioto: Apache modules are rather unique in the way they load symbols into Apache's symbol table. As a result, both PHP4 and PHP5 try to create (for example), zend_safe_str. Obviously, they can't BOTH have that symbol. <2> Hezkore: edit it and append the mysql path <1> kioto: It's the same reason you can't run mod_python 2.3 and mod_python 2.4 in the same apache. <0> There's a few paths these... <0> *there <5> hey, did the exams begin yet? <4> http://www.notd-aftermath.com/hq/mods/phpbb_fetch_all/examples/search.php into the header. <2> Hezkore: copy it out to the notepad and edit it. should be clearer that way :) <1> kioto: mod_perl has a similar issue, but it's been so long since I touched mod_perl, I cannot recall specifics. <1> j45on: No. Nononononononono. <1> j45on: You just put the *FORM* part <1> Not the entire page <1> Just from <form> to </form> <5> TML: i thought we didn't help with third party scripts? <1> j45on: Given that it's almost certainly relatively static, my advice from earlier (copy the HTML from the rendered form) stands. <1> Fushuing: This is a "basic understanding of PHP and HTML" issue. <0> Ok deadroot , fixed it <6> I am trying to install php 5.1.4 with apache 2.2.2 on windows xp. Apache starts with no problems, but when I add LoadModule php5_module "C:\webserver\php\php5apache2.dll" in httpd.conf and I try to start apache, I get the following error: C:/webserver/php/php5apache2.dll into server: The specified module could not be found. <4> how do I do that? <5> which he is unable to grasp? :S <6> But the dll file it there, I can see it. <1> Fushuing: Yes. <5> he's unable to grasp it :/ <2> Hezkore: okay. try testing again. <2> Hezkore: if that doesn't work check the echo %path% <1> Nucleus: That error is saying ""C:\webserver\php\php5apache2.dll specified a module which could not be found" <2> Hezkore: if still no go, reboot and try again <0> Mysql works in "run" <2> Hezkore: that's a damn good sign <0> Indeed <1> Nucleus: Generally, follow php.net/install.windows. As a first guess of what you missed, php(4|5)ts.dll is not on %PATH% <6> TML; it is <2> Hezkore: what does phpinfo say now? <6> php5ts.dll is in system32 folder <1> Nucleus: Beyond that, all I can do is point you at the low-level debugging tool "Dependency Walker" (google for it). It'll tell you which DLL is missing. Unfortunately, we don't support that tool, so we can only provide minimal help. <0> Erm deadroot, now Apache is complaning :S <6> ok, i'll try it <2> Hezkore: what says it? <0> Erm it's Swedish >_> <2> translate it or hope it's recognisable :) <4> how do I copy the HTML from the rendered form <1> Nucleus: There are also the mailing lists, where Windows users generally find more success. We're a fairly "unix" oriented group. <0> Couldn't find producestartadress mysql_real_escape_string in DLL LIBMYSQL.dll <6> TML: there a er no installaton instruction for php with apache 2.2.2. Only for apache 2.0.x <1> Nucleus: I don't think PHP supports Apache 2.2.x yet <2> Hezkore: that's a first for me <1> Nucleus: That's not to say it *doesn't* work, it's simply not something we're targetting right now, so it's probably a mixed bag <1> j45on: Go to that page in a browser, use your browser's equivalent of "view source" <1> j45on: Then use "copy" and "paste" <1> The rest is left as an excercise for the reader <2> Hezkore: can i see your php.ini again? <0> ftp://hezkore.ath.cx/php.ini <0> Oops <0> ok now
<7> TML: maybe you can help me with this. i'd like to p*** a couple configuration instructions to php via command line when running it. i'm using a debian cgi build of php 4.4.2. the man page suggests that `php -d configoption=value` will set the PHP configuration option 'configoption' to 'value'. Unfortunately, that didn't work for me. Have you ever tried this? <1> Nucleus: My understanding is that the interals re:modules didn't change significantly, but I wouldn't be surprised to find that the linkage on Win32 was too tightly coupled to allow it to load. <2> TML: ever seen "Couldn't find producestartadress mysql_real_escape_string in DLL LIBMYSQL.dll" ? <1> deadroot: Yes <2> what causes it? <6> TML: I don;t know what to say. I am currently using php 5.1.4 with apache 2.0.55 with no problems. I just wanted to upgrade. but it seems that I'll have to wait untill I have some good documentation. <8> http://www.rafb.net/paste/results/4EglQ266.html <1> deadroot: That's the sort of error I would expect when the version of LIBMYSQL.dll on the system doesn't match that which php_mysql.dll is linked against. <8> TML: works now <1> deadroot: i.e., the procedure address has moved. <1> thyko: Excellent. <1> thyko: Well done. <2> TML: okay. so php5.1 and mysql 5.0 don't match? <8> but it leaves the last char unprintend: eg 'abc' produdes '12' <1> deadroot: That specific php_mysql.dll and that libmysql.dll don't match <1> Nucleus: At the very least, wait until PHP is officially supporting Apache 2.2 <2> TML: okay <2> Hezkore: is there a libmysql.dll in the php directory? <0> Nope <1> deadroot: I don't keep up on the various versions, though. I don't even *run* MySQL, nor PHP5.x <2> Hezkore: there is a libmysql.dll in my php 5.1.4 <0> AHA! <1> thyko: You're mistaken! <0> Ok i unpacked and it's there now <0> Still same error <1> thyko: It gets all three characters. 0, 1, and 2 <2> Hezkore: that's because php is still picking up the wrong dll <1> thyko: However, "0"."1" becomes 1 <2> Hezkore: i don't think it'd be a good idea to replace mysql's copy of the libmysql.dll with php's copy <1> thyko: Therefore, you get "12" as the output <1> deadroot: o.O <2> Hezkore: so you may have to remove the mysql\bin from the system path <1> That's....an understatement <8> TML: why doesnt it print '0'? <0> Ok <2> TML: :) <2> Hezkore: and move php's copy of the libmysql.dll into windows/system32 <0> ... <7> TML: do you have time to look at my question? should i repeat? <2> Hezkore: heh, i'll take that as it works <0> It sure does! :D <1> thyko: PHP drops leading zeros in a lot of situations <1> Piet: I've never tried it. Which option(s) are you trying to override using -d"? <1> s/"// <2> Hezkore: anyway, there is an off chance your dl() problem has gone away as well, iirc <9> deadroot: .so files are much more handy ;) <2> Meltir: >_< <0> What the hell is "iirc"? <1> Meltir: At least with .so files there's the implicit understanding that I can run it under a tracer to see which .so is being picked up! <2> Hezkore: if i recall correctly <0> Aha <0> Yeah it's gone <0> I checked that as soon as i got Apache running <0> That's why i thought you deserved a kiss \o/ <7> TML: a couple. I also tried combining them in some way, but nothing worked. I tried p***ing just an error_log override using -d, that didnt work either. <1> thyko: Also, don't bother calling unset($i) <2> the dl() probalem was because you didn't specify the extension path :) <9> TML: sadly - there is no real alternatives to dll's under windows. i get the feeling that .so will just not run under m$ <1> thyko: It saves nothing <9> :) <0> xD <1> Meltir: That's correct. Even if .so's worked in Windows, you'd have the same problems as with DLLs there. Namely, that you have little to no control over where they're found and when. <10> this might be a #web question, but if I have a link that opens in a new window (delete item confirmation). After the form is submitted in this new window is there anyway i can make a call to the parent window to refresh. Both pages are php. <1> Pivot: Yeah, that's more of a #web question. But the short answer is "yes, using Javascript" <10> TML: thanks <8> TML: grrr! <11> DOM dosent recognize textarea and select as an elements.. is there something i could do about it? thanks <1> thyko: An easier solution would be making 'a' 1 instead of 0 <8> is there a way to make $bases = range('a','z'); start @ bases[1] <1> Piet: From what I can tell, "-d" has *very* low precedence, so it gets overridden by anything else along the way. As a test, try this: php -c /tmp/a.ini -d short_open_tag=On -i | grep 'short_open_tag'
Return to
#php or Go to some related
logs:
Storing Currency MySQL iptables frostwire cinerella fedora5 ubuntu no install icon gentoo require 'sqlite3-ruby' false Linux NFS-base install
#gentoo #web kdiff centos rpm debian poweroff -noacpi
|
|