| |
| |
| |
|
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> like me <1> im making a simple php script to just gzip and bzip the same file <1> then delete the orignal and the larger of the compressed ones <0> sure you don't want to use gzip and bzip ? ;-) <1> so it auto choses which one makes the smallest file <0> now that's interesting <1> i will be using both bzip2 and gzip <0> if only we can find a way to use php and make SETI worthwhile <1> i'll stick it on pastebin then when done:) <0> just don't compress it <0> heh <0> whoa.. hey change CNN's main page again <1> mktemp will be usefull:) <0> what's that for? <0> ***somnia? <1> it generates a random file name
<1> for temp files <1> and makes shure it isnt allready in use <0> cool, nice to know.. and of course it uses the tmp directory used for session files <1> so i can be 100% shure that my tmp file wont be in use or held by another user <1> by default it uses i think the dir in $temp <2> Right now, I have the same PHP INI / install set up with two Webservers. On one server, PHP loads all its modules [mysql and mbstring being the ones that concern me], and on the other, it does not. <1> if thats not found then it trys /tmp <1> also it can take a path on the cmd line <2> Beyond confirming in phpinfo that they use the same INI file (They do), what additional diagnostic steps can I take? <0> Tresnar, good god <0> what do your log files look like?? <0> muon I hear your m*** might be caused by quantum vacuum fluctuations <2> trelayne: In Apache's error.log (The one that's not working), I get notifications from my PHP scripts that mysql_connection is not defined. <2> I don't get any special error messages after the server restart point in the logs. <0> Tresnar, well that is because it can't find mysql libs <0> why not simply use a different php.ini file? <0> then you can have a separate .log file <0> and see what's up? <2> ? <2> What do you mean by a seperate log file? <0> error log file <2> They are seperate. <0> oh I see <2> The other webserver is LightTPD <0> and thefailing one doesn't give too many details <2> And, the reason for using the same php.ini file is to rule out some measure of User Error. <0> but they both specify the locations of the mysql lib files <2> php.ini has the line to load the mysql extension. <2> I did not do anything MySQL-related in either server's config file. <0> maybe doing what you are trying to do is not supported? <2> trelayne: Why? <2> And, what part of what I'm doing concerns you? <0> I am no expert .. but using a php.ini file for two different webservers.... <0> what happens when you stop the good server? <0> and only run the bad one? <3> fyrestrtr: $binarynumber ^ -1 <2> No change. <3> fyrestrtr: $binarynumber XOR -1 <0> interesting <3> fyrestrtr I was close <0> so you CAN run php scripts <0> but not anything mysql related <2> trelayne: Other modules also do not load. <2> mbstring and mysql are just the ones that I'm specifically focused on. <0> well that might be out of my leaguee... is there a module loading extension? <2> ? <2> I'm using "module" and "extension" interchangably. <2> for the most part, I'm talking about things located in the ext subdirectory of a PHP install. <0> are you on windows? <2> trelayne: Yeah. <0> or unix? <2> Windows this time. <4> Is there some kind of PHP, Apache, MySql all in one package? <0> your extenstions directory is set to the same directory as the other php.ini file? <2> trelayne: There is only one php.ini file. <0> does your other server know where to find the php.ini fule? <0> file <2> And, yes, it's the same, by virtue of being the same file. <0> ok <0> turn off the good server <2> Finally, phpinfo() shows the same php.ini location
<3> !+enter <5> Don't use the enter key as puncuation. Think in complete thoughts, then type. <0> oh ok <2> Jymmm: Which one of us was offending you? <3> d) All the above <3> =) <6> Jymmm: hrmm, okay. I have another thing I need to work on, but that should get me started. <3> your nicks are too closely the same and I'm tired <0> hmm.. must be me <3> so tired eyes and simular nicks look the same. <2> I use capital letters. In the nick and the messages. I suppose that's not a lot to go on, but it has to be enough to let you tell us apart <shrugs> <3> cant focus <0> I might have aspergers.. so I get distracted in thought a lot <2> In any case, the good server is off, and there was no change in the situation. <0> heh <3> my bad, carry on... I'll let the charcs just blur on by <0> maybe there's someting in your server configuration that's causing the problem? <2> trelayne: If you had something in mind, I'd gladly check it. <0> web server configuration <2> However, it's my feeling that this should be primarily a PHP issue. Generally, the webserver's config is limited to being told where PHP is, and what files to process with it. <0> do you have an error log ? <6> Jymmm: $a = 11011000; var_dump($a XOR -1); <-- this prints bool(false) ? <2> Yes, I do. We checked it at the beginning, and confirmed that nothing of interest showed up in it, even with a server restart to cause PHP to be reloaded. <2> You're looping a bit, trelayne. Your last 3 suggestions, are repeats of earlier ideas... almost verbatim. <0> Tresnar, thanks for pointing it out.. guess it's out of my league <2> <shrugs> <2> Just means I wait for the next person to get bored. Eventually someone will have another thought on some more diagnostic steps... or I'll get lucky with Googling. Whichever <0> did you edit your path anytime recently? <6> Tresnar: give me the cliffs notes(r) version of your problem, as it has byp***ed my scroll buffer. <2> fyrestrtr: Two webservers, using the same PHP install, same php.ini file. phpinfo() verifies that they have the same location set for the php.ini file. <2> On one webserver, PHP loads all of its extensions correctly, on the other, some (maybe all) are missing. I'm specifically concerned with mysql and mbstring. <0> curious, how did you install the other server? Out of the box? <0> the bad one? <6> Tresnar: you webservers running on the same physical machine? <2> fyrestrtr: Yes. <0> on what ports? <6> Tresnar: linux/unix or windows? <2> fyrestrtr: Windows. <6> hrmm, okay -- and two different webservers (like IIS and Apache), correct? Because this might be a file sharing problem. <7> can I print out all days in a week by giving a week-number? <7> if so, how? :o <6> babi: I'm sure its possible =) <0> babi, it is possible <2> fyrestrtr: Yes, two different webservers. However, I've stopped the good one, and restarted the bad one, with no change in the situation. <0> I have seen it but I think it only exists in like PHP 5 <2> LightTPD = Good (CGI). Apache2 = Bad (mod_php) <2> trelayne: Each is on its own port, each was installed by unzipping it to a folder, and manually creating a service for each. <6> ah, I'm not familiar with LightTPD. Although I don't think that makes a difference. What have you tried as far as troubleshooting? <8> I am sure I am not doing this the most efficient way but I am making a cl*** for each of my pages. It is a pretty brief website at the moment. I am wondering if I can do $page = new $_SESSION['page']; <8> where the session variable is the page that I'm supposed to be on <6> falieson: no, that would not make any sense. <4> I can't get apache to work now :S <2> fyrestrtr: I'm not terribly familiar with it myself. I didn't take any special steps to adapt PHP to it, however. It was very much "Uncomment extensions, point server at PHP, restart server". <8> fyrestrtr: haha, sure it doesn't. what would make sense? <0> Hotwir3d, I thought you have IIS? <4> Uninstalled it <2> Diagnostic steps have included restarting Apache [my non-working server], and checking the error.log for informative messages after the "Server has restarted" information messages. <0> good <6> falieson: have a base cl***, and then have objects render your pages. <4> Trying to get apache to work now <8> fyrestrtr: right.. so anyways. about my question? <2> I've also compared their php_info() data, to confirm they're using the same php.ini, and to see that one lists mysql, and the other doesn't. <6> Tresnar: have you tried another combination, (LightTPD with IIS) or LightTPD with Apache1? <2> fyrestrtr: No, I havn't. <6> Tresnar: does Apache's output show any other extensions that you have manually enabled? <4> Is PHP in Apache by standard? <6> Hotwir3d: no <0> no <4> Damn <0> you have to uncomment a module or someting hang on <6> !tell Hotwir3d about installation <4> Can anyone reccomend a All in one php mysql and apache <6> Hotwir3d: php.net/installation
Return to
#php or Go to some related
logs:
#gentoo 88W8335 debian rhythmbox mss .ola extension file player #suse up2date stdout hang composite manager could not be started: hiew asm command ekiga kde arts sourceomatic
|
|