| |
| |
| |
|
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
Comments:
<0> it will always be #php to me <1> typewriter: go check with your OS chan <2> i did <0> i will continue to write #php, and people such as yourself will correct me 100% of the time :) <2> like i said it works <2> just the script keeps repoprting permission denied <1> such as myself? are you categorizing me with the rest of these cretens? <0> yes! <1> bastage! <1> typewriter: what OS? <2> freebsd <1> sorry mate <2> i wouldnt say its an os problem <2> since i can operate shutdown under the same user as my web server <1> apache is running as user www? <2> yep, using lighttpd though
<2> but user www <1> k <1> where is your pastebin of code? <2> http://sial.org/pbot/17722?tx=on&submit=Format+it%21 <2> the code works fine <2> but it reports permission denied when running shutdown <2> but i can shutdown as user 'www' <3> yow. you want to shut down from a web page. interesting idea. <4> insane <4> better be using digest auth, at the least ;) <1> typewriter: i dont see where you are shutting down <1> and for the love of php, don't use short tags <1> tis not so much effort to write an additional 3 characters, <?php <5> does anyone know why I don't have mysql support on my server; /usr/local/etc/php/extensions.ini shows extension=mysql.so in it <0> how do you know that ini is loaded? is extensions dir set correctly? any errors in apache log? <1> so many problems with that question...where to begin <1> how about what version of windows and php you are running <5> extensions.ini is loaded properly, it's sohwn in phpinfo(): <5> ;* <5> im running FreeBSD 6.1, php 5.1.4 <5> mysql 5.0.22 <1> yes, i meant OS, not windows :-x <5> :p <0> i had two other questions <1> as philip suggested, how about your error log <5> extensions dir is set to "./" in php.ini <5> um, haven't checked apache logs <6> Wsoprulz1299, did you compile the 'php5-extensions' package with mysql support? <5> I think that I did <5> that's why it's in extensions.php <5> how can I check? <6> do a phpinfo and check <5> yeah it's not there <5> only mysqli is <6> just 'make deinstall' the php5-extensions, then 'make reinstall' and then select mysql in the options box <5> ok <7> im having some difficulty with trying the DOM and XPATH in php 5 <7> basicly im getting elemnts out of a xml file i dont know ware they came from <5> Aletheuo: i did that, and it never let me choose <5> should I entirely get rid of php extensions w/ pkg_cutleaves and start over the install? <6> when compile the package 'php5-extensions' it pops up a box where you choose all the php modules to compile with <6> if yours didn't then I'm not sure what to tell you, can try that question over on #freebsd <5> yeah i remember it did when I first installed it <5> now it just says it found a saved configuration <6> try 'make reinstall' <5> I did <5> make deinstall <5> then make reinstall <6> hmm 'make install' ? <5> tried that too <5> i deinstalled it three times <6> 'make clean' then 'make install' <5> tried that too <5> that's what I did everytime <5> make deinstall clean <5> etc <6> k <6> that would be question for the freebsd guys over on #freebsd, they'll answer it quickly for you <8> What does the ? thing do? <5> alright <0> perhaps you mean ternary
<5> thanks for your help <6> np <0> find ternary at php.net/else or around there <0> that was to you jsoft :) <1> or php.net/ternary <1> :P <0> yeah, guess i can allow that <1> he'll allow it! <8> philip: $foo = isset($bar) : 1 ? 0; <1> and the crowd goes wild <8> I mean the ? in there. <1> jsoft: wrong <1> ?: <0> we knew what you meant <1> not :?, go to php.net/ternary search for ternary <1> read <8> yeah that. <9> is it possible to install both php4 and php5 and have them used in cgi mode in apache <9> maybe fles ending in php4 will use the php4 cgi and other php files will use php5? <10> fraid not <10> you can either: <4> kib: yes <10> a) run one as module <10> and the other as cgi <11> it is possible... <10> or b) run two apache processes <9> I have some things that will only work on php4 and some thing that will only work on php5 <4> it's not very hard, even <7> hey guys is there a better palce to get help with php+xml ? <9> I didnt expect running both as a module would work <4> just some Action/AddHandler loving <4> you can only have one php module, alas <8> kib: LIES. It is a physical impossibility <9> but It hought running both as cgi might since one could put in a #!/usr/local/bin/php5 or php4 if it was installed to those bianry names <9> jsoft: what is alie? <8> kib: you know what. <10> it means sadly <10> kind of <8> Sorry im being a noddy. <9> jsoft: running php as a cgi? <4> kib: you'll get better performance by running one as a module and the other as cgi <12> How do i destroy an object? <9> _Lewellyn: but will that work? how will apache know when to use the cgi and when to use the module? <4> there are plenty of guides on the internet to show how to do it :) <9> I looked at them <9> they all resulted in errors <4> hint: use different file extensions <9> the alatest one I cant even get both phps to install nicly <9> one overwrites the other <4> you can't use them both as modules. <9> the first guide had it best but it didnt refer to how to make it work in apache <9> only how to get two versions of php to install using pkg_tools.conf <9> _Lewellyn: I thought the best solution was to make them modules then somehow getting the apache confi to know the difference by file extension or a #!/ <10> or on a per directory basis <4> kib: this covers your options, it seems: <4> http://www.gentoo.org/proj/en/php/php4-php5-configuration.xml <4> you cannnot insert 2 php modules into apache <9> RhastaW: yes that was another idea...maybe on a per dir basis int he config or using .htaccess files <9> hmmm thats not too bad <9> _Lewellyn: I dont want 2 php modules...I have never said I did <9> _Lewellyn: I said once that I knew 2 php mpodules wont work <9> _Lewellyn: I am trying to get 2 CGIs <9> \not modules <4> then look at that gentoo guide <4> they cover it well. <4> all the way down to RhastaW's suggestion <9> I will need to translate that to the ports system I use <10> per directory is better for pre-packaged scripts <4> yes. that's not hard to do tho <10> mainly because changing extensions ****s some of them up <9> freebsd does things alot different them gentoo <10> mmm <10> i use openbsd at home <10> but im a newb with it :p
Return to
#php or Go to some related
logs:
how-to gconf-editor this key has no schema raaga on ubuntu wine MCI_LoadMciDriver icewm-themes sarge #linux #linux reisercheck #debian #linux marlyin monroe quotes
|
|