Re: [PHP] Pear Page2
On Jan 5, 2013, at 4:24 PM, Silvio Siefke siefke_lis...@web.de wrote: What should me say this two words? You not use nano, ok. Editors enough on earth. Or you not write manually? Then share the way! Or use a CMS? Silvio: You said -- 1.) All websites are created manually. (nano + html/css Tags) -- and I replied Not mine. In other words, some of my web-sites are NOT created manually. They are dynamically generated from user input. For example: http://ancientstones.com For the exception of the static First page, FAQ page, and Contact page, all other pages are generated from user input/direction. I don't use nano (I don't even know what that is), but what I do is to create pages that pass W3C compliance and follow best practices. From what I've gathered from most frameworks I've reviewed, they have problems (similar to ASP) in mixing different languages in ways such that compliance with W3C and accessibility issues are difficult, if not impossible, to achieve. Even CMS's have difficulty with compliance and accessibility issues because of the lack of knowledge of the user/client. I have clients who insist on CMS's, but then are clueless as to user issues and difficulties.. So, where does that leave a Web Developer? It leaves them with the responsibility to learn and apply what they learned to their craft. Is there an easy way out, such as to use a certain framework, or CMS, or other such attempts at minimizing the work involved? The answer is a simple No. Instead, you have to spend every waking hour learning and applying that knowledge with openness to the possibility that you still don't understand the problems involved -- it's a never ending battle to educate yourself. Cheers, tedd _ t...@sperling.com http://sperling.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Pear Page2
Hello, On Sun, 6 Jan 2013 11:36:39 -0500 Tedd Sperling t...@sperling.com wrote: You said -- 1.) All websites are created manually. (nano + html/css Tags) -- and I replied Not mine. In other words, some of my web-sites are NOT created manually. What do you mean I do realize. I'm just wondering, why write an email to the matter is insignificant. They are dynamically generated from user input. When you have this situation be happy. Other site, other content, and other target groups. I don't use nano (I don't even know what that is), but what I do is to create pages that pass W3C compliance and follow best practices. From what I've gathered from most frameworks I've reviewed, they have problems (similar to ASP) in mixing different languages in ways such that compliance with W3C and accessibility issues are difficult, if not impossible, to achieve. Nano is a editor, very simple editor for Linux. http://www.nano-editor.org Which website is the w3c compliant? No website that has many users and has a lot of interaction. Even CMS's have difficulty with compliance and accessibility issues because of the lack of knowledge of the user/client. I have clients who insist on CMS's, but then are clueless as to user issues and difficulties.. Correct. So, where does that leave a Web Developer? It leaves them with the responsibility to learn and apply what they learned to their craft. Is there an easy way out, such as to use a certain framework, or CMS, or other such attempts at minimizing the work involved? The answer is a simple No. I simply asked a question, nothing more, nothing less. I looked for an alternative. I do not need a web developer. I'm not a web developer. I manage a few sites, most of my Customers are hosting customers. Instead, you have to spend every waking hour learning and applying that knowledge with openness to the possibility that you still don't understand the problems involved it's a never ending battle to educate yourself. I have not asked about the internationalization of web pages, I ask for an alternative a Pear package. As I have also written the websites are manually created and activated for years.I want to try out just a little and learn if you do not understand that the problem is not with me. Internationalization between large and small sites is the difference. The websites that I manage only a different date. For this need not study. That goes with nano and a good Database Sheet. Learning will never stop. The only thing that changes is the speed. As a child we hjaben knowledge absorbed, today I sweep only. Thank you for help, Kind Regards Silvio -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Pear Page2
On Jan 6, 2013, at 12:52 PM, Silvio Siefke siefke_lis...@web.de wrote: On Sun, 6 Jan 2013 11:36:39 -0500 Tedd Sperling t...@sperling.com wrote: So, where does that leave a Web Developer? It leaves them with the responsibility to learn and apply what they learned to their craft. Is there an easy way out, such as to use a certain framework, or CMS, or other such attempts at minimizing the work involved? The answer is a simple No. I simply asked a question, nothing more, nothing less. I looked for an alternative. I do not need a web developer. I'm not a web developer. I manage a few sites, most of my Customers are hosting customers. No offense meant, but therein lies the problem. Two fold: 1. You asked a question without the intent to learn and practice. 2. By your own admission, you are not a web developer and as such you cannot use our advice. This is similar to me asking about brain-surgery -- I don't know much about it, but I would be very reluctant to operate. You also said: I'm just wondering, why write an email to the matter is insignificant. On that point, I must agree -- I probably should not have answered. I should have seen you were having difficulties understanding what was being offered and passed on my contribution -- my apologies. I also realize there is a language problem here -- while I cannot speak your language, what you say in mine and my replies, may be misinterpreted -- but in any case, no offense was meant. I wish you well. Cheers, tedd _ t...@sperling.com http://sperling.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Pear Page2
On 6 Jan 2013, at 18:42, Tedd Sperling t...@sperling.com wrote: I also realize there is a language problem here -- while I cannot speak your language, what you say in mine and my replies, may be misinterpreted -- but in any case, no offense was meant. Indeed. I'm guessing that when Silvio said All websites are created manually. (nano + html/css Tags) he meant All of the websites are created manually. (nano + html/css Tags) meaning the sites he's working on rather than every site in existence. -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Pear Page2
Hello, On Sat, 05 Jan 2013 07:53:04 + Ashley Sheridan a...@ashleysheridan.co.uk wrote: I'm not sure quite what you'd expect such a module to do? Is this for templating? page2 creates complete websites. Would be useful because I'm sitting at the website internationalization. Template engines seem complicated. Thank you for help, Greetings Silvio -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Pear Page2
On Sat, 2013-01-05 at 15:23 +0100, Silvio Siefke wrote: Hello, On Sat, 05 Jan 2013 07:53:04 + Ashley Sheridan a...@ashleysheridan.co.uk wrote: I'm not sure quite what you'd expect such a module to do? Is this for templating? page2 creates complete websites. Would be useful because I'm sitting at the website internationalization. Template engines seem complicated. Thank you for help, Greetings Silvio I've just had a quick look at page2, and I can't say I see the point. You'd end up having to write a lot more code that was harder to manage by adding each element through a class like that if your site got even moderately complicated. There are many templating engines, and some are more complicated than others, don't write them off just yet. Technically speaking, page2 is a template engine of a kind, so you're already using one. Thanks, Ash http://www.ashleysheridan.co.uk
Re: [PHP] Pear Page2
On Sat, Jan 5, 2013 at 8:52 AM, Ashley Sheridan a...@ashleysheridan.co.uk wrote On Sat, 2013-01-05 at 15:23 +0100, Silvio Siefke wrote: On Sat, 05 Jan 2013 07:53:04 + Ashley Sheridan a...@ashleysheridan.co.uk wrote: I'm not sure quite what you'd expect such a module to do? Is this for templating? page2 creates complete websites. Would be useful because I'm sitting at the website internationalization. Template engines seem complicated. I've just had a quick look at page2, and I can't say I see the point. You'd end up having to write a lot more code that was harder to manage by adding each element through a class like that if your site got even moderately complicated. There are many templating engines, and some are more complicated than others, don't write them off just yet. Technically speaking, page2 is a template engine of a kind, so you're already using one. To build on Ash's remarks, I'd say don't over-engineer and complicate your application. HTML5 is dead easy to write directly -- unless you think your application is going to need to generate different flavours of (X)HTML, it may not be worth going the full-programmatic route like Page2 does. Internationalization is a pretty complex thing in and of itself (language preference detection, message catalog management, localized formatting, etc) that to also make the other parts of the presentation that complex are probably not where you want to spend your time. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Pear Page2
Hello, On Sat, 05 Jan 2013 14:52:12 + Ashley Sheridan a...@ashleysheridan.co.uk wrote: I've just had a quick look at page2, and I can't say I see the point. You'd end up having to write a lot more code that was harder to manage by adding each element through a class like that if your site got even moderately complicated. There are many templating engines, and some are more complicated than others, don't write them off just yet. Technically speaking, page2 is a template engine of a kind, so you're already using one. Page2 dominated not HTML5. The websites at issue are in HTML5 written. So an alternative must be sought to Page2. Thanks for help, Greetings Silvio -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Pear Page2
Silvio Siefke siefke_lis...@web.de wrote: Hello, On Sat, 05 Jan 2013 14:52:12 + Ashley Sheridan a...@ashleysheridan.co.uk wrote: I've just had a quick look at page2, and I can't say I see the point. You'd end up having to write a lot more code that was harder to manage by adding each element through a class like that if your site got even moderately complicated. There are many templating engines, and some are more complicated than others, don't write them off just yet. Technically speaking, page2 is a template engine of a kind, so you're already using one. Page2 dominated not HTML5. The websites at issue are in HTML5 written. So an alternative must be sought to Page2. Thanks for help, Greetings Silvio If the pages are already written, why do you want to start changing the way they've been built? Thanks, Ash http://www.ashleysheridan.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Pear Page2
Hello, On Sat, 05 Jan 2013 17:21:05 + Ashley Sheridan a...@ashleysheridan.co.uk wrote: If the pages are already written, why do you want to start changing the way they've been built? 1.) All websites are created manually. (nano + html/css Tags) 2.) The maintenance effort now is not enough. 3.) The programming (PHP) provides opportunities, which I'd like to meet. 4.) curiosity 5.) enough time Me was helped a lot in forums and mailing lists. I would like it back, because that's the idea of Open Source. Maybe I can help someone be in the distant future on a project. For that I must even try to learn once, and read. Is that all one reason or think I'm wrong? Thank you for help, Greetings Silvio -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Pear Page2
Silvio Siefke siefke_lis...@web.de wrote: Hello, On Sat, 05 Jan 2013 17:21:05 + Ashley Sheridan a...@ashleysheridan.co.uk wrote: If the pages are already written, why do you want to start changing the way they've been built? 1.) All websites are created manually. (nano + html/css Tags) 2.) The maintenance effort now is not enough. 3.) The programming (PHP) provides opportunities, which I'd like to meet. 4.) curiosity 5.) enough time Me was helped a lot in forums and mailing lists. I would like it back, because that's the idea of Open Source. Maybe I can help someone be in the distant future on a project. For that I must even try to learn once, and read. Is that all one reason or think I'm wrong? Thank you for help, Greetings Silvio What I would start to do is break out common parts of pages to include files. This would be stuff like headers, footers, sidebars, etc. From there, you could use variables to set things like titles, stylesheets, nav items, etc. I've had to do this recently on a project that was written as a bunch of static files. At worst, you could update the page2 templating engine to account for your new elements. But like I said, I think the very style page2 uses is extremely limiting, and will make maintenance later on. Thanks, Ash http://www.ashleysheridan.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Pear Page2
On Jan 5, 2013, at 3:11 PM, Silvio Siefke siefke_lis...@web.de wrote: On Sat, 05 Jan 2013 17:21:05 + Ashley Sheridan a...@ashleysheridan.co.uk wrote: If the pages are already written, why do you want to start changing the way they've been built? 1.) All websites are created manually. (nano + html/css Tags) Not mine. Cheers, tedd _ t...@sperling.com http://sperling.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Pear Page2
Hello, On Sat, 05 Jan 2013 20:36:12 + Ashley Sheridan a...@ashleysheridan.co.uk wrote: What I would start to do is break out common parts of pages to include files. This would be stuff like headers, footers, sidebars, etc. From there, you could use variables to set things like titles, stylesheets, nav items, etc. I've had to do this recently on a project that was written as a bunch of static files. That i try at moment. Headers, CSS and static Content. Other stuff come from database. Only the date's make little trouble. At worst, you could update the page2 templating engine to account for your new elements. But like I said, I think the very style page2 uses is extremely limiting, and will make maintenance later on. I think for static content were it good. What think about phptal? Thank you for help, Kind Regards Silvio -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Pear Page2
Hallo, On Sat, 5 Jan 2013 15:40:56 -0500 Tedd Sperling t...@sperling.com wrote: Not mine. What should me say this two words? You not use nano, ok. Editors enough on earth. Or you not write manually? Then share the way! Or use a CMS? Thank you for help, Kind Regards Silvio -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Pear Page2
On Sat, 2013-01-05 at 22:24 +0100, Silvio Siefke wrote: Hallo, On Sat, 5 Jan 2013 15:40:56 -0500 Tedd Sperling t...@sperling.com wrote: Not mine. What should me say this two words? You not use nano, ok. Editors enough on earth. Or you not write manually? Then share the way! Or use a CMS? Thank you for help, Kind Regards Silvio Personally, I favour CodeIgniter as a framework to handle stuff like routes and stuff. I do the templates like this: 1. Call up the template.php view and pass across name of content view to use for the page/section and other page-specific bits 2. Template view pulls in header view and populates it with default head stuff, which can be overridden with stuff from step 1 3. Template view pulls in the main content view which deals with that page 4. Template view pulls in footer view and populates it in the same way as header This is the most basic example, but often the template view will deal with other bits like navigation bars, sidebars, and other shared sections. You need not limit yourself to one template view either, you could have several depending on the section of the site. Thanks, Ash http://www.ashleysheridan.co.uk
Re: [PHP] Pear Page2
On Fri, Jan 4, 2013 at 8:18 PM, Silvio Siefke siefke_lis...@web.de wrote: Is there something similar to Pear/Page2 module, that can working with HTML5? Would phptal be of use? http://phptal.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Pear Page2
On Fri, 2013-01-04 at 20:44 -0600, tamouse mailing lists wrote: On Fri, Jan 4, 2013 at 8:18 PM, Silvio Siefke siefke_lis...@web.de wrote: Is there something similar to Pear/Page2 module, that can working with HTML5? Would phptal be of use? http://phptal.org/ I'm not sure quite what you'd expect such a module to do? Is this for templating? Thanks, Ash http://www.ashleysheridan.co.uk
Re: [PHP] Pear Mail - Trap for errors?
On Thu, Nov 15, 2012 at 9:52 AM, Rick Dwyer rpdw...@earthlink.net wrote: Same result… which is to say no error returned even for messages sent with no email in the to address field. Okay, that is odd. If I try it with a blank I get a failure saying that it has a bad address. See: https://gist.github.com/4085385 for test output and code. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Pear Mail - Trap for errors?
On Nov 14, 2012, at 10:48 PM, tamouse mailing lists tamouse.li...@gmail.com wrote: On Wed, Nov 14, 2012 at 7:19 PM, Rick Dwyer rpdw...@earthlink.net wrote: Hello all. I have some Pear Mail code composing an email and sending it to an external smtp server for sending. The issue is determining whether that external server actually accepted the mail or not. In the IF(PEAR… code below, it will return success even if I leave the $to value empty. However, if I remove the smtp username or password, it will return an error indicating it could not reach the remote server. So the Pear::IsError function seems to only reflect if the intended server was accessible… and not if the intended server accepted the outgoing email for delivery. Anyone have experience with the scenario below… specifically with determining if the smtp server accepted the mail for delivery? Thanks for any info. --Rick require_once Mail.php; $from = f...@address.com; $to = t...@address.com; $subject = Hello!; $body = Hello!; $host = mail.host.net; $username = myuser; $password = mypass; $headers = array ('From' = $from,'To' = $to,'Subject' = $subject); $smtp = Mail::factory('smtp',array ('host' = $host,'auth' = true,'username' = $username,'password' = $password)); I'd suggest putting a check here to see if $smtp is a PEAR::Error object as well: if (PEAR::isError($smtp)) { echo (p . $smtp-getMessage() . /p); // die or return or skip the next part, whatever } else { Same result… which is to say no error returned even for messages sent with no email in the to address field. --Rick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Pear Mail - Trap for errors?
On Wed, Nov 14, 2012 at 7:19 PM, Rick Dwyer rpdw...@earthlink.net wrote: Hello all. I have some Pear Mail code composing an email and sending it to an external smtp server for sending. The issue is determining whether that external server actually accepted the mail or not. In the IF(PEAR… code below, it will return success even if I leave the $to value empty. However, if I remove the smtp username or password, it will return an error indicating it could not reach the remote server. So the Pear::IsError function seems to only reflect if the intended server was accessible… and not if the intended server accepted the outgoing email for delivery. Anyone have experience with the scenario below… specifically with determining if the smtp server accepted the mail for delivery? Thanks for any info. --Rick require_once Mail.php; $from = f...@address.com; $to = t...@address.com; $subject = Hello!; $body = Hello!; $host = mail.host.net; $username = myuser; $password = mypass; $headers = array ('From' = $from,'To' = $to,'Subject' = $subject); $smtp = Mail::factory('smtp',array ('host' = $host,'auth' = true,'username' = $username,'password' = $password)); I'd suggest putting a check here to see if $smtp is a PEAR::Error object as well: if (PEAR::isError($smtp)) { echo (p . $smtp-getMessage() . /p); // die or return or skip the next part, whatever } else { $mail = $smtp-send($to, $headers, $body); if (PEAR::isError($mail)) { echo(p . $mail-getMessage() . /p); } else { echo(pMessage successfully sent!/p); } } -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Pear Auth problem
Hello. I am trying to use pear Auth packet but am doing something wrong. I am currently looking at the simple example in the documentation, but something is wrong in my source code, because if I write a username and a password in the fields and hit the submit button, I receive a blank pages without any informatio at all.. Here is my source code: --- ?php require_once('Auth.php'); if(!isset($_POST['submit'])){ function loginFunction($username = null, $status = null, $auth = null){ ? form action=index.php method=post fieldset legendLogin:/legend p label for=usernameUsername:/labelbr input id=username name=username type=text /p p label for=passwordPassword:/labelbr input id=password name=password type=password /p p input id=submit name=submit type=submit value=Login /p /fieldset /form ?php } $options = array( 'dsn' = mysql://username:password@localhost/database, ); $a = new Auth(DB, $options, loginFunction); $a-start(); if($a-checkAuth()){ header(Location: http://www.karl-arne.name/;); } } ? The example is located at: http://pear.php.net/manual/en/package.authentication.auth.intro.php Karl, You'll want to turn on error reporting so you can start to get a peak into what is happening.. Do you know how to do that? (... so that you get more info. than just a blank page). -Govinda -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PEAR Mail $obj-send()
On 7/8/2011 9:50 AM, Brian Smither wrote: A client has: PHP 5.3 on Win7x64 running a local web app that needs to send mail. (This app was once hosted on a linux-based hosted space.) Apache 2.2 is installed but apparently not being used. I think the IIS service is actually the web server that is engaged. During troubleshooting a wide range of problems, I discovered that the PEAR Mail module needed to be installed. So I installed PEAR (the PEAR Installer) and the Mail module with all dependencies. The PEAR_ENV was added. The system was rebooted. A test php script instantiates the Mail class and the script proceeds fine until the send() method is called. I get a browser with Waiting for localhost for more than 60 seconds. (I used die(); to trace the script. Instead of 'auth'= true, I used 'auth' = PLAIN as suggested by a user comment on the Mail documentation page.) Do you have a mail server running on localhost? If the previous system was linux, then it was probably handing it off to sendmail. If you do not have a local MTA then you need to change the params so it uses a remote mail server. I believe all the parameters are correct. The actual web app works - except emailing. I added a firewall rule allowing outbound port 465 just for kicks. I can double-check for the PHP timeout setting but would PHP timeout in this case (waiting for a socket??)? Any suggestions? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PEAR PHP
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/30/2011 05:43 AM, Ethan Rosenberg wrote: Dear list - I enter the command pear list, and get errors. See below -- ethan@rosenberg:/usr/lib/php5$ ls -l total 12 drwxr-xr-x 2 root root 4096 Jan 6 00:53 20090626+lfs drwxr-xr-x 2 root root 4096 Jul 18 2010 libexec -rwxr-xr-x 1 root root 596 Jan 5 08:09 maxlifetime ethan@rosenberg:/usr/lib/php5$ pear list PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626+lfs/msql.so' - /usr/lib/php5/20090626+lfs/msql.so: cannot open shared object file: No such file or directory in Unknown on line 0 font color=#ff Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626+lfs/msql.so' - /usr/lib/php5/20090626+lfs/msql.so: cannot open shared object file: No such file or directory in Unknown on line 0 /fontInstalled packages, channel pear.php.net: = Package Version State Archive_Tar 1.3.7 stable Console_Getopt 1.2.3 stable PEAR 1.9.1 stable Structures_Graph 1.0.3 stable Validate_US 0.5.4 beta XML_Util 1.2.1 stable ethan@rosenberg:/usr/lib/php5$ cd 20090626+lfs ethan@rosenberg:/usr/lib/php5/20090626+lfs$ ls -l total 560 -rw-r--r-- 1 root root 95596 Jan 5 08:09 gd.so -rw-r--r-- 1 root root 38272 Jan 5 08:09 mcrypt.so -rw-r--r-- 1 root root 109220 Jan 5 08:09 mysqli.so -rw-r--r-- 1 root root 42352 Jan 5 08:09 mysql.so -rw-r--r-- 1 root root 26116 Jan 5 08:09 pdo_mysql.so -rw-r--r-- 1 root root 87588 Jan 5 08:09 pdo.so -rw-r--r-- 1 root root 141336 Aug 19 04:04 suhosin.so ethan@rosenberg:/usr/lib/php5/20090626+lfs$ Help and advice, please. Thanks. Ethan MySQL 5.1 PHP 5.3.3-6 Linux [Debian (sid)] msql.so is missing. So either install it. Or comment it out in php.ini -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAEBAgAGBQJNRSFUAAoJEMffsHAOnubXNQoP/ikY2NC0XaQUJ+58OHMKpTQA SujpSidNfvi+tnBKI4GylQrmGVglf1DnFAxNVo1KT8hXtdXBGCr146sf6vmqri6C gIxna2KQI5NLLAxAoYnZdGkf/e0sKQSv/W1PMH41CbcjIiuIFL+TY5ZXHcEsLWfV R0HorzKxwfPrM7rr5JIE/iIu3dOsjDGzefHT3d4hVYzausDa2YKqB6pBiH2VW4P+ SgJKsMaEVmkK38zv38BboCiJUVaIT5/istPMojQlVdoohp0j+XsIMNysAE5wzI6S iE5Ag8awxy7kR9dfjxt3OjBW29ooSKMCUkSyRz/bW1rVrOqpqRnApXM6AOibOWE1 woKFMUF1CuZ5NVm54IqRp8Fh64mr0gWFtGCgG38B2zsOqycwHDx9bGsITYYIxpeE p3QfhOKmor9fZ8fOzcDeivitJUk26fCvJd1AYewQ9rjmHMKSmx6LpLxsgDoVO8yk yGVTQF3lLkLAAAa0Hx5OeYaANkTo3+r1zEw7GaqLCoto3UxuZp7Zu/pZC8B/e8PA M2OPRQfKQy0eA9BDFlLgOYTIppPnN7RZWFAu0+5gwI6t8NpnMlbNOWaPsRkg9VX/ f4MZ2bzHBQlW9gesGAjHVtGaCuTtmQn3f10MxfkXE+Zz5/Rd6UXo78cj5muURU4x TLXCLnNK6ZEiavTmmqoi =UTPb -END PGP SIGNATURE- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PEAR PHP
At 03:29 AM 1/30/2011, Thijs Lensselink wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/30/2011 05:43 AM, Ethan Rosenberg wrote: Dear list - I enter the command pear list, and get errors. See below -- ethan@rosenberg:/usr/lib/php5$ ls -l total 12 drwxr-xr-x 2 root root 4096 Jan 6 00:53 20090626+lfs drwxr-xr-x 2 root root 4096 Jul 18 2010 libexec -rwxr-xr-x 1 root root 596 Jan 5 08:09 maxlifetime ethan@rosenberg:/usr/lib/php5$ pear list PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626+lfs/msql.so' - /usr/lib/php5/20090626+lfs/msql.so: cannot open shared object file: No such file or directory in Unknown on line 0 font color=#ff Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626+lfs/msql.so' - /usr/lib/php5/20090626+lfs/msql.so: cannot open shared object file: No such file or directory in Unknown on line 0 /fontInstalled packages, channel pear.php.net: = Package Version State Archive_Tar 1.3.7 stable Console_Getopt 1.2.3 stable PEAR 1.9.1 stable Structures_Graph 1.0.3 stable Validate_US 0.5.4 beta XML_Util 1.2.1 stable ethan@rosenberg:/usr/lib/php5$ cd 20090626+lfs ethan@rosenberg:/usr/lib/php5/20090626+lfs$ ls -l total 560 -rw-r--r-- 1 root root 95596 Jan 5 08:09 gd.so -rw-r--r-- 1 root root 38272 Jan 5 08:09 mcrypt.so -rw-r--r-- 1 root root 109220 Jan 5 08:09 mysqli.so -rw-r--r-- 1 root root 42352 Jan 5 08:09 mysql.so -rw-r--r-- 1 root root 26116 Jan 5 08:09 pdo_mysql.so -rw-r--r-- 1 root root 87588 Jan 5 08:09 pdo.so -rw-r--r-- 1 root root 141336 Aug 19 04:04 suhosin.so ethan@rosenberg:/usr/lib/php5/20090626+lfs$ Help and advice, please. Thanks. Ethan MySQL 5.1 PHP 5.3.3-6 Linux [Debian (sid)] msql.so is missing. So either install it. Or comment it out in php.ini -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php ++ Thank you. You are correct, msql is not installed. 1] How do I install it? apt-get install does not find the package. 2] Excuse my ignorance, what is a dynamic extension? Ethan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PEAR PHP
Ethan Rosenberg eth...@earthlink.net wrote: At 03:29 AM 1/30/2011, Thijs Lensselink wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/30/2011 05:43 AM, Ethan Rosenberg wrote: Dear list - I enter the command pear list, and get errors. See below -- ethan@rosenberg:/usr/lib/php5$ ls -l total 12 drwxr-xr-x 2 root root 4096 Jan 6 00:53 20090626+lfs drwxr-xr-x 2 root root 4096 Jul 18 2010 libexec -rwxr-xr-x 1 root root 596 Jan 5 08:09 maxlifetime ethan@rosenberg:/usr/lib/php5$ pear list PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626+lfs/msql.so' - /usr/lib/php5/20090626+lfs/msql.so: cannot open shared object file: No such file or directory in Unknown on line 0 font color=#ff Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626+lfs/msql.so' - /usr/lib/php5/20090626+lfs/msql.so: cannot open shared object file: No such file or directory in Unknown on line 0 /fontInstalled packages, channel pear.php.net: = Package Version State Archive_Tar 1.3.7 stable Console_Getopt 1.2.3 stable PEAR 1.9.1 stable Structures_Graph 1.0.3 stable Validate_US 0.5.4 beta XML_Util 1.2.1 stable ethan@rosenberg:/usr/lib/php5$ cd 20090626+lfs ethan@rosenberg:/usr/lib/php5/20090626+lfs$ ls -l total 560 -rw-r--r-- 1 root root 95596 Jan 5 08:09 gd.so -rw-r--r-- 1 root root 38272 Jan 5 08:09 mcrypt.so -rw-r--r-- 1 root root 109220 Jan 5 08:09 mysqli.so -rw-r--r-- 1 root root 42352 Jan 5 08:09 mysql.so -rw-r--r-- 1 root root 26116 Jan 5 08:09 pdo_mysql.so -rw-r--r-- 1 root root 87588 Jan 5 08:09 pdo.so -rw-r--r-- 1 root root 141336 Aug 19 04:04 suhosin.so ethan@rosenberg:/usr/lib/php5/20090626+lfs$ Help and advice, please. Thanks. Ethan MySQL 5.1 PHP 5.3.3-6 Linux [Debian (sid)] msql.so is missing. So either install it. Or comment it out in php.ini -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php ++ Thank you. You are correct, msql is not installed. 1] How do I install it? apt-get install does not find the package. 2] Excuse my ignorance, what is a dynamic extension? Ethan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php I noticed you mis-typed mysql as msql there, did you try apt-get mysql or msql? Mysql comes with every Linux distro I've ever used, so it should be there in your standard repositories. Thanks Ash http://www.ashleysheridan.co.uk -- Sent from my Android phone with K-9 Mail. Please excuse my brevity. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PEAR PHP
Ashley Sheridan a...@ashleysheridan.co.uk wrote: Ethan Rosenberg eth...@earthlink.net wrote: At 03:29 AM 1/30/2011, Thijs Lensselink wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/30/2011 05:43 AM, Ethan Rosenberg wrote: Dear list - I enter the command pear list, and get errors. See below -- ethan@rosenberg:/usr/lib/php5$ ls -l total 12 drwxr-xr-x 2 root root 4096 Jan 6 00:53 20090626+lfs drwxr-xr-x 2 root root 4096 Jul 18 2010 libexec -rwxr-xr-x 1 root root 596 Jan 5 08:09 maxlifetime ethan@rosenberg:/usr/lib/php5$ pear list PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626+lfs/msql.so' - /usr/lib/php5/20090626+lfs/msql.so: cannot open shared object file: No such file or directory in Unknown on line 0 font color=#ff Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626+lfs/msql.so' - /usr/lib/php5/20090626+lfs/msql.so: cannot open shared object file: No such file or directory in Unknown on line 0 /fontInstalled packages, channel pear.php.net: = Package Version State Archive_Tar 1.3.7 stable Console_Getopt 1.2.3 stable PEAR 1.9.1 stable Structures_Graph 1.0.3 stable Validate_US 0.5.4 beta XML_Util 1.2.1 stable ethan@rosenberg:/usr/lib/php5$ cd 20090626+lfs ethan@rosenberg:/usr/lib/php5/20090626+lfs$ ls -l total 560 -rw-r--r-- 1 root root 95596 Jan 5 08:09 gd.so -rw-r--r-- 1 root root 38272 Jan 5 08:09 mcrypt.so -rw-r--r-- 1 root root 109220 Jan 5 08:09 mysqli.so -rw-r--r-- 1 root root 42352 Jan 5 08:09 mysql.so -rw-r--r-- 1 root root 26116 Jan 5 08:09 pdo_mysql.so -rw-r--r-- 1 root root 87588 Jan 5 08:09 pdo.so -rw-r--r-- 1 root root 141336 Aug 19 04:04 suhosin.so ethan@rosenberg:/usr/lib/php5/20090626+lfs$ Help and advice, please. Thanks. Ethan MySQL 5.1 PHP 5.3.3-6 Linux [Debian (sid)] msql.so is missing. So either install it. Or comment it out in php.ini -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php ++ Thank you. You are correct, msql is not installed. 1] How do I install it? apt-get install does not find the package. 2] Excuse my ignorance, what is a dynamic extension? Ethan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php I noticed you mis-typed mysql as msql there, did you try apt-get mysql or msql? Mysql comes with every Linux distro I've ever used, so it should be there in your standard repositories. Thanks Ash http://www.ashleysheridan.co.uk -- Sent from my Android phone with K-9 Mail. Please excuse my brevity. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Sorry, I misread the error messages there, ignore that last message! Thanks Ash http://www.ashleysheridan.co.uk -- Sent from my Android phone with K-9 Mail. Please excuse my brevity. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PEAR PHP
At 01:51 PM 1/30/2011, Ashley Sheridan wrote: Ashley Sheridan a...@ashleysheridan.co.uk wrote: Ethan Rosenberg eth...@earthlink.net wrote: At 03:29 AM 1/30/2011, Thijs Lensselink wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/30/2011 05:43 AM, Ethan Rosenberg wrote: Dear list - I enter the command pear list, and get errors. See below -- ethan@rosenberg:/usr/lib/php5$ ls -l total 12 drwxr-xr-x 2 root root 4096 Jan 6 00:53 20090626+lfs drwxr-xr-x 2 root root 4096 Jul 18 2010 libexec -rwxr-xr-x 1 root root 596 Jan 5 08:09 maxlifetime ethan@rosenberg:/usr/lib/php5$ pear list PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626+lfs/msql.so' - /usr/lib/php5/20090626+lfs/msql.so: cannot open shared object file: No such file or directory in Unknown on line 0 font color=#ff Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626+lfs/msql.so' - /usr/lib/php5/20090626+lfs/msql.so: cannot open shared object file: No such file or directory in Unknown on line 0 /fontInstalled packages, channel pear.php.net: = Package Version State Archive_Tar 1.3.7 stable Console_Getopt 1.2.3 stable PEAR 1.9.1 stable Structures_Graph 1.0.3 stable Validate_US 0.5.4 beta XML_Util 1.2.1 stable ethan@rosenberg:/usr/lib/php5$ cd 20090626+lfs ethan@rosenberg:/usr/lib/php5/20090626+lfs$ ls -l total 560 -rw-r--r-- 1 root root 95596 Jan 5 08:09 gd.so -rw-r--r-- 1 root root 38272 Jan 5 08:09 mcrypt.so -rw-r--r-- 1 root root 109220 Jan 5 08:09 mysqli.so -rw-r--r-- 1 root root 42352 Jan 5 08:09 mysql.so -rw-r--r-- 1 root root 26116 Jan 5 08:09 pdo_mysql.so -rw-r--r-- 1 root root 87588 Jan 5 08:09 pdo.so -rw-r--r-- 1 root root 141336 Aug 19 04:04 suhosin.so ethan@rosenberg:/usr/lib/php5/20090626+lfs$ Help and advice, please. Thanks. Ethan MySQL 5.1 PHP 5.3.3-6 Linux [Debian (sid)] msql.so is missing. So either install it. Or comment it out in php.ini -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php ++ Thank you. You are correct, msql is not installed. 1] How do I install it? apt-get install does not find the package. 2] Excuse my ignorance, what is a dynamic extension? Ethan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php I noticed you mis-typed mysql as msql there, did you try apt-get mysql or msql? Mysql comes with every Linux distro I've ever used, so it should be there in your standard repositories. Thanks Ash http://www.ashleysheridan.co.uk -- Sent from my Android phone with K-9 Mail. Please excuse my brevity. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Sorry, I misread the error messages there, ignore that last message! Thanks Ash http://www.ashleysheridan.co.uk -- Sent from my Android phone with K-9 Mail. Please excuse my brevity. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php ++ Ashley - I make more mistakes reading emails than you do!! Would you [or anyone else on this list] please help me with my questions 1] How do I install it? [msql NOT mysql] apt-get install does not find the package. 2] Excuse my ignorance, what is a dynamic extension? Thanks. Ethan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PEAR PHP
On 1/30/2011 2:34 PM, Ethan Rosenberg wrote: I make more mistakes reading emails than you do!! Would you [or anyone else on this list] please help me with my questions 1] How do I install it? [msql NOT mysql] apt-get install does not find the package. http://www.google.com Enter your distro apt-get install msql ... I entered linux apt-get install msql and the second result I get is this http://ubuntuforums.org/archive/index.php/t-350269.html If your distro is not ubuntu, I'm sorry, but you haven't said what you are running yet. 2] Excuse my ignorance, what is a dynamic extension? Again, http://www.google.com Enter what is a dynamic extension ... Here is a good result from the list returned http://www.atnf.csiro.au/computing/software/karma/programmer-manual/node17.html Thanks. Ethan I hope this gets you headed down the right path. Jim Lucas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Pear Problems
On Fri, Jan 28, 2011 at 00:33, Ethan Rosenberg eth...@earthlink.net wrote: Please take a look at php.ini in the vicinity of line 510. You will see the construct to which I refer. Can you explain what is going on? I do not think it is a problem with commenting out a line. Any ideas from the rest of the list? Keep in mind that php.ini is not universal, and changes drastically with version, distribution, CLI vs. web, customization, and more. The answer that Adam gave you is absolutely correct with regard to the information you provided. You need to put a semicolon before the line you quoted as being line 510 in your php.ini. The directive you want is error_reporting, and should look like so: error_reporting = E_ALL ~E_NOTICE -- /Daniel P. Brown Network Infrastructure Manager Documentation, Webmaster Teams http://www.php.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Pear Problems
At 01:54 AM 1/27/2011, Adam Richardson wrote: On Thu, Jan 27, 2011 at 1:01 AM, Ethan Rosenberg eth...@earthlink.netwrote: Dear List - I am executing the command pear list. This is what I get - ethan@rosenberg:/usr/bin$ pear list PHP: syntax error, unexpected '' in /etc/php5/cli/php.ini on line 510 Installed packages, channel pear.php.net: = Package Version State Archive_Tar 1.3.7 stable Console_Getopt 1.2.3 stable PEAR 1.9.1 stable Structures_Graph 1.0.3 stable Validate_US 0.5.4 beta XML_Util 1.2.1 stable ethan@rosenberg:/usr/bin$ This is line 510 Default Value: E_ALL ~E_NOTICE That line should likely be commented out (it was probably originally commented out and then somebody accidentally uncommented.) Most php.ini files follow the convention (notice that there's no colon in the example): some_name = some_value Happy coding, Adam -- Nephtali: A simple, flexible, fast, and security-focused PHP framework http://nephtaliproject.com Adam - Thanks. Please take a look at php.ini in the vicinity of line 510. You will see the construct to which I refer. Can you explain what is going on? I do not think it is a problem with commenting out a line. Any ideas from the rest of the list? Ethan MySQL 5.1 PHP 5.3.3-6 Linux [Debian (sid)] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Pear Problems
On Thu, Jan 27, 2011 at 1:01 AM, Ethan Rosenberg eth...@earthlink.netwrote: Dear List - I am executing the command pear list. This is what I get - ethan@rosenberg:/usr/bin$ pear list PHP: syntax error, unexpected '' in /etc/php5/cli/php.ini on line 510 Installed packages, channel pear.php.net: = Package Version State Archive_Tar 1.3.7 stable Console_Getopt 1.2.3 stable PEAR 1.9.1 stable Structures_Graph 1.0.3 stable Validate_US 0.5.4 beta XML_Util 1.2.1 stable ethan@rosenberg:/usr/bin$ This is line 510 Default Value: E_ALL ~E_NOTICE That line should likely be commented out (it was probably originally commented out and then somebody accidentally uncommented.) Most php.ini files follow the convention (notice that there's no colon in the example): some_name = some_value Happy coding, Adam -- Nephtali: A simple, flexible, fast, and security-focused PHP framework http://nephtaliproject.com
Re: [PHP] pear for fedora 11
On Tue, 2010-03-09 at 23:06 +0800, Edward. S. P. Leong wrote: Ashley Sheridan wrote: On Mon, 2010-03-08 at 22:39 +0800, Edward. S. P. Leong wrote: Ashley Sheridan wrote: On Mon, 2010-03-08 at 01:07 +0800, Edward. S. P. Leong wrote: Dear All, Which can we download pear ann install into fc 11 system ? Thank for your help ! Edward. I'm not sure I understand your question. Do you mean what Pear components can be installed on a Fedora 11 system? I'm running Fedora 11 on my desktop and laptop at the moment, and both systems are running 5.2.12, so any of the Pear modules that say they will run on that are fine. If you need to check to see what version of PHP is running, in a console or text login, type 'yum list php' and you'll get a line that reads something like: php.i5865.2.12-1.fc11@updates Thanks, Ash http://www.ashleysheridan.co.uk Dear Ash, 1, My means is where can we download the pear and install it into the fedora 11 system ? Due to our web server : [pear]# pwd /usr/share/pear [pear]# dir Archive data OS pearcmd.php peclcmd.php System.php XML Console doc PEAR PEAR.php Structures test [pear]# So, it is not update ( pear ) ? 2, Would you mind to send me your php config ( php.ini ) and Web Server config ( httpd.conf ) as sample ? Due to our Web Server is problem : After upload all of homepage data ( php format ) to Web Server, then type http://ip or domain_name the result is blank page... Thank for your help ! Edward. If you're getting a blank page, the first port of call is your error log. At a console type: sudo tail -f /var/log/httpd/error_log which should then continually update itself with a list of errors as and when they occur, which will be useful to you if you need to view the log while you're debugging. This file is only readable by the root user. My config files won't be that much help I don't think, as the setup of both our servers will be quite different. How did you try to install Pear on your Fedora 11 system? The package manager that comes with Fedora (I use KPackageKit on KDE) allows you install and remove Pear modules as you need. Thanks, Ash http://www.ashleysheridan.co.uk Dear Ash, When I tried to install pear from the net into our server ( FC11 64Bit ) as the following cmd : [root]# yum install pear Loaded plugins: refresh-packagekit Setting up Install Process No package pear available. Nothing to do [root]# So, I ask for the solution here ( for help )... Hope anyone or you can help me... Edward. By default yum matches the beginning of the package name. As there is no package called pear, it finds nothing. Instead, you can use: yum install php-pear* to install all the php-pear packages, or install them as you need by: yum install php-pear-subpackage Thanks, Ash http://www.ashleysheridan.co.uk
Re: [PHP] pear for fedora 11
Ashley Sheridan wrote: On Tue, 2010-03-09 at 23:06 +0800, Edward. S. P. Leong wrote: Ashley Sheridan wrote: On Mon, 2010-03-08 at 22:39 +0800, Edward. S. P. Leong wrote: Ashley Sheridan wrote: On Mon, 2010-03-08 at 01:07 +0800, Edward. S. P. Leong wrote: Dear All, Which can we download pear ann install into fc 11 system ? Thank for your help ! Edward. I'm not sure I understand your question. Do you mean what Pear components can be installed on a Fedora 11 system? I'm running Fedora 11 on my desktop and laptop at the moment, and both systems are running 5.2.12, so any of the Pear modules that say they will run on that are fine. If you need to check to see what version of PHP is running, in a console or text login, type 'yum list php' and you'll get a line that reads something like: php.i5865.2.12-1.fc11@updates Thanks, Ash http://www.ashleysheridan.co.uk Dear Ash, 1, My means is where can we download the pear and install it into the fedora 11 system ? Due to our web server : [pear]# pwd /usr/share/pear [pear]# dir Archive data OS pearcmd.php peclcmd.php System.php XML Console doc PEAR PEAR.php Structures test [pear]# So, it is not update ( pear ) ? 2, Would you mind to send me your php config ( php.ini ) and Web Server config ( httpd.conf ) as sample ? Due to our Web Server is problem : After upload all of homepage data ( php format ) to Web Server, then type http://ip or domain_name the result is blank page... Thank for your help ! Edward. If you're getting a blank page, the first port of call is your error log. At a console type: sudo tail -f /var/log/httpd/error_log which should then continually update itself with a list of errors as and when they occur, which will be useful to you if you need to view the log while you're debugging. This file is only readable by the root user. My config files won't be that much help I don't think, as the setup of both our servers will be quite different. How did you try to install Pear on your Fedora 11 system? The package manager that comes with Fedora (I use KPackageKit on KDE) allows you install and remove Pear modules as you need. Thanks, Ash http://www.ashleysheridan.co.uk Dear Ash, When I tried to install pear from the net into our server ( FC11 64Bit ) as the following cmd : [root]# yum install pear Loaded plugins: refresh-packagekit Setting up Install Process No package pear available. Nothing to do [root]# So, I ask for the solution here ( for help )... Hope anyone or you can help me... Edward. By default yum matches the beginning of the package name. As there is no package called pear, it finds nothing. Instead, you can use: yum install php-pear* to install all the php-pear packages, or install them as you need by: yum install php-pear-subpackage Thanks, Ash http://www.ashleysheridan.co.uk Dear Ash, 1, Thank for your technical support of the installation / update operation 2, If your is FC11 System, so, would you mind to send me ( edwardspl...@gmail.com ) your php.ini ( config ) for reference ? Thanks !
Re: [PHP] pear for fedora 11
Ashley Sheridan wrote: On Mon, 2010-03-08 at 22:39 +0800, Edward. S. P. Leong wrote: Ashley Sheridan wrote: On Mon, 2010-03-08 at 01:07 +0800, Edward. S. P. Leong wrote: Dear All, Which can we download pear ann install into fc 11 system ? Thank for your help ! Edward. I'm not sure I understand your question. Do you mean what Pear components can be installed on a Fedora 11 system? I'm running Fedora 11 on my desktop and laptop at the moment, and both systems are running 5.2.12, so any of the Pear modules that say they will run on that are fine. If you need to check to see what version of PHP is running, in a console or text login, type 'yum list php' and you'll get a line that reads something like: php.i5865.2.12-1.fc11@updates Thanks, Ash http://www.ashleysheridan.co.uk Dear Ash, 1, My means is where can we download the pear and install it into the fedora 11 system ? Due to our web server : [pear]# pwd /usr/share/pear [pear]# dir Archive data OS pearcmd.php peclcmd.php System.php XML Console doc PEAR PEAR.php Structures test [pear]# So, it is not update ( pear ) ? 2, Would you mind to send me your php config ( php.ini ) and Web Server config ( httpd.conf ) as sample ? Due to our Web Server is problem : After upload all of homepage data ( php format ) to Web Server, then type http://ip or domain_name the result is blank page... Thank for your help ! Edward. If you're getting a blank page, the first port of call is your error log. At a console type: sudo tail -f /var/log/httpd/error_log which should then continually update itself with a list of errors as and when they occur, which will be useful to you if you need to view the log while you're debugging. This file is only readable by the root user. My config files won't be that much help I don't think, as the setup of both our servers will be quite different. How did you try to install Pear on your Fedora 11 system? The package manager that comes with Fedora (I use KPackageKit on KDE) allows you install and remove Pear modules as you need. Thanks, Ash http://www.ashleysheridan.co.uk Dear Ash, When I tried to install pear from the net into our server ( FC11 64Bit ) as the following cmd : [root]# yum install pear Loaded plugins: refresh-packagekit Setting up Install Process No package pear available. Nothing to do [root]# So, I ask for the solution here ( for help )... Hope anyone or you can help me... Edward.
Re: [PHP] pear for fedora 11
Ashley Sheridan wrote: On Mon, 2010-03-08 at 01:07 +0800, Edward. S. P. Leong wrote: Dear All, Which can we download pear ann install into fc 11 system ? Thank for your help ! Edward. I'm not sure I understand your question. Do you mean what Pear components can be installed on a Fedora 11 system? I'm running Fedora 11 on my desktop and laptop at the moment, and both systems are running 5.2.12, so any of the Pear modules that say they will run on that are fine. If you need to check to see what version of PHP is running, in a console or text login, type 'yum list php' and you'll get a line that reads something like: php.i5865.2.12-1.fc11@updates Thanks, Ash http://www.ashleysheridan.co.uk Dear Ash, 1, My means is where can we download the pear and install it into the fedora 11 system ? Due to our web server : [pear]# pwd /usr/share/pear [pear]# dir Archive data OS pearcmd.php peclcmd.php System.php XML Console doc PEAR PEAR.php Structures test [pear]# So, it is not update ( pear ) ? 2, Would you mind to send me your php config ( php.ini ) and Web Server config ( httpd.conf ) as sample ? Due to our Web Server is problem : After upload all of homepage data ( php format ) to Web Server, then type http://ip or domain_name the result is blank page... Thank for your help ! Edward.
Re: [PHP] pear for fedora 11
On Mon, 2010-03-08 at 22:39 +0800, Edward. S. P. Leong wrote: Ashley Sheridan wrote: On Mon, 2010-03-08 at 01:07 +0800, Edward. S. P. Leong wrote: Dear All, Which can we download pear ann install into fc 11 system ? Thank for your help ! Edward. I'm not sure I understand your question. Do you mean what Pear components can be installed on a Fedora 11 system? I'm running Fedora 11 on my desktop and laptop at the moment, and both systems are running 5.2.12, so any of the Pear modules that say they will run on that are fine. If you need to check to see what version of PHP is running, in a console or text login, type 'yum list php' and you'll get a line that reads something like: php.i5865.2.12-1.fc11@updates Thanks, Ash http://www.ashleysheridan.co.uk Dear Ash, 1, My means is where can we download the pear and install it into the fedora 11 system ? Due to our web server : [pear]# pwd /usr/share/pear [pear]# dir Archive data OS pearcmd.php peclcmd.php System.php XML Console doc PEAR PEAR.php Structures test [pear]# So, it is not update ( pear ) ? 2, Would you mind to send me your php config ( php.ini ) and Web Server config ( httpd.conf ) as sample ? Due to our Web Server is problem : After upload all of homepage data ( php format ) to Web Server, then type http://ip or domain_name the result is blank page... Thank for your help ! Edward. If you're getting a blank page, the first port of call is your error log. At a console type: sudo tail -f /var/log/httpd/error_log which should then continually update itself with a list of errors as and when they occur, which will be useful to you if you need to view the log while you're debugging. This file is only readable by the root user. My config files won't be that much help I don't think, as the setup of both our servers will be quite different. How did you try to install Pear on your Fedora 11 system? The package manager that comes with Fedora (I use KPackageKit on KDE) allows you install and remove Pear modules as you need. Thanks, Ash http://www.ashleysheridan.co.uk
Re: [PHP] pear for fedora 11
On Mon, 2010-03-08 at 01:07 +0800, Edward. S. P. Leong wrote: Dear All, Which can we download pear ann install into fc 11 system ? Thank for your help ! Edward. I'm not sure I understand your question. Do you mean what Pear components can be installed on a Fedora 11 system? I'm running Fedora 11 on my desktop and laptop at the moment, and both systems are running 5.2.12, so any of the Pear modules that say they will run on that are fine. If you need to check to see what version of PHP is running, in a console or text login, type 'yum list php' and you'll get a line that reads something like: php.i5865.2.12-1.fc11@updates Thanks, Ash http://www.ashleysheridan.co.uk
Re: [PHP] PEAR clases don't work with PHP 5.3
Martín Marqués wrote: A few days ago I upgraded my development server with PHP 5.3, and found that some pear packages stopped working giving FATAL ERRORs, like this (this one is from package Image_Graph): PHP Fatal error: Call to undefined method Image_Graph_Plotarea_Element::Image_Graph_Element() in /usr/share/php/Image/Graph/Layout.php on line 73 I found that the problem is when calling the parents constructors like parent::ClassName. Changing that fixes the problem, but there are alot of clases with this problem. Are these problems being addressed? I found similar problems with some of the pear stuff I use when I tried 5.3.0 awhile back. For the present, I am just sticking with 5.2.x branch and will give some time for the various pear maintainers to work out the kinks. One thing you can do is file bug reports with the pear components you use. I did not because I moved my test server back to 5.2.x thus I would have no way of testing whether the fixes actually worked, but if you have a box you can dedicate to 5.3.x testing, file the bug reports and it will bring the problem to the attention of the pear maintainers. Some pear packages are better maintained than others. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PEAR clases don't work with PHP 5.3
Michael A. Peters wrote: Martín Marqués wrote: A few days ago I upgraded my development server with PHP 5.3, and found that some pear packages stopped working giving FATAL ERRORs, like this (this one is from package Image_Graph): PHP Fatal error: Call to undefined method Image_Graph_Plotarea_Element::Image_Graph_Element() in /usr/share/php/Image/Graph/Layout.php on line 73 I found that the problem is when calling the parents constructors like parent::ClassName. Changing that fixes the problem, but there are alot of clases with this problem. Are these problems being addressed? I found similar problems with some of the pear stuff I use when I tried 5.3.0 awhile back. For the present, I am just sticking with 5.2.x branch and will give some time for the various pear maintainers to work out the kinks. One thing you can do is file bug reports with the pear components you use. I did not because I moved my test server back to 5.2.x thus I would have no way of testing whether the fixes actually worked, but if you have a box you can dedicate to 5.3.x testing, file the bug reports and it will bring the problem to the attention of the pear maintainers. Some pear packages are better maintained than others. It is not just PEAR that needs a lot of work to make it compatible with PHP5.3 ! pecl needs some TLC as well, along with a large number of projects providing third party add-ons, or using PHP. We need to keep 5.2.x supported as a switch to PHP5.3 IS NOT a simple option, and will take a lot longer before it is a practical one for many users. -- Lester Caine - G8HFL - Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk// Firebird - http://www.firebirdsql.org/index.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Pear include path problem
Al wrote: I've got script that uses the pear Mail class and have had problems on some shared hosts with the include path to Mail. E.g., Blue Host insists the site owner must change the php.ini file. I'd rather not expect them to do that. Can you folks critique this approach for me. if(EMAIL_MODE=='smtp'){ $basePath = str_ireplace('public_html', '', $_SERVER['DOCUMENT_ROOT']); set_include_path(get_include_path() . PATH_SEPARATOR . basePath); require_once $basePath/php . '/Mail.php'; $smtpStatus=(class_exists('Mail'))?true:false; } Thanks How about this # Check to see if the constant is defined BEFORE you try to use it. if ( defined('EMAIL_MODE') EMAIL_MODE == 'smtp' ) { # You might want to do more checking on the path. Checking to see if it # has double forward slashes at the end would be the first place to start $basePath = str_ireplace('public_html', '', $_SERVER['DOCUMENT_ROOT']); # IMO, no improvement needed here set_include_path(get_include_path() . PATH_SEPARATOR . $basePath); # Well, it is what it is $filename = {$basePath}/php/Mail.php; # Check to see if file exists and is readable BEFORE you try including it if ( is_file($filename) is_readable($filename) ) { require_once $filename; $smtpStatus=(class_exists('Mail'))?true:false; } else { $smtpStatus = false; } } Jim Lucas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Pear include path problem
Jim Lucas wrote: Al wrote: I've got script that uses the pear Mail class and have had problems on some shared hosts with the include path to Mail. E.g., Blue Host insists the site owner must change the php.ini file. I'd rather not expect them to do that. Can you folks critique this approach for me. if(EMAIL_MODE=='smtp'){ $basePath = str_ireplace('public_html', '', $_SERVER['DOCUMENT_ROOT']); set_include_path(get_include_path() . PATH_SEPARATOR . basePath); require_once $basePath/php . '/Mail.php'; $smtpStatus=(class_exists('Mail'))?true:false; } Thanks How about this # Check to see if the constant is defined BEFORE you try to use it. if ( defined('EMAIL_MODE') EMAIL_MODE == 'smtp' ) { # You might want to do more checking on the path. Checking to see if it # has double forward slashes at the end would be the first place to start $basePath = str_ireplace('public_html', '', $_SERVER['DOCUMENT_ROOT']); # IMO, no improvement needed here set_include_path(get_include_path() . PATH_SEPARATOR . $basePath); # Well, it is what it is $filename = {$basePath}/php/Mail.php; # Check to see if file exists and is readable BEFORE you try including it if ( is_file($filename) is_readable($filename) ) { require_once $filename; $smtpStatus=(class_exists('Mail'))?true:false; } else { $smtpStatus = false; } } Jim Lucas Thanks for the feedback. That's big help. I'm sending this revised code to my client to install on his Bluehost server. Actually, I do check if EMAIL_MODE is defined; just didn't show it here. And, I have debug mode that provides a more detailed error report. But, it doesn't help if it can't even find Mail if (PEAR::isError($result)) { $mode = EMAIL_MODE; throw new Exception(The email mode \$mode\ does not work. Check the Applic email address and password in config file. br / Tech support required, use DISABLE_MAIL_SEND to debug. Error found in pearEmailSend().br / . $result-getMessage()); } -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PEAR segfaulting
Typing 'pear segmentation fault' in Google produces tons of responses so I know I'm not the only one with this issue, but I'll be damned if I can figure out what the problem is and how to fix it. I rolled my own PHP 5.3.0 from source. Compilation went fine, no errors. Installation went without any errors. I can run 'pecl' and install some packages, but when I try to run 'pear', it segfaults after it downloads a package: $ pear install DB WARNING: pear/DB is deprecated in favor of pear/MDB2 downloading DB-1.7.13.tgz ... Starting to download DB-1.7.13.tgz (132,246 bytes) .done: 132,246 bytes Segmentation fault Was, by any chance, PHP installed as binary before you install it from source? If this is the case try uninstalling the binary and then configure and compile the source again running 'make clean' before. -- Thodoris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PEAR segfaulting
Thodoris wrote: Was, by any chance, PHP installed as binary before you install it from source? If this is the case try uninstalling the binary and then configure and compile the source again running 'make clean' before. PHP was not installed at all on this machine. I grabbed the source from php.net and installed that. -- H | It's not a bug - it's an undocumented feature. + Ashley M. Kirchner mailto:ash...@pcraft.com . 303.442.6410 x130 IT Director / SysAdmin. 800.441.3873 x130 Photo Craft Imaging . 2901 55th Street http://www.pcraft.com . . .. Boulder, CO 80301, U.S.A. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PEAR segfaulting
Thodoris wrote: Was, by any chance, PHP installed as binary before you install it from source? If this is the case try uninstalling the binary and then configure and compile the source again running 'make clean' before. PHP was not installed at all on this machine. I grabbed the source from php.net and installed that. Is there a good reason for needing this pear package? http://pear.php.net/package/DB It is old and it has been replaced with MDB2 some time ago. Why don't you use it instead of trying to install DB. http://pear.php.net/package/MDB2 Just a thought :-) -- Thodoris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PEAR segfaulting
Thodoris wrote: Is there a good reason for needing this pear package? http://pear.php.net/package/DB It is old and it has been replaced with MDB2 some time ago. Why don't you use it instead of trying to install DB. The issue here isn't what package is being installed. The issue is that PEAR segfaults no matter what I try to install. PECL works just fine (at least I was able to install something with it.) -- H | It's not a bug - it's an undocumented feature. + Ashley M. Kirchner mailto:ash...@pcraft.com . 303.442.6410 x130 IT Director / SysAdmin. 800.441.3873 x130 Photo Craft Imaging . 2901 55th Street http://www.pcraft.com . . .. Boulder, CO 80301, U.S.A. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PEAR segfaulting
Thodoris wrote: Is there a good reason for needing this pear package? http://pear.php.net/package/DB It is old and it has been replaced with MDB2 some time ago. Why don't you use it instead of trying to install DB. The issue here isn't what package is being installed. The issue is that PEAR segfaults no matter what I try to install. PECL works just fine (at least I was able to install something with it.) Obviously something went wrong while installing PHP and you will have to find this because this probably the reason pear segfaults. Did you run make test before installing? (makes sure everything went well) You know you don't need pear binary to use a pear's package right? (it's pure PHP after all) -- Thodoris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PEAR segfaulting
Thodoris wrote: Obviously something went wrong while installing PHP and you will have to find this because this probably the reason pear segfaults. Did you run make test before installing? (makes sure everything went well) You know you don't need pear binary to use a pear's package right? (it's pure PHP after all) I know, I've been doing this for years. This is a new machine, and the only one where I have PHP 5.3.0 installed on (all the rest are PHP 5.2.x and are all working fine.) So at the moment I'm making the assumption it's something with 5.3.0 ... I'm in the process of reinstalling it all from scratch again, see what happens. It also doesn't help with you search Google and you find, according to them, some 36,000 hits to 'PEAR segmentation fault' ... obviously something's up. -- A -- H | It's not a bug - it's an undocumented feature. + Ashley M. Kirchner mailto:ash...@pcraft.com . 303.442.6410 x130 IT Director / SysAdmin. 800.441.3873 x130 Photo Craft Imaging . 2901 55th Street http://www.pcraft.com . . .. Boulder, CO 80301, U.S.A. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PEAR segfaulting
On Mon, Oct 19, 2009 at 1:28 PM, Ashley M. Kirchner ash...@pcraft.com wrote: Thodoris wrote: Obviously something went wrong while installing PHP and you will have to find this because this probably the reason pear segfaults. Did you run make test before installing? (makes sure everything went well) You know you don't need pear binary to use a pear's package right? (it's pure PHP after all) I know, I've been doing this for years. This is a new machine, and the only one where I have PHP 5.3.0 installed on (all the rest are PHP 5.2.x and are all working fine.) So at the moment I'm making the assumption it's something with 5.3.0 ... I'm in the process of reinstalling it all from scratch again, see what happens. It also doesn't help with you search Google and you find, according to them, some 36,000 hits to 'PEAR segmentation fault' ... obviously something's up. -- A -- H | It's not a bug - it's an undocumented feature. + Ashley M. Kirchner mailto:ash...@pcraft.com . 303.442.6410 x130 IT Director / SysAdmin . 800.441.3873 x130 Photo Craft Imaging . 2901 55th Street http://www.pcraft.com . . . . Boulder, CO 80301, U.S.A. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Have you tried running pear upgrade pear? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PEAR segfaulting
On Mon, Oct 19, 2009 at 1:35 PM, Ashley M. Kirchner ash...@pcraft.com wrote: Eddie Drapkin wrote: Have you tried running pear upgrade pear? Yep, but I'll do it again for you to see: pear -vvv upgrade pear Warning: file_exists(): Unable to find the wrapper channel - did you forget to enable it when you configured PHP? in PEAR/Downloader/Package.php on line 1510 Warning: is_file(): Unable to find the wrapper channel - did you forget to enable it when you configured PHP? in PEAR/Downloader/Package.php on line 1520 Warning: is_file(): Unable to find the wrapper channel - did you forget to enable it when you configured PHP? in PEAR/Downloader/Package.php on line 1520 pear/PEAR: Skipping required dependency pear/Archive_Tar version 1.3.3, already installed as version 1.3.3 pear/PEAR: Skipping required dependency pear/Console_Getopt version 1.2.3, already installed as version 1.2.3 pear/PEAR: Skipping required dependency pear/XML_Util version 1.2.1, already installed as version 1.2.1 skipping installed package check of pear/pear, version 1.9.0 will be downloaded and installed Downloading http://pear.php.net/get/PEAR-1.9.0.tgz; downloading PEAR-1.9.0.tgz ... Starting to download PEAR-1.9.0.tgz (291,634 bytes) .done: 291,634 bytes Segmentation fault Like I said, it doesn't matter *WHAT* I try to install/upgrade, pear will always segfault. PECL does not exhibit that behavior. -- H | It's not a bug - it's an undocumented feature. + Ashley M. Kirchner mailto:ash...@pcraft.com . 303.442.6410 x130 IT Director / SysAdmin . 800.441.3873 x130 Photo Craft Imaging . 2901 55th Street http://www.pcraft.com . . . . Boulder, CO 80301, U.S.A. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Try rebuilding PEAR manually. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PEAR segfaulting
Eddie Drapkin wrote: Try rebuilding PEAR manually. No dice. Same segfault. Bunch of deprecated warnings too ... [ ... snip ... ] Installing selected packages.. PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/bin/temp/PEAR/Command/Install.php on line 331 PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/bin/temp/PEAR/Command/Install.php on line 343 PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/bin/temp/PEAR/Command/Install.php on line 1137 PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in /usr/bin/temp/PEAR/Config.php on line 1026 PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in /usr/bin/temp/PEAR/Config.php on line 1033 Downloading and installing package: PEAR.PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/bin/temp/PEAR/Installer.php on line 592 PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/bin/temp/PEAR/Installer.php on line 1177 PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/bin/temp/PEAR/Installer.php on line 1266 PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/bin/temp/PEAR/Installer.php on line 1538 PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/bin/temp/PEAR/Installer.php on line 1682 PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/bin/temp/PEAR/Downloader/Package.php on line 1385 PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/bin/temp/PEAR/Downloader/Package.php on line 1438 PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/bin/temp/PEAR/Downloader/Package.php on line 1502 PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/bin/temp/PEAR/Downloader/Package.php on line 1587 PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in /usr/bin/temp/PEAR/Registry.php on line 1179 PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in /usr/bin/temp/PEAR/Registry.php on line 1183 PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in /usr/bin/temp/PEAR/Registry.php on line 1179 PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in /usr/bin/temp/PEAR/Registry.php on line 1183 PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in /usr/bin/temp/PEAR/Registry.php on line 1179 PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in /usr/bin/temp/PEAR/Registry.php on line 1183 PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/bin/temp/PEAR/REST/10.php on line 42 PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/bin/temp/PEAR/PackageFile/v2.php on line 148 PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/bin/temp/PEAR/PackageFile/v2.php on line 166 PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/bin/temp/PEAR/PackageFile/v2.php on line 567 PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/bin/temp/PEAR/PackageFile/v2.php on line 613 PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/bin/temp/PEAR/PackageFile/v2.php on line 1853 PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/bin/temp/PEAR/PackageFile/v2.php on line 1892 PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in /usr/bin/temp/PEAR/Registry.php on line 1179 PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in /usr/bin/temp/PEAR/Registry.php on line 1183 PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in /usr/bin/temp/PEAR/Registry.php on line 1179 PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in /usr/bin/temp/PEAR/Registry.php on line 1183 PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/bin/temp/PEAR/Dependency2.php on line 897 PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/bin/temp/PEAR/Dependency2.php on line 1178 PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/bin/temp/PEAR/Dependency2.php on line 1202 PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in /usr/bin/temp/PEAR/Registry.php on line 1179 PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in /usr/bin/temp/PEAR/Registry.php on line 1183 PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in /usr/bin/temp/PEAR/Registry.php on line 1179 PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in /usr/bin/temp/PEAR/Registry.php on line 1183 warning:
Re: [PHP] PEAR segfaulting
O/H Ashley M. Kirchner έγραψε: Eddie Drapkin wrote: Try rebuilding PEAR manually. No dice. Same segfault. Bunch of deprecated warnings too ... [ ... snip ... ] Installing selected packages.. PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/bin/temp/PEAR/Command/Install.php on line 331 PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/bin/temp/PEAR/Command/Install.php on line 343 PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/bin/temp/PEAR/Command/Install.php on line 1137 PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in /usr/bin/temp/PEAR/Config.php on line 1026 PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in /usr/bin/temp/PEAR/Config.php on line 1033 Downloading and installing package: PEAR.PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/bin/temp/PEAR/Installer.php on line 592 PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/bin/temp/PEAR/Installer.php on line 1177 PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/bin/temp/PEAR/Installer.php on line 1266 PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/bin/temp/PEAR/Installer.php on line 1538 PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/bin/temp/PEAR/Installer.php on line 1682 PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/bin/temp/PEAR/Downloader/Package.php on line 1385 PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/bin/temp/PEAR/Downloader/Package.php on line 1438 PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/bin/temp/PEAR/Downloader/Package.php on line 1502 PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/bin/temp/PEAR/Downloader/Package.php on line 1587 PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in /usr/bin/temp/PEAR/Registry.php on line 1179 PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in /usr/bin/temp/PEAR/Registry.php on line 1183 PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in /usr/bin/temp/PEAR/Registry.php on line 1179 PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in /usr/bin/temp/PEAR/Registry.php on line 1183 PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in /usr/bin/temp/PEAR/Registry.php on line 1179 PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in /usr/bin/temp/PEAR/Registry.php on line 1183 PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/bin/temp/PEAR/REST/10.php on line 42 PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/bin/temp/PEAR/PackageFile/v2.php on line 148 PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/bin/temp/PEAR/PackageFile/v2.php on line 166 PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/bin/temp/PEAR/PackageFile/v2.php on line 567 PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/bin/temp/PEAR/PackageFile/v2.php on line 613 PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/bin/temp/PEAR/PackageFile/v2.php on line 1853 PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/bin/temp/PEAR/PackageFile/v2.php on line 1892 PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in /usr/bin/temp/PEAR/Registry.php on line 1179 PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in /usr/bin/temp/PEAR/Registry.php on line 1183 PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in /usr/bin/temp/PEAR/Registry.php on line 1179 PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in /usr/bin/temp/PEAR/Registry.php on line 1183 PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/bin/temp/PEAR/Dependency2.php on line 897 PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/bin/temp/PEAR/Dependency2.php on line 1178 PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/bin/temp/PEAR/Dependency2.php on line 1202 PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in /usr/bin/temp/PEAR/Registry.php on line 1179 PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in /usr/bin/temp/PEAR/Registry.php on line 1183 PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in /usr/bin/temp/PEAR/Registry.php on line 1179 PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in
Re: [PHP] PEAR segfaulting
Eddie Drapkin wrote: Have you tried running pear upgrade pear? Yep, but I'll do it again for you to see: pear -vvv upgrade pear Warning: file_exists(): Unable to find the wrapper channel - did you forget to enable it when you configured PHP? in PEAR/Downloader/Package.php on line 1510 Warning: is_file(): Unable to find the wrapper channel - did you forget to enable it when you configured PHP? in PEAR/Downloader/Package.php on line 1520 Warning: is_file(): Unable to find the wrapper channel - did you forget to enable it when you configured PHP? in PEAR/Downloader/Package.php on line 1520 pear/PEAR: Skipping required dependency pear/Archive_Tar version 1.3.3, already installed as version 1.3.3 pear/PEAR: Skipping required dependency pear/Console_Getopt version 1.2.3, already installed as version 1.2.3 pear/PEAR: Skipping required dependency pear/XML_Util version 1.2.1, already installed as version 1.2.1 skipping installed package check of pear/pear, version 1.9.0 will be downloaded and installed Downloading http://pear.php.net/get/PEAR-1.9.0.tgz; downloading PEAR-1.9.0.tgz ... Starting to download PEAR-1.9.0.tgz (291,634 bytes) .done: 291,634 bytes Segmentation fault Like I said, it doesn't matter *WHAT* I try to install/upgrade, pear will always segfault. PECL does not exhibit that behavior. -- H | It's not a bug - it's an undocumented feature. + Ashley M. Kirchner mailto:ash...@pcraft.com . 303.442.6410 x130 IT Director / SysAdmin. 800.441.3873 x130 Photo Craft Imaging . 2901 55th Street http://www.pcraft.com . . .. Boulder, CO 80301, U.S.A. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PEAR segfaulting
Ok, we have activity here. Before deleting everything and re-installing, I decided to just rename my php.ini file. Low and behold, pear works now. So, now the next task is figuring out where and why does php.ini cause pear to bomb. -- H | It's not a bug - it's an undocumented feature. + Ashley M. Kirchner mailto:ash...@pcraft.com . 303.442.6410 x130 IT Director / SysAdmin. 800.441.3873 x130 Photo Craft Imaging . 2901 55th Street http://www.pcraft.com . . .. Boulder, CO 80301, U.S.A. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PEAR segfaulting
Thodoris wrote: Manually is the best solution as far as I can tell: http://pear.php.net/manual/en/installation.getting.php That's exactly what I did. I grabbed http://pear.php.net/go-pear and saved it, then ran php go-pear.php. The result is what you saw in my previous e-mail. -- H | It's not a bug - it's an undocumented feature. + Ashley M. Kirchner mailto:ash...@pcraft.com . 303.442.6410 x130 IT Director / SysAdmin. 800.441.3873 x130 Photo Craft Imaging . 2901 55th Street http://www.pcraft.com . . .. Boulder, CO 80301, U.S.A. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PEAR segfaulting
Well, it boiled down to zlib.so causing the segfault. As soon as I removed that module, everything worked. Recompiling just the zlib.so module yielded the same result: pear segfaults. So now the question is: is it zlib's fault, or is it pear? At this point I've accomplished what I needed, but it doesn't actually fix the problem: enabling zlib will cause pear to segfault. -- H | It's not a bug - it's an undocumented feature. + Ashley M. Kirchner mailto:ash...@pcraft.com . 303.442.6410 x130 IT Director / SysAdmin. 800.441.3873 x130 Photo Craft Imaging . 2901 55th Street http://www.pcraft.com . . .. Boulder, CO 80301, U.S.A. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PEAR segfaulting
Ashley M. Kirchner wrote: Well, it boiled down to zlib.so causing the segfault. As soon as I removed that module, everything worked. Recompiling just the zlib.so module yielded the same result: pear segfaults. So now the question is: is it zlib's fault, or is it pear? At this point I've accomplished what I needed, but it doesn't actually fix the problem: enabling zlib will cause pear to segfault. Ha, I guess I should wait before replying :). It is zlib's fault. We've had reported problems for years on some poorly configured systems (not your problem: several distros decided to include a borked zlib and apparently some still do for no good reason at all). Greg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PEAR Spreadsheet_Excel_Writer setLocked method
Thodoris wrote: I've used it for some time but never needed to lock a cell. Here is a piece of code that shows how to apply a format to a cell: Hope it helps. I think that by doing something like this: $format_bold-setLocked(); while creating the format could do the trick but it is not tested. No, this didn't do it. I already have some formats I've created for dollar amounts, right align, etc, and applying the setLocked() method to them had no affect. Skip I have noticed that when you use setLocked to the cell formatting the cell has the protected flag set. My openoffice tells me that the cell protection is meaningful only if the data sheet is protected. I think that the following code does what you need as long as you save the xls before opening it. ?php // Include the PEAR script require 'Spreadsheet/Excel/Writer.php'; // Stop displaying the errors so that the warnings don't get in your spreadsheet // ini_set('display_errors',0); // Instantiate a workbook $workbook = new Spreadsheet_Excel_Writer(); // Send it directly to the browser $workbook-send(test.xls); // Set the version (very useful for compatibility) $workbook-setVersion(8); // Create a worksheet in the workbook $worksheet = $workbook-addWorksheet('Test'); // Set input encoding $worksheet-setInputEncoding('UTF-8'); // Set protection for the worksheet $worksheet-protect(); // Create the formats format $format_locked = $workbook-addFormat(); $format_locked-setBold(); $format_locked-setHAlign('center'); $format_locked-setFgColor('yellow'); $format_locked-setLocked(); // Create a format $format_unlocked = $workbook-addFormat(); $format_unlocked-setBold(); $format_unlocked-setHAlign('center'); $format_unlocked-setFgColor('yellow'); // Apply the format to a cell $worksheet-writeString(0, 0, Locked, $format_locked); $worksheet-writeString(0, 1, Unocked, $format_unlocked); // Close the workbook $workbook-close(); ? This protects the file with a blank password. I don't know if this is the proper way to do this but it has been tested and works. -- Thodoris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PEAR Spreadsheet_Excel_Writer setLocked method
Hey all, Any one use the PEAR Spreadsheet_Excel_Writer package? I need to know how to implement the setLocked method to lock out a cell, but can't figure out how this would be done. Do you add it as a format? But then how is it applied to a cell. It's not documented on the PEAR pages. Any help as always is greatly appreciated. Also, what about making a cell span more than one cell below and above it? I can't find a way to do this either. Thanks, Skip I've used it for some time but never needed to lock a cell. Here is a piece of code that shows how to apply a format to a cell: ?php // Include the PEAR script require 'Spreadsheet/Excel/Writer.php'; // Stop displaying the errors so that the warnings don't get in your spreadsheet // ini_set('display_errors',0); // Instantiate a workbook $workbook = new Spreadsheet_Excel_Writer(); // Send it directly to the browser $workbook-send(test.xls); // Set the version (very useful for compatibility) $workbook-setVersion(8); // Create a worksheet in the workbook $worksheet = $workbook-addWorksheet('Test'); // Set input encoding $worksheet-setInputEncoding('UTF-8'); // Create a format $format_bold = $workbook-addFormat(); $format_bold-setBold(); $format_bold-setHAlign('center'); $format_bold-setFgColor('yellow'); // Apply the format to a cell $worksheet-writeString(0, 0, Test content, $format_bold); // Close the workbook $workbook-close(); ? Hope it helps. I think that by doing something like this: $format_bold-setLocked(); while creating the format could do the trick but it is not tested. -- Thodoris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PEAR Spreadsheet_Excel_Writer setLocked method
Thodoris wrote: I've used it for some time but never needed to lock a cell. Here is a piece of code that shows how to apply a format to a cell: Hope it helps. I think that by doing something like this: $format_bold-setLocked(); while creating the format could do the trick but it is not tested. No, this didn't do it. I already have some formats I've created for dollar amounts, right align, etc, and applying the setLocked() method to them had no affect. Skip -- Skip Evans Big Sky Penguin, LLC 503 S Baldwin St, #1 Madison WI 53703 608.250.2720 http://bigskypenguin.com Those of you who believe in telekinesis, raise my hand. -- Kurt Vonnegut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] pear mdb2 and null
[snip] I need it to error when an attempt to create a record without setting that field is attempted, but setting the field to an empty string is fine. Attempting to insert data without defining that field indicates there is not sufficient information to create a record. Setting that field to a zero length string however indicates that there is enough information to create a record. Assuming that no information is the same as an zero length string is not OK. Call it bad design if you want, by MySQL knows the difference between NULL and an empty string, so should my database abstraction layer. Even if the default is set to '' - pear mdb2 refuses to do the insert. So it looks like pear mdb2 does not know the difference between NULL and a zero length string. Hopefully that is configurable somewhere. /snip] Shouldn't this be really handled by the application layer, not the db layer? If you are using the db to show the error code for the text field, wouldn't it be simpler to handle that in the validation code, and then use the default in the table to insert the data? -- Bastien Cat, the other other white meat
Re: [PHP] pear mdb2 and null
On Apr 11, 2009, at 21:38, Michael A. Peters mpet...@mac.com wrote: I've run into a small issue with mdb2. I have a mysql database with a field set to longtext not null. inserting into that field works just dandy when using the mysql_ functions. However, when using mdb2 - it converts to NULL which is NOT what I want to have happen, and the result is that the execute() fails because the database table does not accept NULL for that field. Why does mdb2 turn into NULL for a text type when MySQL knows there is a difference? How do I suppress that? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Why not set a default in the field then, as am empty string and let the db handle field properly? Having a Not Null with no default is bad db design. Bastien -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] pear mdb2 and null
Phpster wrote: On Apr 11, 2009, at 21:38, Michael A. Peters mpet...@mac.com wrote: I've run into a small issue with mdb2. I have a mysql database with a field set to longtext not null. inserting into that field works just dandy when using the mysql_ functions. However, when using mdb2 - it converts to NULL which is NOT what I want to have happen, and the result is that the execute() fails because the database table does not accept NULL for that field. Why does mdb2 turn into NULL for a text type when MySQL knows there is a difference? How do I suppress that? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Why not set a default in the field then, as am empty string and let the db handle field properly? Having a Not Null with no default is bad db design. I need it to error when an attempt to create a record without setting that field is attempted, but setting the field to an empty string is fine. Attempting to insert data without defining that field indicates there is not sufficient information to create a record. Setting that field to a zero length string however indicates that there is enough information to create a record. Assuming that no information is the same as an zero length string is not OK. Call it bad design if you want, by MySQL knows the difference between NULL and an empty string, so should my database abstraction layer. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] pear mdb2 and null
Michael A. Peters wrote: Phpster wrote: On Apr 11, 2009, at 21:38, Michael A. Peters mpet...@mac.com wrote: I've run into a small issue with mdb2. I have a mysql database with a field set to longtext not null. inserting into that field works just dandy when using the mysql_ functions. However, when using mdb2 - it converts to NULL which is NOT what I want to have happen, and the result is that the execute() fails because the database table does not accept NULL for that field. Why does mdb2 turn into NULL for a text type when MySQL knows there is a difference? How do I suppress that? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Why not set a default in the field then, as am empty string and let the db handle field properly? Having a Not Null with no default is bad db design. I need it to error when an attempt to create a record without setting that field is attempted, but setting the field to an empty string is fine. Attempting to insert data without defining that field indicates there is not sufficient information to create a record. Setting that field to a zero length string however indicates that there is enough information to create a record. Assuming that no information is the same as an zero length string is not OK. Call it bad design if you want, by MySQL knows the difference between NULL and an empty string, so should my database abstraction layer. Even if the default is set to '' - pear mdb2 refuses to do the insert. So it looks like pear mdb2 does not know the difference between NULL and a zero length string. Hopefully that is configurable somewhere. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] pear Mail/Mime problem on new Ubuntu Linux server
Might it be the Unix newline characters? Unlikely, IIRC the PEAR mime stuff uses \r\n (ie Windows). Try using the htmlMimeMail5 code here: http://www.phpguru.org/downloads/html.mime.mail/htmlMimeMail5/ -- Richard Heyes HTML5 Graphing for FF, Chrome, Opera and Safari: http://www.rgraph.org (Updated December 5th) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] pear Mail/Mime problem on new Ubuntu Linux server
On Tue, Dec 9, 2008 at 6:57 AM, German Geek [EMAIL PROTECTED] wrote: Hi All, Can someone think of a reason why when changing from a Windows 2003 Web Edition server running PHP 5.2 to a Ubuntu machine, also with PHP 5.2 can cause the following problem: The emails sent from the server, which should be in HTML format (the client wanted this specifically) now only show the plain text email, but only in Outlook XP or 2003. The Outlook 2007 on my work machine receives it fine, also my gmail account. Unfortunately, the client uses the Outlook version with the problem. Might it be the Unix newline characters? My first suspicion was to blame M$ for letting Outlook check the headers for example.com, postfix or Linux, but that might be a bit exajurated paranoia. lol Thanks for even reading this, even more for replying. :) Tim I just had this problem. Try normalizing the line returns of your email before sending it. I was building mine from multiple sources (db, files, etc) and some had unix line returns, mac line returns, and windows. Normalizing them into a consistent format fixed it. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PEAR Help
I found the PEAR tarballs to be corrupt a day or two ago... The PEAR bug report captcha continually rejected my correct answers to simple math questions. :-( I snagged a re-packaged version from: http://pizzaseo.com/ ymmv -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] pear mail() verses net-smtp()
Al wrote: Anyone have opinions on these two mail functions for sending smtp emails, pear mail() verses net-smtp()? Which is best, etc. Pear mail puts everything together and if necessary uses net_smtp to send it. If you want to have to build the emails yourself, you can do it and then use net_smtp to send it - but it's pretty hard to do and get right for all situations. Otherwise, use pear mail to do everything for you. http://pear.php.net/package/Net_SMTP/ » Packages that depend on Net_SMTP * Mail -- Postgresql php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] pear mail() verses net-smtp()
Al wrote: Anyone have opinions on these two mail functions for sending smtp emails, pear mail() verses net-smtp()? Which is best, etc. Pear mail puts everything together and if necessary uses net_smtp to send it. If you want to have to build the emails yourself, you can do it and then use net_smtp to send it - but it's pretty hard to do and get right for all situations. Otherwise, use pear mail to do everything for you. http://pear.php.net/package/Net_SMTP/ » Packages that depend on Net_SMTP * Mail -- Postgresql php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Pear DB
On Thu, 2008-07-10 at 16:47 +1000, John Comerford wrote: Hi Folks, I have just successfully lobbied for the company I work for to use PHP/MySQL for our next website. My Question is regarding DB abstraction . I know there is a Pear DB module, is this the best to use ? I have a vague memory of reading somewhere that there is a newer lib or something which is considered better ? Hi John You might consider CodeIgniter - it's a very nice, simple to use framework with a pretty good DB abstraction layer built in. http://codeigniter.com/ J -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Pear DB
PEAR::DB was deprecated years ago. Do not use it. PEAR::MDB2 is the preferred PEAR wrapper these days. Personally, I skip them both and prefer to go straight to PDO, available in PHP 5. http://www.php.net/pdo On Thursday 10 July 2008 1:47:34 am John Comerford wrote: Hi Folks, I have just successfully lobbied for the company I work for to use PHP/MySQL for our next website. My Question is regarding DB abstraction . I know there is a Pear DB module, is this the best to use ? I have a vague memory of reading somewhere that there is a newer lib or something which is considered better ? TIA, JC -- Larry Garfield [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Pear DB
Hi Folks, I have just successfully lobbied for the company I work for to use PHP/MySQL for our next website. My Question is regarding DB abstraction . I know there is a Pear DB module, is this the best to use ? I have a vague memory of reading somewhere that there is a newer lib or something which is considered better ? TIA, JC The newest version of Pear DB is Pear MDB2. I have to say I'm not a great fan of the pear system, but MDB2 is probably one of the best. Alex No virus found in this outgoing message. Scanned by AVG Free 8.0 Checked by AVG - http://www.avg.com Version: 8.0.138 / Virus Database: 270.4.7/1542 - Release Date: 09/07/2008 06:50 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Pear DB
John Comerford wrote: Hi Folks, I have just successfully lobbied for the company I work for to use PHP/MySQL for our next website. My Question is regarding DB abstraction . I know there is a Pear DB module, is this the best to use ? I have a vague memory of reading somewhere that there is a newer lib or something which is considered better ? As others have said - MDB2 or PDO are the Pear:DB replacements, but if you would like a proper abstraction of SQL then ADOdb is still the best choice and it can handle PDO or raw mysql drivers internally. But more important it gives you the safety net to be able to switch to an alternative to MySQL ;) http://adodb.sourceforge.net/ You will also find a lot of useful projects that are built on it which may provide the bulk of your site code. No need to build a site from scratch - just select a suitable framework :) -- Lester Caine - G8HFL - Contact - http://lsces.co.uk/lsces/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk// Firebird - http://www.firebirdsql.org/index.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Pear Installation Problem - Ubuntu
SPM decided to move stuff to a different place, namely inside of a /usr/share/php/PEAR directory, instead of just /usr/share/PEAR. So change your include path and be done with it. On Wed, March 5, 2008 11:59 am, Stephen wrote: My LAMP is on Ubuntu 7.10 I am trying to use PEAR, for the first time, and get an error about the include file not being found. It is not there. phpinfo() has include_path set to .:/usr/share/php:/usr/share/pear Here is my error: Warning: require_once(HTML/QuickForm.php) [function.require-once]: failed to open stream: No such file or directory in /home/stephen/www/roissy.ca/public_html/quotesForm.php on line 3 Fatal error: require_once() [function.require]: Failed opening required 'HTML/QuickForm.php' (include_path='.:/usr/share/php:/usr/share/pear') in /home/stephen/www/roissy.ca/public_html/quotesForm.php on line 3 Now I have always just used the Synaptic Package Manager, and I just did a reinstall of PEAR. But there is no /usr/share/pear directory. I have a /usr/share/php/PEAR and it has things that look like installation files. I am venturing where I have not before. I have never performed any kind of CLI install. Can anyone help me figure out how to get the installation fixed? Thanks Stephen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Some people have a gift link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/from/lynch Yeah, I get a buck. So? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Pear Installation Problem - Ubuntu
You could just copy and paste from the PEAR website, And replicate the directory structure manually. g 1. Create the dire /use/local/share/pear/HTML 2. Copy (or create) the file Quickform (and all it's associated stuff) into that directory. IIRC, Quickform has quite a lot of files, so you may be better off with a single file while you get it up and running. Something like Console_Table. So, you would create this dir: /usr/local/share/pear/Console and in that place the file Table.php Then in your app you can do this: require_once('Console/Table.php'); -- Richard Heyes Employ me: http://www.phpguru.org/cv -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Pear Installation Problem - Ubuntu
On Wed, Mar 5, 2008 at 12:59 PM, Stephen [EMAIL PROTECTED] wrote: My LAMP is on Ubuntu 7.10 [snip!] Fatal error: require_once() [function.require]: Failed opening required 'HTML/QuickForm.php' (include_path='.:/usr/share/php:/usr/share/pear') in /home/stephen/www/roissy.ca/public_html/quotesForm.php on line 3 [snip!] But there is no /usr/share/pear directory. I have a /usr/share/php/PEAR and it has things that look like installation files. [snip!] Can anyone help me figure out how to get the installation fixed? Update your php.ini to add /usr/share/php/PEAR to the include path, and remove /usr/share/php/pear if it's in there. Then restart Apache (service httpd stop;service httpd startssl) and you should be good to go. -- /Dan Daniel P. Brown Senior Unix Geek ? while(1) { $me = $mind--; sleep(86400); } ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Pear Installation Problem - Ubuntu
Daniel Brown wrote: On Wed, Mar 5, 2008 at 12:59 PM, Stephen [EMAIL PROTECTED] wrote: My LAMP is on Ubuntu 7.10 [snip!] Fatal error: require_once() [function.require]: Failed opening required 'HTML/QuickForm.php' (include_path='.:/usr/share/php:/usr/share/pear') in /home/stephen/www/roissy.ca/public_html/quotesForm.php on line 3 [snip!] But there is no /usr/share/pear directory. I have a /usr/share/php/PEAR and it has things that look like installation files. [snip!] Can anyone help me figure out how to get the installation fixed? Update your php.ini to add /usr/share/php/PEAR to the include path, and remove /usr/share/php/pear if it's in there. Then restart Apache (service httpd stop;service httpd startssl) and you should be good to go. I don't think that it is that simple. The /usr/share/php/PEAR directory does not include the HTML directory or the QuickForm.php file. It looks like I have to run some kind of install process for PEAR. Docs to read. Thanks Stephen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Pear Installation Problem - Ubuntu
[snip!] But there is no /usr/share/pear directory. I have a /usr/share/php/PEAR and it has things that look like installation files. [snip!] Can anyone help me figure out how to get the installation fixed? Update your php.ini to add /usr/share/php/PEAR to the include path, and remove /usr/share/php/pear if it's in there. Then restart Apache (service httpd stop;service httpd startssl) and you should be good to go. I don't think that it is that simple. The /usr/share/php/PEAR directory does not include the HTML directory or the QuickForm.php file. It looks like I have to run some kind of install process for PEAR. Docs to read. Open a terminal window on the server at the prompt type: locate QuickForm.php If it comes back with the path/file, make sure the path to the file is in the include folder If it comes back to just a regular terminal prompt right away, then you need to install it. The following is what you get when it is NOT located: ~$ locate Quickform.php ~$ You could also run the following: ~$ pear list Installed packages, channel pear.php.net: = Package Version State Archive_Tar 1.3.2stable Auth 1.5.4stable Cache1.5.5RC4 beta Console_Getopt 1.2.2stable Date 1.4.6stable File 1.3.0stable HTTP_Request 1.4.1stable Image_Canvas 0.2.2alpha Image_Graph 0.7.1alpha Log 1.9.11 stable Net_CheckIP 1.2.1stable Net_DIME 0.3 beta Net_FTP 1.3.2stable Net_LDAP 0.7.2beta Net_Sieve1.1.5stable Net_SmartIRC 1.0.0stable Net_URL 1.0.14 stable PEAR 1.5.4stable SOAP 0.10.1 beta Services_Weather 1.4.2stable Structures_Graph 1.0.2stable XML_Serializer 0.18.0 beta XML_Util 1.1.4stable HTH, Wolf -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Pear Installation Problem - Ubuntu
Wolf wrote: Open a terminal window on the server at the prompt type: locate QuickForm.php If it comes back with the path/file, make sure the path to the file is in the include folder If it comes back to just a regular terminal prompt right away, then you need to install it. The following is what you get when it is NOT located: ~$ locate Quickform.php ~$ You could also run the following: ~$ pear list Installed packages, channel pear.php.net: = Package Version State Archive_Tar 1.3.2stable Auth 1.5.4stable . Thank you. I just have four packages installed. I need to grab some and install them. Stephen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Pear Installation Problem - Ubuntu
Stephen wrote: Wolf wrote: Open a terminal window on the server at the prompt type: locate QuickForm.php If it comes back with the path/file, make sure the path to the file is in the include folder If it comes back to just a regular terminal prompt right away, then you need to install it. The following is what you get when it is NOT located: ~$ locate Quickform.php ~$ You could also run the following: ~$ pear list Installed packages, channel pear.php.net: = Package Version State Archive_Tar 1.3.2stable Auth 1.5.4stable . Thank you. I just have four packages installed. I need to grab some and install them. Stephen sudo pear install HTML_QuickForm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Pear Installation Problem - Ubuntu
Shawn McKenzie wrote: sudo pear install HTML_QuickForm That was so easy. Thank you! Stephen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Pear
On Sat, Mar 1, 2008 at 3:41 PM, [EMAIL PROTECTED] wrote: Dear PHP List Experts, I'm trying to use Pear at my host, Leadhoster. This line: require_once('DB.php'); Gets this error: Warning: main(DB.php): failed to open stream: No such file or directory in /home/www/everoriginal.onlinewebshop.net/connect04.php on line 4 Fatal error: main(): Failed opening required 'DB.php' (include_path='.:/usr/local/php4/share/pear') in /home/www/everoriginal.onlinewebshop.net/connect04.php on line 4 maybe try find /usr/local/php4/share/pear -name 'DB.php' to see if you have that component of pear installed. pear is a component based system, which means even if you have pear installed, there are tons of libraries you can use it to install. if you type pear info DB and nothing comes up, then likely you need to install it with pear install DB also, regarding the archives, i think there are several archives out there, i always look at marc tho; http://marc.info/?l=php-general -nathan
Re: [PHP] Pear
Thanks for your help, Nathan! maybe try find /usr/local/php4/share/pear -name 'DB.php' I tried putting that in my script, and got: Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/www/everoriginal.onlinewebshop.net/connect04.php on line 6 I'm thinking find is a Linux or Unix command to run on my host's machine. I'm hoping that I can get this solved without getting Putty set up, but am willing to make the effort if necessary. Doesn't this error: Fatal error: main(): Failed opening required 'DB.php' (include_path='.:/usr/local/php4/share/pear') in /home/www/everoriginal.onlinewebshop.net/connect04.php on line 4 show that Pear is there, and where to find it? if you type pear info DB and nothing comes up, then likely you need to install it with pear install DB Likewise, that is from the Linux or Unix command line, right? If Pear is not installed, wouldn't the host have to do that? Or is that something customers can do when they have a host? also, regarding the archives, i think there are several archives out there, i always look at marc tho; http://marc.info/?l=php-general Thanks! Jerry Kassebaum -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Pear
On Sat, Mar 1, 2008 at 6:24 PM, [EMAIL PROTECTED] wrote: Thanks for your help, Nathan! maybe try find /usr/local/php4/share/pear -name 'DB.php' I tried putting that in my script, and got: Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/www/everoriginal.onlinewebshop.net/connect04.php on line 6 I'm thinking find is a Linux or Unix command to run on my host's machine. I'm hoping that I can get this solved without getting Putty set up, but am willing to make the effort if necessary. yes, find is a *nix command. it will recursively search the filesystem from the specified point for the pattern (in this case 'Db.php'). Doesn't this error: Fatal error: main(): Failed opening required 'DB.php' (include_path='.:/usr/local/php4/share/pear') in /home/www/everoriginal.onlinewebshop.net/connect04.php on line 4 show that Pear is there, and where to find it? it does indicate that there is an include path w/ pear as one of the directories, which strongly suggests that pear is installed, but it does not absolutely garuntee it. when you run you phpinfo script that you mentioned in your first post, do you see pear in one of the sections there (not just in the include path)? also, as i said pear is a modular system, so even if pear is installed, the DB package may not be installed. if you type pear info DB and nothing comes up, then likely you need to install it with pear install DB Likewise, that is from the Linux or Unix command line, right? If Pear is not installed, wouldn't the host have to do that? Or is that something customers can do when they have a host? yes, you will have to use putty to connect to the host and issue unix commands if you want to get to the bottom of this w/o emails or a phone call to your host. the find command is a crude way to determine if the pear DB package is installed. you are likely better off to use the pear cli program to determine if its installed as in above. -nathan
Re: [PHP] Pear
when you run you phpinfo script that you mentioned in your first post, do you see pear in one of the sections there (not just in the include path)? A search on pear only yields this line: include_path.:/usr/local/php4/share/pear.:/usr/local/php4/share/pear Here is the page, so you can check it out if you want: http://everoriginal.onlinewebshop.net/phpInfo.php also, as i said pear is a modular system, so even if pear is installed, the DB package may not be installed. Is there something I could include from pear that would have an extremely high possibility of being installed? yes, you will have to use putty to connect to the host and issue unix commands if you want to get to the bottom of this Probably a good idea anyway, eh? I'll work on it... ...SSH Manager section is not available for your hosting plan! I get free hosting at this place. I'd like to test it out before I buy, but maybe I'll just have to bite the bullet. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Pear
It is quite possible (ie, I've done it) to install the PEAR modules you need within your own web space. You just have to get the directory structure and your include line right. The PEAR system is just a bunch of php files so if you've got php you've got all you really need. -- ... most legislators ... as they rarely make any moral distinctions, they are as likely to serve the devil, without intending it, as God. -- Henry David Thoreau Rick Pasotto[EMAIL PROTECTED]http://www.niof.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Pear
On Sat, Mar 1, 2008 at 7:57 PM, [EMAIL PROTECTED] wrote: when you run you phpinfo script that you mentioned in your first post, do you see pear in one of the sections there (not just in the include path)? A search on pear only yields this line: include_path.:/usr/local/php4/share/pear .:/usr/local/php4/share/pear Here is the page, so you can check it out if you want: http://everoriginal.onlinewebshop.net/phpInfo.php yikes, php4 !? if they dont host php5 that could be reason enough to switch, *ducks*. also, it looks like they have exec() disabled, but not shell_exec(), so you could probly use that to run the find command from earlier if you wanted to. also, as i said pear is a modular system, so even if pear is installed, the DB package may not be installed. Is there something I could include from pear that would have an extremely high possibility of being installed? im not sure, but i dont think so. you may be able to use php functions to search the directory structure beneath the include path youve already posted, however, this is just a lame solution that wont really accomplish much. yes, you will have to use putty to connect to the host and issue unix commands if you want to get to the bottom of this Probably a good idea anyway, eh? I'll work on it... ftp only access drive me nuts ;) ...SSH Manager section is not available for your hosting plan! I get free hosting at this place. I'd like to test it out before I buy, but maybe I'll just have to bite the bullet. ouch :D as Rick said in a later post the pear libraries are just php files. but installing them into your webroot manually has a couple of caveats, 1. pain in the ass compared to using pear cli program 2. you expose these library files to the public unless you add a .htaccess file to the server to protect them but you would have the benefit of controlling the version of these libraries you were using. also, in that case youll want to override the include_path setting using a .htaccess file so that if there are any pear packages installed by the hosting company, youre scripts will use the ones in the pear installation directory you create. -nathan
Re: [PHP] PEAR website and MSIE 6
2008. 02. 1, péntek keltezéssel 04.40-kor Robert Cummings ezt írta: On Fri, 2008-02-01 at 10:11 +0100, Zoltán Németh wrote: 2008. 01. 31, csütörtök keltezéssel 12.47-kor Robert Cummings ezt írta: On Thu, 2008-01-31 at 18:18 +0100, Jochem Maas wrote: Eric Butera schreef: On Jan 31, 2008 12:02 PM, Jochem Maas [EMAIL PROTECTED] wrote: Robert Cummings schreef: On Thu, 2008-01-31 at 17:14 +0100, Jochem Maas wrote: let's not forget that nobody outside of IT actually uses Opera Please back up that st-ass-tistic please. Methinks you reached around and pulled it out of your lightless nether regions. given that you can prove anything with statistics, I'd say that's where all stats come from - well not all from my ass but always someone's ;-) let me guess you use Opera ... and you work in IT right? :-P Cheers, Rob. My wife uses Opera and she doesn't know much about computers. I installed IE7, FF, Opera, Safari for Windows and she picked Opera on her own. I can't really get into it though. I guess the shitty interface is appealing to people with more taste than us :-) Steve Job's would be annoyed though - which is funny in and of itself :-P I dunno, Opera comes with a built in flag for disabling that wretching thing called tabbed browsing. Firefox requires you to install a plugin. ahh the Great Browser Holy War :) I must join in... I never wanted to turn tabbed browsing off (in fact I find it useful and convenient), so it is not a real concern Also, I find the configurability of Opera's interface to be superior to what I last used for Firefox. okay, then how do you stop Opera caching? I tried to turn it off everywhere but it keeps on creating local files while I browse. (ubuntu linux/opera 9.25) I never noticed that before... with a little ingenuity though I found the following to be successful: cd ~/.opera sudo chown root:root cache4 sudo chmod 000 cache4 ;) that indeed does work, at least in the last few days opera couldn't work it around ;) however it is not a proof of the superior configurability... aside from that, does anyone know some plugin for Opera which does the same as AdBlock Plus does for FF? greets Zoltán Németh Cheers, Rob. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PEAR website and MSIE 6 (M$ forcing IE7)
Feb 12th is D-day. [Microsoft] has posted guidelines on how to ward off the automatic update Not exactly forcing if they've provided an alternative. -- Richard Heyes http://www.websupportsolutions.co.uk Knowledge Base and Helpdesk software for £299pa hosted for you - no installation, no maintenance, new features automatic and free -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PEAR website and MSIE 6
Glad I read threads that I don't care about or I wouldn't have found out about Firebug! I just installed it, very cool! Also, considering the price of oil/gas, I'm sorry that the 'war for oil' didn't work out the way we had hoped. You would have thought we would have learned in WWII when we started the 'war for strudel'. Have you seen the price of strudel? It went up during WWII and has continued to rise. I would call you a dumb ass, but you seem very knowledgeable in PHP and I may need some help in the future :-) Jochem Maas wrote: Daevid Vincent schreef: -Original Message- From: Jochem Maas [mailto:[EMAIL PROTECTED] Sent: Thursday, January 31, 2008 8:19 AM To: [EMAIL PROTECTED] Cc: PHP General List Subject: Re: [PHP] PEAR website and MSIE 6 Richard Heyes schreef: firefox not an option? Nope. or anything else that resembles a proper browser ;-) Strange, IE has been working fine for me for the last eight years... Yes. http://pear.php.net crashes my IE6 too. This is a problem with the site, not the browser. seriously though - why is FF (or any other browser) not an option? your a web developer, I would imagine you should be running a complete arsenal of different browsers as part of the job, no? and then there's the question as to why you don't upgrade to IE7. Please stop with the browser wars. it's not browser wars - it's pragmatism - thinking aloud about how to get round the issue - I'm assuming Richard does have access to the PEAR site's source files or the means to upload them to the PEAR webserver. They're boring and tired and serve no purpose. IE6 is fast and launches in 1 second. FF takes many seconds. IE7 is also a bloated pig and I will be very sad in 15 days when M$ FORCES everyone to it. IE also has very nice DirectX rendering filters for gradients. or maybe rebuild the windows machine in question (hey it wouldn't be the first time something like this was helped by a clean install right?) It is NOT the OS. It is the PEAR site itself that is to blame. There is clearly some code or tag or something that is causing this failure. let's see now - a webserver outputs some content, it may be invalid. a browser crashes upon trying to render the content. hmm, sounds to me like the problem is in the browser, decent software should crash because of shitty input. granted if the PEAR just didn't render properly or caused 'invalid XML/XHTML/whatever' message in the browser then yes it would be the site's problem. but until the browser is capable of saying 'hey this content is junk, I can't use it [because of XYZ]' then really the first issue is with that browser. it's same at the server end - if your browser (or you, maliciously) posts freaking/invalid byte sequences at some script I've got on the server then would you consider it correct that the server crashed? or would you expect some kind of 'your input sucks' error message to appear? It didn't used to be there either. I've gone to the PEAR site many times in the past. The site isn't even that compex, so I'm curious why the webmaster couldn't just fix this problem and make everyone happy? we work around bugs and problems all day in the job we do - how is cranking up a different browser because a site happens not to work with a particular site any different? if we're really about making everyone happy - how about we tackle something serious like the whole 'war for oil' business? exactly how fragile is a human mind if a browser crashing on a particular site is deciding factor in being capable of experiencing happiness? (not that I'm suggesting this about Richard - Im sure he was just a little miffed and ping'ed the question out of curiousity more than anything) Or is the PHP community so snobbish that they're turning into the Linux community? I find it so ironic that all the fringe browser people freak out if their browser isn't supported by some site and demand retribution, yet when the tables are turned how quick they are to tell 80% of the world to use a 20% browser... let's make it sound like they all *chose* IE shall we - a large majority of that 80% actually think IE *is* the internet, they certainly didn't choose it because they thought it was the best tool for the job (which it may or may not be depending or circumstance and/or perspective) - indoctrination and ignorance do not make good metrics for determining the superiority of a given product ... keyboard layout being another fine example ... de facto not necessarily equal da bom *sigh* indeed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PEAR website and MSIE 6
Shawn McKenzie schreef: Glad I read threads that I don't care about or I wouldn't have found out about Firebug! I just installed it, very cool! it can definitely make your day less painful :-) Also, considering the price of oil/gas, I'm sorry that the 'war for oil' didn't work out the way we had hoped. You would have thought we would have learned in WWII when we started the 'war for strudel'. Have you seen the price of strudel? It went up during WWII and has continued to rise. I'm not much a strudel fan, unfortunately I'm just as hooked on oil as the next man ... the point I was making is that alot of the 'problems' encountered in 'cyberspace' aqre pretty lame compared to the crap going on in meatspace. the iraqi that just watched his wife and children mowed down by 'friendly fire' probably doesn't care too much that pear.php.net crashes IE6. I would call you a dumb ass, but you seem very knowledgeable in PHP and I may need some help in the future :-) nuff people would agree with you on the first part, some might credit me with the second part and here's hoping I can offer some help of the third part happens to pass. credit given for a smarty comment ... appreciated :-) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PEAR website and MSIE 6
2008. 01. 31, csütörtök keltezéssel 12.47-kor Robert Cummings ezt írta: On Thu, 2008-01-31 at 18:18 +0100, Jochem Maas wrote: Eric Butera schreef: On Jan 31, 2008 12:02 PM, Jochem Maas [EMAIL PROTECTED] wrote: Robert Cummings schreef: On Thu, 2008-01-31 at 17:14 +0100, Jochem Maas wrote: let's not forget that nobody outside of IT actually uses Opera Please back up that st-ass-tistic please. Methinks you reached around and pulled it out of your lightless nether regions. given that you can prove anything with statistics, I'd say that's where all stats come from - well not all from my ass but always someone's ;-) let me guess you use Opera ... and you work in IT right? :-P Cheers, Rob. My wife uses Opera and she doesn't know much about computers. I installed IE7, FF, Opera, Safari for Windows and she picked Opera on her own. I can't really get into it though. I guess the shitty interface is appealing to people with more taste than us :-) Steve Job's would be annoyed though - which is funny in and of itself :-P I dunno, Opera comes with a built in flag for disabling that wretching thing called tabbed browsing. Firefox requires you to install a plugin. ahh the Great Browser Holy War :) I must join in... I never wanted to turn tabbed browsing off (in fact I find it useful and convenient), so it is not a real concern Also, I find the configurability of Opera's interface to be superior to what I last used for Firefox. okay, then how do you stop Opera caching? I tried to turn it off everywhere but it keeps on creating local files while I browse. (ubuntu linux/opera 9.25) aside from that, opera is quite good but for development I find FF much more convenient. IE just plain sucks, but I have to test my stuff with it also so I have it installed, but I would never think about using it for anything else... greets Zoltán Németh Cheers, Rob. -- .. | InterJinn Application Framework - http://www.interjinn.com | :: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PEAR website and MSIE 6
On Fri, 2008-02-01 at 10:11 +0100, Zoltán Németh wrote: 2008. 01. 31, csütörtök keltezéssel 12.47-kor Robert Cummings ezt írta: On Thu, 2008-01-31 at 18:18 +0100, Jochem Maas wrote: Eric Butera schreef: On Jan 31, 2008 12:02 PM, Jochem Maas [EMAIL PROTECTED] wrote: Robert Cummings schreef: On Thu, 2008-01-31 at 17:14 +0100, Jochem Maas wrote: let's not forget that nobody outside of IT actually uses Opera Please back up that st-ass-tistic please. Methinks you reached around and pulled it out of your lightless nether regions. given that you can prove anything with statistics, I'd say that's where all stats come from - well not all from my ass but always someone's ;-) let me guess you use Opera ... and you work in IT right? :-P Cheers, Rob. My wife uses Opera and she doesn't know much about computers. I installed IE7, FF, Opera, Safari for Windows and she picked Opera on her own. I can't really get into it though. I guess the shitty interface is appealing to people with more taste than us :-) Steve Job's would be annoyed though - which is funny in and of itself :-P I dunno, Opera comes with a built in flag for disabling that wretching thing called tabbed browsing. Firefox requires you to install a plugin. ahh the Great Browser Holy War :) I must join in... I never wanted to turn tabbed browsing off (in fact I find it useful and convenient), so it is not a real concern Also, I find the configurability of Opera's interface to be superior to what I last used for Firefox. okay, then how do you stop Opera caching? I tried to turn it off everywhere but it keeps on creating local files while I browse. (ubuntu linux/opera 9.25) I never noticed that before... with a little ingenuity though I found the following to be successful: cd ~/.opera sudo chown root:root cache4 sudo chmod 000 cache4 ;) Cheers, Rob. -- .. | InterJinn Application Framework - http://www.interjinn.com | :: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PEAR website and MSIE 6
Daevid Vincent wrote: I will be very sad in 15 days when M$ FORCES everyone to it. WT? -- Richard Heyes http://www.websupportsolutions.co.uk Knowledge Base and Helpdesk software for £299pa hosted for you - no installation, no maintenance, new features automatic and free -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PEAR website and MSIE 6
On Jan 31, 2008 7:04 AM, Eric Butera [EMAIL PROTECTED] wrote: IE8 passes Acid2. :) They make a salve for that I heard. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] PEAR website and MSIE 6 (M$ forcing IE7)
-Original Message- From: Richard Heyes [mailto:[EMAIL PROTECTED] Sent: Friday, February 01, 2008 3:43 AM To: Daevid Vincent Cc: 'PHP General List' Subject: Re: [PHP] PEAR website and MSIE 6 Daevid Vincent wrote: I will be very sad in 15 days when M$ FORCES everyone to it. WT? Feb 12th is D-day. http://www.google.com/search?sourceid=navclientie=UTF-8rls=GGLG,GGLG:2005- 28,GGLG:enq=microsoft+forcing+ie7 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PEAR website and MSIE 6 (M$ forcing IE7)
On 2/1/08, Daevid Vincent [EMAIL PROTECTED] wrote: Feb 12th is D-day. http://www.google.com/search?sourceid=navclientie=UTF-8rls=GGLG,GGLG:2005- 28,GGLG:enq=microsoft+forcing+ie7 Actually... http://blog.wired.com/monkeybites/2008/01/microsofts-ie-7.html The short story is that you won't wake up February 12 and find your beloved IE 6 has been replaced with IE 7. It's not a for sure thing, it depends on your setup it looks like. WSUS definately needs assistance. It looks a bit confusing according to microsoft's website whether a normal user's XP will be upgraded. Of course, you can just not upgrade your system, or selectively install the updates (which I suggest anyhow) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PEAR website and MSIE 6
Richard Heyes schreef: Anyone have any trouble with this combination? It consistently crashes for me. firefox not an option? or anything else that resembles a proper browser ;-) http://pear.php.net Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PEAR website and MSIE 6
On Jan 31, 2008 7:33 AM, Jochem Maas [EMAIL PROTECTED] wrote: Richard Heyes schreef: Anyone have any trouble with this combination? It consistently crashes for me. firefox not an option? or anything else that resembles a proper browser ;-) http://pear.php.net Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php IE8 passes Acid2. :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PEAR website and MSIE 6
Eric Butera schreef: On Jan 31, 2008 7:33 AM, Jochem Maas [EMAIL PROTECTED] wrote: Richard Heyes schreef: Anyone have any trouble with this combination? It consistently crashes for me. firefox not an option? or anything else that resembles a proper browser ;-) http://pear.php.net Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php IE8 passes Acid2. :) a, it's not out. b, all that was said was it does - is there proof? (screenshot doesn't count). c, they also want to force developers to include extra meta tags to force IE8 to run in strict valdation mode ... otherwise it will run using the old parser ... or something like that. d, it's liable to be more to do with EU lawsuits than actually giving a hoot about stds compliance of any sort. http://www.regdeveloper.co.uk/2008/01/25/ie8_version_switch/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PEAR website and MSIE 6
On Thu, 2008-01-31 at 14:35 +, Richard Heyes wrote: firefox not an option? Nope. or anything else that resembles a proper browser ;-) Strange, IE has been working fine for me for the last eight years... I can see your point. If all you know is subpar then subpar works fine. Cheers, Rob. -- .. | InterJinn Application Framework - http://www.interjinn.com | :: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php