@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
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



Comments:

<0> like phpbb, they do that in cl***?
<0> or just functions?
<1> the premission on the files is for everyone
<2> Froshs: I don't know, I don't know phpbb
<3> Froshs: some cl***es, but PHPBB is ****
<4> Geren: http://www.php.net/~derick/meeting-notes.html#id66
<1> aidan: www.siliconwarfare.com
<0> Do you know of sites that have php cl***
<1> right there
<1> and includes don't work either, btw.
<2> !tell Froshs about cms
<0> there doesn't seem to be much php5 oop
<1> because it won't work.
<2> Froshs: There's not much PHP5 in general
<2> Froshs: php-bot sent you a URL to a site that contains a lot of CMSes. Most of those tend to use some degree of OOP.
<0> cool



<2> Jaywalker: You're mistaken about the permissions
<5> hmm ok
<2> Jaywalker: PHP is pretty clear about it: Permission denied
<1> The premissions worked before
<2> Jaywalker: Then you changed something.
<1> Only PHP
<1> Nothing else was touched
<2> No, you changed something else without realizing it
<1> I have done nothing except make install PHP
<6> Jaywalker: the user PHP is running under might had changed
<1> and add the php include in httpd.conf
<0> that site looks like only trying
<2> Jaywalker: Were you previously running PHP as a CGI?
<1> I don't think so, it was some version with some knockoff webserver. Bad idea, but quick/easy setup
<2> So you changed the webserver?
<1> I decided to fix past mistakes by actually using apache
<1> Webserver != file premissions
<2> And you didn't think that was relevant?
<2> 22:53 < Jaywalker> I have done nothing except make install PHP
<2> Jaywalker: "changed the web server" is *NOT* nothing
<3> I love how people will tell you, until they are red in the face, that they did NOTHING else
<2> Jaywalker: The user the web server runs as is *VITAL* to permissions
<1> TML: it runs as root obviously
<1> that cannot be a problem
<3> You run your webserver as root!?
<2> Jaywalker: NO
<4> it shouldn't be running as run
<1> well, initially
<4> *root
<2> Apache won't run as root
<6> lol
<1> to open it on 80
<1> after that it changes
<3> Jaywalker: Could you stop insisting that you know how things work? You're here because you have a problem, stop being defensive and just listen
<0> what's a good php editor
<1> I'm hardly being defensive, I'm just utterly confused
<0> really good looking
<0> lol
<0> like that has anything to do with it
<1> daemon was what apache changes too
<7> /usr/sbin/httpd: symbol lookup error: .//usr/lib64/httpd/modules/php_mapscript.so: undefined symbol: php_sprintf
<3> Jaywalker: you've just told TML that "that cannot be a problem", you're completely wrong. If you don't know, don't ***ert something!
<7> #define sprintf php_sprintf
<7> in php.h
<7> why?
<3> The forked process that the root process spaws runs as a user. Obviously, that user has changed, and doesn't have access to your files.
<7> especially if libphp5.so doesn't contain php_sprintf?
<3> Primer; who knows? redownload and recompile the source
<7> done and done
<7> it doesn't help
<7> hrmm
<7> php4 was installed when I compiled php5...
<3> are you downloading the stable?
<1> Ok, the webserver is running as daemon:users
<7> 5.1.2
<1> the premissions for the files are users have full access
<1> This _may_ fix it
<8> anyone in here use a mac?



<1> but not for webservers
<1> and not often
<8> Jaywalker: just need a simple answer to a question no
<3> ajt: just ask the damn question please
<8> aidan: it's non php so I'm not going to ask in the channel if that's ok w/ you
<6> ajt: mac do use a unix based OS
<6> So we will know some stuff
<6> does*
<8> If you right-click on a file is there a "Properties" menu item? If so when you click on it is there a way to modify the command
<8> there ya go
<8> Shadow_mil: I run *nix myself it's a mac specific command
<8> Shadow_mil: I'm writing an article and need to know that....there had to be at least 1 mac user in here
<8> thanks
<0> blah this means I have to add a lot of $this->
<4> if you want to use cl***es, yeah :p
<9> hello
<9> does anyone know i there is an SNMP library available for PHP?
<9> I'm not finding anything on PEAR
<10> are the protected and private keywords a feature of php5?
<4> eleftherios: yes
<10> I see, thank you
<11> blake: php.net/snmp
<10> what are the backward incompatibilities of php5 with php4? I need php5 to run some scripts but will my existing code continue to work in I replace php4 with php5?
<10> s/in/if I replace
<4> don't use private and proctected keywords
<10> so other than that a php4 srcipt runs fine on php5?
<10> s/srcipt/script
<4> there may be some other small gotchas. but generally you can coax scripts to run in php5
<9> zircu: those are functions, i'm talking about full SNMP library. something like Perl's Net::SNMP or Ruby's SNMPlib
<10> deadroot, is there a doc that addresses these incompatibilities?
<4> eleftherios: i don't know
<11> blake: if you used Net:SNMP or Ruby's SNPlib you will only be able to use it if you have the SNMP tools on it, php works just the same way
<12> work on php5 but not at php4 ?
<12> i dont think will have that kind of problem, if you have clean code
<12> eh....
<12> work on php4 but not at php5 ?*
<10> Ox41464b, yes that was the question :-)
<7> /usr/sbin/httpd: symbol lookup error: .//usr/lib64/httpd/modules/php_mapscript.so: undefined symbol: php_sprintf ... nm -s /usr/lib64/httpd/modules/libphp5.so | grep php_sprintf ... 00000000002d46b0 t php_sprintf
<7> why?
<4> personally i doubt there are much problems. my development machine is php5 and the production is php4. just watch out for functions that are only in php5
<7> I don't get it...
<13> hey i see that zend php framework has a page up
<13> anyone happy to see a stdlib for php?
<11> and array_merge, the biggest php4 error i've ever seen
<13> http://framework.zend.com/download
<10> deadroot, :-)
<7> php.ini loads php_mapscript.so, so obviously libphp5.so is loaded already
<11> Primer: my first guess is that the library wasn't build for that libphp5
<7> it's the only php on the box
<11> Primer: how did you install the php_mapscript.so?
<7> cp php_mapscript.so /usr/lib64/httpd/modules
<7> after building it, of course
<7> --with-php=/usr/local
<7> and in /usr/local/include/php are php5's headers
<7> I wonder if compiling with apxs2filter is the problem...that's the only difference between this box and my other box, where mapscript actually works
<3> anyone know a free dns thingy?
<11> Primer: it could
<11> aidan: dyndns.org
<14> aidan: no-ip.com ?
<11> Primer: although the 64 bit thing might be causing things
<11> my router has support for dyndns settings, it is sweet
<3> zircu: they're 24$ for customdns :/ I want to point my domain at a new server in my uni, but the uni won't let me add dns records :/
<7> zircu: no, I have it working fine in amd64
<7> on gentoo though, and this is RHEL
<11> Primer: do you have php compiled from source on the RHEL machine?
<7> yes
<7> since I require php 5
<7> I've removed all traces of php4
<11> Primer: and you built/compiled that mapscript module on the same machine that php is installed?
<11> aidan: well, you didn't ask for custom dns :)
<13> do you guys think it is safe to expect books to come out helping people understand zend php framework?
<11> aidan: most registrars allow you to manage your dns
<7> zircu: yes


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #php
or
Go to some related logs:

kunbuntu NDISWRAPPER
irssi beep name
#perl
debian-installer installgui
fedora rescue kernel hard drive
#lisp
#python
#gimp
#perl
#mysql



Home  |  disclaimer  |  contact  |  submit quotes