A community in which webmasters can ask for help with topics such as PHP coding , MySQL , IT jobs, web design, IT security.
Current location:homephp forumphp talk in 2009 yearMac OS X - Location of socket for PHP & fastcgi? - page 1
User InfoPosts
Mac OS X - Location of socket for PHP & fastcgi?#1
I(m running on Mac OS X 10.5.6. I(ve built PHP 5.2.9 at /usr/local/php and enabled fast_cgi. I(m also using lighttpd as my server. I am confused as where the php fastcgi socket exists. My lighttpd server settings are:

fastcgi.server = ( ".php" =>
( "localhost" =>
(
"socket" => "/var/run/lighttpd/php-fastcgi.socket",
"bin-path" => "/usr/local/php/bin/php-cgi"
)
)
)


Its the "socket" => "/var/run/lighttpd/php-fastcgi.socket" that I(m not sure about.

posted date: 2009-04-14 20:54:00


Re: Mac OS X - Location of socket for PHP & fastcgi?#2
I had made out the solution of this problem. click to view my topic...

hope that hepls.

posted date: 2009-04-14 20:54:01


Re: Mac OS X - Location of socket for PHP & fastcgi?#3
Check your PHP info—I would assume that the location of the socket would be listed in there.<?php phpinfo(); ?>

posted date: 2009-04-14 21:00:00


Re: Mac OS X - Location of socket for PHP & fastcgi?#4
In OS X usually the sockets are under/private/var/run/but it might be different in your case.To be sure again, open Terminal and tryphp -iit should tell you

posted date: 2009-04-14 21:21:00


Re: Mac OS X - Location of socket for PHP & fastcgi?#5
This is my info: PHP Version => 5.2.9 Configure Command => './configure' '--prefix=/usr/local/php' '--with-config-file-path=/usr/local/conf/php' '--enable-fastcgi' Server API => Command Line Interface

posted date: 2009-04-14 21:32:00


Re: Mac OS X - Location of socket for PHP & fastcgi?#6
No socket info though.

posted date: 2009-04-14 21:33:00


select page: « 1 »
Copyright ©2008-2017 www.momige.com, all rights reserved.