Re: [PHP] Re: php in windows
I don't want to sound rude but I did say this before, why don't you get zend server CE or xampp and install that? On Thu, Apr 12, 2012 at 12:11 PM, Kirk Bailey wrote: > Steve, THERE IS NO SUCH FILE in tinyweb. It turns to the operating system > asspciations to determine what to use to process the cgi, then captures the > returned stdio output and feeds THAT back as part of the data stream back > down the stack. Therefore, it is not interfacing with the windows operating > system properly, and as I do not speak delphi, I am not sure how to go > through the sourcecode and rectify this. > If you like, I cna provide a link to the installer that adds it to a windows > computer so you can take a look- if you or anyone else is interested. Oddly > enough, it appears to handle python fine, and is reported by others to also > handle perl. > >> Kirk, >> >> You have to tell your "tinyweb" what to do with the .php extensions... in >> the config of the webserver, you will have to add a line saying where the >> php binary is, or uncomment it (as it probably already exists) and restart >> the webserver. >> >> >> As it appears to me, since you can have some "code" on the screen, your >> server does not know how to deal with it, so it will treat it like a text >> file, and just spew the code out. Once you have it pointing to the php >> binary, it will work. >> >> Good luck! >> >> Steve Staples. >> >> > > -- > 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] What's happened to our newsgroup?
Or everyone is on holiday for php :P On Fri, Jun 29, 2012 at 10:43 AM, tamouse mailing lists wrote: > On Wed, Jun 27, 2012 at 9:42 AM, Tedd Sperling wrote: >> On Jun 26, 2012, at 3:21 PM, Al wrote: >> >>> No postings for days. >>> >> >> Maybe everyone learned it -- no new questions. >> >> Cheers, >> >> tedd > > We now all have php.net open all the time so no more questions need to > be asked! :> > > -- > 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] Mac 10.7 Install/Copy fresh PHP over Pre-Installed PHP
Hi, In my experience there are 2 ways of installing php, conpile or download a package for your OS that already been built. On windows, you can build php or you download a msi/exe file and use that to install it Linux, you can use yum or apt-get to install php or you can compile it. Regarding macs, I'm not too sure on that one, all I know that you can get php on it. I know that this won't be much help but just sharing my experience with getting php installed. Regards, Daniel Fenn On Sat, Jul 28, 2012 at 5:56 AM, JeffPGMT wrote: > Please correct me if I'm wrong and IMAP is available (maybe a known config > issue?) > > Mac OSX 10.7, Using the pre-installed Apache & Php, IMAP is not installed, > pulled out my Apple for this server OS. > > $ php -v > PHP Warning: PHP Startup: Unable to load dynamic library > '/usr/lib/php/extensions/no-debug-non-zts-20090626/php_imap.dll' - > dlopen(/usr/lib/php/extensions/no-debug-non-zts-20090626/php_imap.dll, 9): > image not found in Unknown on line 0 > PHP 5.3.10 with Suhosin-Patch (cli) (built: Feb 20 2012 22:55:53) > Copyright (c) 1997-2012 The PHP Group > Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies > > Because Mac choose to not include "make" or IMAP (c-client 2007e or f) > support in the pre-installed PHP... > > Can I install PHP into another folder and then copy it over the > pre-installed location/folder? > > As I understand it "Make" requires the developer tools which I'm reluctant > to install as I'm not IT and this is not a dev box. > > So, where can I find a version of PHP that does not require "make" which is > not included in 10.7 nor to my knowledge 10.8? > > > > -- > 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] Vulnerability Announced in phpMyAdmin
Thank you for the heads up. On 9/26/12, tamouse mailing lists wrote: > On Tue, Sep 25, 2012 at 3:20 PM, Daniel Brown wrote: >> Just a three-list cross-post to bring it to everyone's attention >> at once, in case you weren't already aware. It was announced today >> that a compromised SourceForge mirror was distributing a malicious >> file with the phpMyAdmin package that allows an attacker to >> arbitrarily execute code on a server hosting the exploitable package. >> Obligatory (not intentionally self-serving) social media link here: >> >> https://twitter.com/oidk/status/250688002005811200 >> > > Signal boosting... > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Regards, Daniel Fenn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] magic_quotes_gpc stays on even when disabled in php.ini
I think ";magic_quotes_gpc = Off" should be "magic_quotes_gpc = Off" Then restart apache/php or whatever it is your running Regards, Daniel Fenn On Thu, Mar 28, 2013 at 11:39 AM, Madan Thapa wrote: > Hi, > > I installed php 5.3.23 recently on a CentOS sever and magic_quotes_gpc > stays on even when disabled in php.ini > > > root@server [~]# grep magic_quo /usr/local/php5.3/lib/php.ini > ; magic_quotes_gpc > ;magic_quotes_gpc = Off > magic_quotes_runtime = Off > magic_quotes_sybase = Off > root@server [~]# > > > > > php info results: > > magic_quotes_gpcOnOnmagic_quotes_runtimeOffOffmagic_quotes_sybaseOffOff > > > > Is anyone aware of such issues for php 5.3.23 ? or any where i might look > at in troubleshooting this? > > > Please advise. > > Thank you -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP compiler - HipHop performance
On Fri, Apr 26, 2013 at 1:56 PM, Norah Jones wrote: > Hi, > > I have downloaded HipHop for my website, I am going through various web > links which are suggesting that performance will improve 3-6 times. However > I don't know the Stability of the HipHop. > > Please provide your inputs so that I can decide to use HipHop. > > Thanks, > Norah Jones > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > I looked into HipHop once, and I decided not to use it, I felt that there are other ways of improving performance. Having said that, it really depends on what your running IE wordpress, phpbb, mybb etc. I rather install some cache plugin for wordpress and install something like xcache but that just me though.
[PHP] Apache 2.4.1 and php?
Just a quick question, will I be able to run Apache 2.4.1 and php 5.3.10 together? Or will I need to wait for php to be updated? I'm setting this up on CentOs 6.2 Regards, Daniel Fenn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Apache 2.4.1 and php?
Hi, Just a quick question, will I be able to run Apache 2.4.1 and php 5.3.10 together? Or will I need to wait for php to be updated? I'm setting this up on CentOs 6.2 Regards, Daniel Fenn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Apache 2.4.1 and php?
Hey guys, Thank-you for getting back to me. Considering that I'm building everything again from the ground up, I think I will make the change from running mod_php and go for a fastcgi setup. My only other question is, if I go with fastcgi will it work with accelerators such as APC and xcache? I heard that some setup doesn't work well with accelerators because of the fact the cache get cleared when php is not running. Regards, Daniel Fenn On Fri, Feb 24, 2012 at 9:51 PM, German Geek wrote: > Hi Daniel, > > You should be able to. Haven't tried it with that specific version, but > generally PHP is designed to run with any version of Apache. If it doesn't > work as a module you should always be able to compile it as a fastcgi > application and that should work. Then you can even setup different users to > run PHP, making it more controllable security-wise. > > Cheers, > Tim > > Twitter: @timhheuer > Blog: http://www.thheuer.com > > > > On Fri, Feb 24, 2012 at 10:24 PM, Fatih P. wrote: >> >> On Fri, Feb 24, 2012 at 3:58 AM, Daniel Fenn wrote: >> >> > Hi, >> > >> > Just a quick question, will I be able to run Apache 2.4.1 and php >> > 5.3.10 together? Or will I need to wait for php to be updated? I'm >> > setting this up on CentOs 6.2 >> > >> > Regards, >> > Daniel Fenn >> > >> > -- >> > PHP General Mailing List (http://www.php.net/) >> > To unsubscribe, visit: http://www.php.net/unsub.php >> > >> > >> you can run both. make sure you have proper configuration for each > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] problem about PHP-FPM in TCP socket and Unix socket
This how I would look at it, if it on the same box use socket, and yes it is expected that socket is faster than TCP since (as far as I know) you don't need to deal with the overhead of TCP. Regards, Daniel Fenn On Sat, Mar 3, 2012 at 3:56 AM, Yuchen Wang wrote: > Hello all, > > I am trying to config some new server > > All of my servers are using TCP Socket(127.0.0.1:9000) between nginx and > php-fpm before > > But, I run ab(ab -n 2 -c50 http://192.168.74.130:81/) to test the > performance of Unix Socket and TCP Socket, > the result is Unix is little better than TCP > > Usually we run php and web server in the same server, > So, TCP socket and Unix socket > Which method do you prefer ? > > Thank you > > -- > *Yuchen Wang* -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] problem about PHP-FPM in TCP socket and Unix socket
Something else that should be said: You won't need to muck around with firewall settings as well (that if your running a firewall on the same box On Sat, Mar 3, 2012 at 11:22 AM, Matijn Woudt wrote: > On Fri, Mar 2, 2012 at 5:56 PM, Yuchen Wang wrote: >> Hello all, >> >> I am trying to config some new server >> >> All of my servers are using TCP Socket(127.0.0.1:9000) between nginx and >> php-fpm before >> >> But, I run ab(ab -n 2 -c50 http://192.168.74.130:81/) to test the >> performance of Unix Socket and TCP Socket, >> the result is Unix is little better than TCP >> >> Usually we run php and web server in the same server, >> So, TCP socket and Unix socket >> Which method do you prefer ? >> >> Thank you >> >> -- >> *Yuchen Wang* > > Always go for Unix sockets. TCP has quite a bit overhead which > includes stuff you really don't need if two processes live on the same > server. Think about error detection, flow control, congestion control, > packet loss. None of these are needed if your system is functioning > correctly. > > - Matijn > > -- > 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] Re: CMS identification
Well if the OP has the link to it in the first place then yes that would work. On Mon, Mar 19, 2012 at 11:21 AM, Ross McKay wrote: > On Sun, 18 Mar 2012 23:20:21 +0100, Alain Roger wrote: > >>i have a customer who need to update his website but he was not able to >>tell me more about it. >>he just told me it's a CMS and sent me a screenshot. >>[...] > > Instead of hoping for a USENET reader to recognise that screenshot, open > the login page in a web browser and view source. It's likely that there > will be a meta tag in the head that tells you what the CMS is. > -- > Ross McKay, Toronto, NSW Australia > "Let the laddie play wi the knife - he'll learn" > - The Wee Book of Calvin > > -- > 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] Re: List working?
It working fine here, just people are busy I suppose. On Wed, Mar 28, 2012 at 10:45 AM, Shawn McKenzie wrote: > On 03/27/2012 04:34 PM, Matijn Woudt wrote: >> On Tue, Mar 27, 2012 at 11:32 PM, Shawn McKenzie >> wrote: >>> On 03/27/2012 04:23 PM, Jay Blanchard wrote: Seems unusual not to have any traffic on it all day long. >>> >>> i put in my codes but i only get blank page... >>> >> >> List seems to be working fine, last message was at 3:11 PM GMT. That's >> about 6 hours ago which doesn't seem unusual.. > > is not working fine, i put in my php codes and need help with blank screen > > -- > Thanks! > -Shawn > http://www.spidean.com > > -- > 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
[PHP] APC or any other cache for php 5.4.0?
Hello all, Just wondering, is there anyone on this mailing who is running php 5.4.0 and is running some sort of cache such as APC or xcache? I would love to be able to upgrade but I want to be sure that some cache would work before making the move. Thankyou:) Daniel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php