Re: [PHP] Zend Studio, phpMyAdmin, and mysql.sock
Richard Lynch [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Sat, July 15, 2006 2:05 am, Kevin Waterson wrote: Being that these products are commercial in nature, should not they be supporting thier own products, rather than relying on the good will of the open source/PHP folks for tech support? If we should support Zend products, why not other commercial applications also? Is Zend hoping for volunteer contributions for commercial enterprises? Should we support Zend business partners also? Zend has provided a great deal to the PHP community -- Zend basically pays Ze'ev and Andi (and more) to work about half their time on improving PHP Open Source code. Zend has NEVER expected the PHP General list to provide free support for their products. It is inevitable that some people will turn here if Zend Support lags for whatever reason, for any definition you choose for lag -- but you can hardly blame Zend for that. -- Like Music? http://l-i-e.com/artists.htm I have used Zend Studio Professional for just over a year and I have only ever had two problems which I raised with Zend support, and in both cases their response was quick and their solution effective. Perhaps in some cases they do not get back quickly because they are still trying to analyse the problem, or trying to reproduce it before they can suggest a solution. I have no complaints with either their product or their support. -- Tony Marston http://www.tonymarston.net http://www.radicore.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] php-head-shrink WAS: Re: [PHP] Zend Studio, phpMyAdmin, and mysql.sock
Paul Scott wrote: --=neXtPaRt_1152981398 Content-Type: text/plain Content-Transfer-Encoding: 7bit My IBM laptop and I are having relationship issues... I suggest trading her in for a better looking model half her age, try a Mac Book Pro ;-) --Paul --=neXtPaRt_1152981398 Content-Type: text/plain; All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal/uwc2006/content/mail_disclaimer/index.htm --=neXtPaRt_1152981398-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Zend Studio, phpMyAdmin, and mysql.sock
This one time, at band camp, Richard Lynch [EMAIL PROTECTED] wrote: Zend has provided a great deal to the PHP community -- Zend basically pays Ze'ev and Andi (and more) to work about half their time on improving PHP Open Source code. As an ex-Zend employee I find that they are maybe the only ones with this arrangement. It is in the best interest of Zend to have the PHP language pushed further and (dare I name the beast?) Web 2.0 to be able to push thier line of products. What good is a PHP IDE without the PHP language? I am not putting forward some anti insert commercial application here scenario, but where do folks draw the line? Kind regards kevin -- Democracy is two wolves and a lamb voting on what to have for lunch. Liberty is a well-armed lamb contesting the vote. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Zend Studio, phpMyAdmin, and mysql.sock
On Sun, 2006-07-16 at 13:02, Kevin Waterson wrote: This one time, at band camp, Richard Lynch [EMAIL PROTECTED] wrote: Zend has provided a great deal to the PHP community -- Zend basically pays Ze'ev and Andi (and more) to work about half their time on improving PHP Open Source code. As an ex-Zend employee I find that they are maybe the only ones with this arrangement. It is in the best interest of Zend to have the PHP language pushed further and (dare I name the beast?) Web 2.0 to be able to push thier line of products. What good is a PHP IDE without the PHP language? I am not putting forward some anti insert commercial application here scenario, but where do folks draw the line? I don't think you can draw a line. There's black and white and a lot of gray in between and that gray zone depends on the person, how they feel on a particular day, etc etc etc. If we want to get dirty with the guts of this argument many people on this list are asking PHP questions that will advance their own commercial applications or services. While I think a Zend specific question isn't quite a PHP question, I do feel that some of them fall into the gray zone. 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] Zend Studio, phpMyAdmin, and mysql.sock
PHP List, My apologies to any and all that I may have offended for bringing up Zend specific issues here. I understand that PHP is developed by a huge community of developers whose efforts I appreciate very much. By stating that Zend is the company where PHP originates, I was not trying to state that they have any obligation to handle Zend Studio issues here on this list, or that this list is obligated to deal with Zend issue, or that their development contributions should eclipse the greater community. I was only surprised by the initial response which seemed to me to be a very hard line stance against any Zend related questions. Please understand that I was *hoping* for advice here, as Zend and PHP are surely highly correlated. But I apologize if I came across as if I *expected* answers. The original issue that caused me to post here has now definitely turned into a PHP issue, which I will encapsulate in a different posting from this apology. So, if issues of Zend can be put aside, I'd like to seek advice on how to get my local PHP 5 installation working again. Thanks to all members of this list for continuing to make PHP a great scripting language, and for making this list a great source of support. -- Dave M G -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Zend Studio, phpMyAdmin, and mysql.sock
PHP List, As was suggested on this list by Paul and Richard, I've resolved the Zend studio/MySQL socket issue by creating a symbolic link from /tmp/mysql.socl to /var/run/mysqld/mysqld.sock. ( ln -s /var/run/mysqld/mysql.sock /tmp/mysql.sock ) But, clearly in my earlier attempts to find a solution, I've munged up my php.ini file or something, because now not only does phpMyAdmin not connect, no PHP script that I run locally will work. To resolve this, I tried to retrace my steps and put everything back the way it was. I also reinstalled MySQL, PHP, and phpMyAdmin from the Ubuntu repositories using apt-get. Despite these efforts, whatever it is that I've done to mess up my system remains in place. When I start a PHP script that calls upon MySQL, I get the following error: Warning: mysql_pconnect() [function.mysql-pconnect]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /web_sites/web/db_fns.php on line 6. So far as I can remember, the only places I made edits were in /etc/php5/apache2/php.ini, and /etc/mysql/my.cnf. In /etc/php5/apache2/php.ini, here is what the relevant section looks like now: - - - - - - - - - ; Default port number for mysql_connect(). If unset, mysql_connect() will use ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the ; compile-time value defined MYSQL_PORT (in that order). Win32 will only look ; at MYSQL_PORT. mysql.default_port = 3306 ; Default socket name for local MySQL connects. If empty, uses the built-in ; MySQL defaults. mysql.default_socket = - - - - - - - - - My understanding of the above is that if the socket variable is left empty, it should go with the MySQL default. I have tried specifying mysql.default_socket = /var/run/mysqld/mysql.sock and mysql.default_socket = /tmp/mysql.sock, but that hasn't helped. As for /etc/mysql/my.cnf, it says: - - - - - - - - - [mysqld] pid-file= /var/run/mysqld/mysqld.pid socket = /var/run/mysqld/mysql.sock - - - - - - - - - I am unsure where to look to diagnose this problem further. Any advice would be much appreciated. Thank you. -- Dave M G -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Zend Studio, phpMyAdmin, and mysql.sock
This one time, at band camp, Dave M G [EMAIL PROTECTED] wrote: Please understand that I was *hoping* for advice here, as Zend and PHP are surely highly correlated. But I apologize if I came across as if I *expected* answers. You raise an interesting point. Whilst PHP uses the Zend Engine it is the only Zend product in use as far as I know. Zend have an array of other commercial products that are built with PHP, but are no different than any other commercial venture. Being that these products are commercial in nature, should not they be supporting thier own products, rather than relying on the good will of the open source/PHP folks for tech support? If we should support Zend products, why not other commercial applications also? Is Zend hoping for volunteer contributions for commercial enterprises? Should we support Zend business partners also? Kind regards Kevin -- Democracy is two wolves and a lamb voting on what to have for lunch. Liberty is a well-armed lamb contesting the vote. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Zend Studio, phpMyAdmin, and mysql.sock
Kevin Waterson wrote: This one time, at band camp, Dave M G [EMAIL PROTECTED] wrote: Please understand that I was *hoping* for advice here, as Zend and PHP are surely highly correlated. But I apologize if I came across as if I *expected* answers. You raise an interesting point. Whilst PHP uses the Zend Engine it is the only Zend product in use as far as I know. Zend have an array of other commercial products that are built with PHP, but are no different than any other commercial venture. Being that these products are commercial in nature, should not they be supporting thier own products, rather than relying on the good will of the open source/PHP folks for tech support? If we should support Zend products, why not other commercial applications also? Is Zend hoping for volunteer contributions for commercial enterprises? Should we support Zend business partners also? just_a_bit_of_silly_humour yeah ;-) let's take up support of all IBM, Oracle and/or Sun related problems right away. (actually I remember a thread where John Nichel quipped we should be supporting anything as long as it was somehow related to IBM - which is basically anything in the IT world ;-) and there are probably alot of people on this lsit developing on a Dell machine - given the problems Dell having been having with their customer support we should immediately offer all our time to helping Dell customers with support problems and lets those callcenter workers in India take a load off. my number is +31 800 ... anyone having relationship/personal problems should prefix the subject line of their posts 'php-head-shrink' to ensure a priority response. I don't think we should draw a line at hotmail support. /just_a_bit_of_silly_humour Kind regards Kevin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] php-head-shrink WAS: Re: [PHP] Zend Studio, phpMyAdmin, and mysql.sock
--=neXtPaRt_1152981398 Content-Type: text/plain Content-Transfer-Encoding: 7bit My IBM laptop and I are having relationship issues... --Paul --=neXtPaRt_1152981398 Content-Type: text/plain; All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal/uwc2006/content/mail_disclaimer/index.htm --=neXtPaRt_1152981398-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Zend Studio, phpMyAdmin, and mysql.sock
At 5:05 PM +1000 7/15/06, Kevin Waterson wrote: This one time, at band camp, Dave M G [EMAIL PROTECTED] wrote: Please understand that I was *hoping* for advice here, as Zend and PHP are surely highly correlated. But I apologize if I came across as if I *expected* answers. You raise an interesting point. Whilst PHP uses the Zend Engine it is the only Zend product in use as far as I know. Zend have an array of other commercial products that are built with PHP, but are no different than any other commercial venture. Being that these products are commercial in nature, should not they be supporting thier own products, rather than relying on the good will of the open source/PHP folks for tech support? If we should support Zend products, why not other commercial applications also? Is Zend hoping for volunteer contributions for commercial enterprises? Should we support Zend business partners also? Kind regards Kevin Kevin: You raise obvious points, which few would disagree -- we shouldn't be expected to be the free support for a commercial product. However, if a php developer is looking for other developers who may have had similar experiences with Zend, or Apache, or whatever as it relates to php, is this not the forum for those types of questions? Again, just wondering where to draw the line. tedd -- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Zend Studio, phpMyAdmin, and mysql.sock
On Sat, July 15, 2006 2:05 am, Kevin Waterson wrote: Being that these products are commercial in nature, should not they be supporting thier own products, rather than relying on the good will of the open source/PHP folks for tech support? If we should support Zend products, why not other commercial applications also? Is Zend hoping for volunteer contributions for commercial enterprises? Should we support Zend business partners also? Zend has provided a great deal to the PHP community -- Zend basically pays Ze'ev and Andi (and more) to work about half their time on improving PHP Open Source code. Zend has NEVER expected the PHP General list to provide free support for their products. It is inevitable that some people will turn here if Zend Support lags for whatever reason, for any definition you choose for lag -- but you can hardly blame Zend for that. -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Zend Studio, phpMyAdmin, and mysql.sock
This sounds like a Zend Studio problem and question. It could possibly be a MySQL or even a phpMyAdmin question. It doesn't really have anything to do with PHP. You paid Zend for the product, ask them how it works. David Dave M G wrote: PHP List, I am trying out Zend Studio for editing and debugging my PHP scripts. When I first ran it, it kept giving me this error: Can't connect to local MySQL server through socket /tmp/mysql.sock After some research on the web, I found that this could be solved by editing /etc/mysql/my.conf so that it said: socket = /tmp/mysql.sock I was not thrilled about the idea of changing my MySQL server to meet the needs of one application, but I wanted to see if it would work, and it does. But, now phpMyAdmin doesn't work, saying: The server is not responding (or the local MySQL server's socket is not correctly configured) So what I really want to do is put my /etc/mysql/my.conf file back to the way it was, and make Zend listen on mysql's default socket, not on /tmp/mysql.sock. But, after much searching on the web, and in the Zend forums, I can't find any information on configuring Zend in this matter. What do I need to do to make Zend listen on the MySQL socket that I want it to listen on? (Which, by the way, is /var/run/mysqld/mysqld.sock) Thank you for any advice. -- Dave M G -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Zend Studio, phpMyAdmin, and mysql.sock
David Tulloh, This sounds like a Zend Studio problem and question. It could possibly be a MySQL or even a phpMyAdmin question. It doesn't really have anything to do with PHP. I realize that Zend Studio is separate from PHP, but I would hardly go so far as to say it has nothing to do with PHP. Zend is the company that *makes* PHP. Zend is a development environment for creating PHP. So I don't think it's at all unreasonable to think that maybe there are people here who use it (or even develop it) on this list. And I do realize that Zend has its own forum, and I have posted there. But the question has gone for days without response, so I'm broadening my search. What else should one do when one gets no response in a more specific forum? You paid Zend for the product, ask them how it works. Well, what I have is the trial version, which they say they support, but they have not responded to my email sent to them. So I don't know if I'm far down the priority list for not having paid yet or if they just usually take days to answer or what. In any case, this list is called PHP general. Am I really so unreasonable in thinking that asking about how to set up a PHP development environment so that I can debug my PHP scripts without it conflicting with the PHP database administration system is on-topic? -- Dave M G -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Zend Studio, phpMyAdmin, and mysql.sock
in phpmyadmin config.default.php you can specify the socket that it should be looking for. have you tried that? On 7/14/06, Dave M G [EMAIL PROTECTED] wrote: David Tulloh, This sounds like a Zend Studio problem and question. It could possibly be a MySQL or even a phpMyAdmin question. It doesn't really have anything to do with PHP. I realize that Zend Studio is separate from PHP, but I would hardly go so far as to say it has nothing to do with PHP. Zend is the company that *makes* PHP. Zend is a development environment for creating PHP. So I don't think it's at all unreasonable to think that maybe there are people here who use it (or even develop it) on this list. And I do realize that Zend has its own forum, and I have posted there. But the question has gone for days without response, so I'm broadening my search. What else should one do when one gets no response in a more specific forum? You paid Zend for the product, ask them how it works. Well, what I have is the trial version, which they say they support, but they have not responded to my email sent to them. So I don't know if I'm far down the priority list for not having paid yet or if they just usually take days to answer or what. In any case, this list is called PHP general. Am I really so unreasonable in thinking that asking about how to set up a PHP development environment so that I can debug my PHP scripts without it conflicting with the PHP database administration system is on-topic? -- Dave M G -- 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] Zend Studio, phpMyAdmin, and mysql.sock
On Fri, 2006-07-14 at 11:57, Dave M G wrote: David Tulloh, This sounds like a Zend Studio problem and question. It could possibly be a MySQL or even a phpMyAdmin question. It doesn't really have anything to do with PHP. I realize that Zend Studio is separate from PHP, but I would hardly go so far as to say it has nothing to do with PHP. Zend is the company that *makes* PHP. Zend is a development environment for creating PHP. While Zend definitely lends a hand, saying that it makes PHP seems to take away the credit all the other volunteers who add to PHP deserve. PHP existed before Zend, Zend is just one of the stepping stones in its evolution. So I don't think it's at all unreasonable to think that maybe there are people here who use it (or even develop it) on this list. And I do realize that Zend has its own forum, and I have posted there. But the question has gone for days without response, so I'm broadening my search. Sounds like you're not getting your money's worth. Personally I don't know why anyone would by Zend EXCEPT for the support since there are plenty of free alternatives. What else should one do when one gets no response in a more specific forum? You paid Zend for the product, ask them how it works. Well, what I have is the trial version, which they say they support, but they have not responded to my email sent to them. So I don't know if I'm far down the priority list for not having paid yet or if they just usually take days to answer or what. There's a bucket someplace... look up and you'll see all the paying people above you. In any case, this list is called PHP general. Am I really so unreasonable in thinking that asking about how to set up a PHP development environment so that I can debug my PHP scripts without it conflicting with the PHP database administration system is on-topic? You have asked a Zend specific question, the problem lies with Zend it would seem, and not PHP. While the two are obviously related, your question is not about PHP. 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] Zend Studio, phpMyAdmin, and mysql.sock
You could make a symbolic link from /tmp/ to whereever the real socket is. Then you won't have to change your other configurations. Thank you, -- Paul Nowosielski On Thursday 13 July 2006 22:53, Dave M G wrote: PHP List, I am trying out Zend Studio for editing and debugging my PHP scripts. When I first ran it, it kept giving me this error: Can't connect to local MySQL server through socket /tmp/mysql.sock After some research on the web, I found that this could be solved by editing /etc/mysql/my.conf so that it said: socket = /tmp/mysql.sock I was not thrilled about the idea of changing my MySQL server to meet the needs of one application, but I wanted to see if it would work, and it does. But, now phpMyAdmin doesn't work, saying: The server is not responding (or the local MySQL server's socket is not correctly configured) So what I really want to do is put my /etc/mysql/my.conf file back to the way it was, and make Zend listen on mysql's default socket, not on /tmp/mysql.sock. But, after much searching on the web, and in the Zend forums, I can't find any information on configuring Zend in this matter. What do I need to do to make Zend listen on the MySQL socket that I want it to listen on? (Which, by the way, is /var/run/mysqld/mysqld.sock) Thank you for any advice. -- Dave M G -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Zend Studio, phpMyAdmin, and mysql.sock
On Thursday 13 July 2006 21:53, Dave M G wrote: PHP List, I am trying out Zend Studio for editing and debugging my PHP scripts. When I first ran it, it kept giving me this error: Can't connect to local MySQL server through socket /tmp/mysql.sock After some research on the web, I found that this could be solved by editing /etc/mysql/my.conf so that it said: socket = /tmp/mysql.sock I was not thrilled about the idea of changing my MySQL server to meet the needs of one application, but I wanted to see if it would work, and it does. But, now phpMyAdmin doesn't work, saying: The server is not responding (or the local MySQL server's socket is not correctly configured) So what I really want to do is put my /etc/mysql/my.conf file back to the way it was, and make Zend listen on mysql's default socket, not on /tmp/mysql.sock. But, after much searching on the web, and in the Zend forums, I can't find any information on configuring Zend in this matter. What do I need to do to make Zend listen on the MySQL socket that I want it to listen on? (Which, by the way, is /var/run/mysqld/mysqld.sock) Thank you for any advice. -- Dave M G I ran into this problem myself. I had to not use --skip-networking. I use Slackware linux, so that was in the /etc/rc.d/rc.mysqld script. I don't know why that would make PHPMyAdmin not work though. HTH -- Ray Hauge Programmer/Systems Administrator American Student Loan Services www.americanstudentloan.com 1.800.575.1099 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Zend Studio, phpMyAdmin, and mysql.sock
On Sat, 15 Jul 2006 00:57:18 +0900, Dave M G wrote: In any case, this list is called PHP general. Am I really so unreasonable in thinking that asking about how to set up a PHP development environment so that I can debug my PHP scripts without it conflicting with the PHP database administration system is on-topic? In your Zend folder there is a folder called bin. In that folder you should see to other folders: php4 and php5. In each of those folders you should fine a file called php.ini. In that file add the following instruction: mysql.default_socket=/path/to/mysqld.sock -- Hilsen/Regards Michael Rasmussen http://keyserver.veridis.com:11371/pks/lookup?op=getsearch=0xE3E80917 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] List Nastiness (Was: RE: [PHP] Zend Studio, phpMyAdmin, and mysql.sock)
Thanks Mr. Rasmussen. (o: To the rest: There has been quite a bit of mean spiritedness on the list lately. I don't know if it is the weather, some strange astrological phenomenon, or something else entirely, but can we tone it down a bit? There has been way too much flame war-esque behavior lately. We're supposed to help each other here, no? Can't we all just get along? If someone says something nasty it's possible to just ignore it. Let it go. If you -need- to retort, then I would appreciate it if it was taken off list. Thanks! In any case, this list is called PHP general. Am I really so unreasonable in thinking that asking about how to set up a PHP development environment so that I can debug my PHP scripts without it conflicting with the PHP database administration system is on-topic? In your Zend folder there is a folder called bin. In that folder you should see to other folders: php4 and php5. In each of those folders you should fine a file called php.ini. In that file add the following instruction: mysql.default_socket=/path/to/mysqld.sock -- Hilsen/Regards Michael Rasmussen http://keyserver.veridis.com:11371/pks/lookup?op=getsearch=0xE3E80917 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Zend Studio, phpMyAdmin, and mysql.sock
At 1:42 PM -0400 7/14/06, Robert Cummings wrote: You have asked a Zend specific question, the problem lies with Zend it would seem, and not PHP. While the two are obviously related, your question is not about PHP. Cheers, Rob. Rob: You're certainly right, but do you think that a developer's question as to how to set up a php IDE should be out of the realm of a general php question? On one hand, it's common to tell posters to RTFM, but then we also tell them to go elsewhere if they ask a question who's answer is not in the manual -- is that right? I'm not arguing, I'm just asking for clarification. tedd -- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] List Nastiness (Was: RE: [PHP] Zend Studio, phpMyAdmin, and mysql.sock)
[snip] To the rest: There has been quite a bit of mean spiritedness on the list lately. I don't know if it is the weather, some strange astrological phenomenon, or something else entirely, but can we tone it down a bit? There has been way too much flame war-esque behavior lately. We're supposed to help each other here, no? Can't we all just get along? If someone says something nasty it's possible to just ignore it. Let it go. If you -need- to retort, then I would appreciate it if it was taken off list. [/snip] Blow it out your socks Bear. Either that or let me see your PHP sheriff's badge. /you had to know that was coming -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Zend Studio, phpMyAdmin, and mysql.sock
On Fri, 2006-07-14 at 14:57, tedd wrote: At 1:42 PM -0400 7/14/06, Robert Cummings wrote: You have asked a Zend specific question, the problem lies with Zend it would seem, and not PHP. While the two are obviously related, your question is not about PHP. Cheers, Rob. Rob: You're certainly right, but do you think that a developer's question as to how to set up a php IDE should be out of the realm of a general php question? On one hand, it's common to tell posters to RTFM, but then we also tell them to go elsewhere if they ask a question who's answer is not in the manual -- is that right? I'm not arguing, I'm just asking for clarification. Well I didn't tell him to take a hike, I merely clarified why some others might not find his question quite on topic. I didn't think my response was negative towards the OP, and having re-read it I still don't think it was negative. It was just a comment on how he might want to lower his expectations of the list when fielding a Zend question. I mean it's akin to saying Hi I generate HTML using PHP, can you tell me how to add borders to my table?. Anyways, we answer those questions all the time and sometimes we tell the poster to go use google or yahoo or whatnot. As someone said in the past, was it John Nichel? It seems we on the PHP list are experts on everything Internet. We're asked everything from tcp to sql to css to js to ftp to insert whatever I've missed. At any rate, I wasn't going to bother responding at all, but giving all the credit to Zend struck me as wrong, and once I responded to that I thought the bottom of the bucket analogy fitting, and then, and ... well anyways :) 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] Zend Studio, phpMyAdmin, and mysql.sock
ln -s /var/run/mysqld/mysqld.sock /tmp/mysql.sock As far as I know, the default for MySQL out of the box is /tmp/mysql.sock You'd have to complain to Zend Support to get a configure directive for this, if they don't already have one. On Thu, July 13, 2006 11:53 pm, Dave M G wrote: PHP List, I am trying out Zend Studio for editing and debugging my PHP scripts. When I first ran it, it kept giving me this error: Can't connect to local MySQL server through socket /tmp/mysql.sock After some research on the web, I found that this could be solved by editing /etc/mysql/my.conf so that it said: socket = /tmp/mysql.sock I was not thrilled about the idea of changing my MySQL server to meet the needs of one application, but I wanted to see if it would work, and it does. But, now phpMyAdmin doesn't work, saying: The server is not responding (or the local MySQL server's socket is not correctly configured) So what I really want to do is put my /etc/mysql/my.conf file back to the way it was, and make Zend listen on mysql's default socket, not on /tmp/mysql.sock. But, after much searching on the web, and in the Zend forums, I can't find any information on configuring Zend in this matter. What do I need to do to make Zend listen on the MySQL socket that I want it to listen on? (Which, by the way, is /var/run/mysqld/mysqld.sock) Thank you for any advice. -- Dave M G -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Zend Studio, phpMyAdmin, and mysql.sock
On Fri, July 14, 2006 10:57 am, Dave M G wrote: David Tulloh, This sounds like a Zend Studio problem and question. It could possibly be a MySQL or even a phpMyAdmin question. It doesn't really have anything to do with PHP. I realize that Zend Studio is separate from PHP, but I would hardly go so far as to say it has nothing to do with PHP. But like a few thousand products/projects out there, we really can't try to support all of them with all their foibles. Zend is the company that *makes* PHP. I used to work for Zend. They would be VERY peeved to have you saying this, because it's simply not true, and they know it. Zend is a development environment for creating PHP. So I don't think it's at all unreasonable to think that maybe there are people here who use it (or even develop it) on this list. You can also assume that there are people on this list who go scuba diving. That does not make scuba gear questions on-topic. What else should one do when one gets no response in a more specific forum? Ignore people who bitch at you for posting, especially when you said up-front that you weren't getting any support from Zend, and when you've obviously tried several different things. You paid Zend for the product, ask them how it works. Well, what I have is the trial version, which they say they support, but they have not responded to my email sent to them. So I don't know if I'm far down the priority list for not having paid yet or if they just usually take days to answer or what. That's definitely a problem. If the trial support is supposed to match the paid support, then I guess you now know that the support can be slow. In any case, this list is called PHP general. Am I really so unreasonable in thinking that asking about how to set up a PHP development environment so that I can debug my PHP scripts without it conflicting with the PHP database administration system is on-topic? I personally think you weren't that far off, though you could have posted that you were just using the trial version for evaluation, which I don't think was in the original. -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php