Sagewire Logo

Executing PHP

7 Message(s) by 4 Author(s) originally posted in php general


From: philthathril Date:   Thursday, October 25, 2007
------=_Part_3670_9168658.1193344460934

Content-Disposition: inline

Hi. Feel free to tell me this is a "duh" question. I do not know which PHP
executable (php.exe, php-cgi.exe, php-win.exe) is being run - how can I
tell?

I am on a Win2k3 server running PHP5 (manual install) and IIS 6. I have pointed
to the php5isapi.dll in IIS. I'm assuming b/c I do this that I am using the
php.exe. Thoughts? I have searched the PHP manual, but have had no luck.

Thanks in advance,
~Philip

------=_Part_3670_9168658.1193344460934--


From: tularis Date:   Thursday, October 25, 2007
wrote in message:
Hi. Feel free to tell me this is a "duh" question. I do not know which PHP
executable (php.exe, php-cgi.exe, php-win.exe) is being run - how can I
tell?
I am on a Win2k3 server running PHP5 (manual install) and IIS6. I have pointed
to the php5isapi.dll in IIS. I'm assuming b/c I do this that I am using the
php.exe. Thoughts? I have searched the PHP manual, but have had no luck.
Thanks in advance,
~Philip


Well, if you use the isapi then you're not using ANY of the ones you
listed, you're using php5isapi.dll.
The others are for various uses; the php-cgi.exe is meant to be used if
you've php support via CGI instead of via the isapi (like you are).
php.exe is a simple CLI , and php-win.exe is also a CLI but doesn't give
any output, thus not showing any DOS windows (which php.exe DOES).

http://www.php.net/features.commandline should give you more info

- Tul


From: stuttle Date:   Thursday, October 25, 2007
wrote in message:
Hi. Feel free to tell me this is a "duh" question. I do not know which PHP
executable (php.exe, php-cgi.exe, php-win.exe) is being run - how can I
tell?
I am on a Win2k3 server running PHP5 (manual install) and IIS6. I have pointed
to the php5isapi.dll in IIS. I'm assuming b/c I do this that I am using the
php.exe. Thoughts? I have searched the PHP manual, but have had no luck.



You're not running any exe file . IIS uses php5isapi.dll instead of an
exe file - they essentially do the same job but the dll is designed to
be loaded into another application.

-Stut

--
http://stut.net/


From: philthathril Date:   Friday, October 26, 2007
------=_Part_5835_25351986.1193404709922

Content-Disposition: inline

wrote in message:
wrote in message:
> Hi. Feel free to tell me this is a "duh" question. I do not know which
PHP
> executable (php.exe, php-cgi.exe, php-win.exe) is being run - how can I
> tell?
>
> I am on a Win2k3 server running PHP5 (manual install) and IIS6. I have
pointed
> to the php5isapi.dll in IIS. I'm assuming b/c I do this that I am using
the
> php.exe. Thoughts? I have searched the PHP manual, but have had no luck.
You're not running any exe file. IIS uses php5isapi.dll instead of an
exe file - they essentially do the same job but the dll is designed to
be loaded into another application.
-Stut


This is wonderful to know! Is this documented in the PHP manual (if so,
where), or are you just brilliant? =D

Thanks!
~Philip

------=_Part_5835_25351986.1193404709922--


From: instructicc Date:   Friday, October 26, 2007
--_e8dfe32b-296a-4a35-8f46-47ab079e1f8a_



Well on Mac/Unix/Linux you could type "ps" at the terminal to see the path =
to the running processes or "which php" to see which one you'd invoke.

Maybe you can upgrade to a Mac?

Parallels running Windows XP did not show me such info in the Task Manager; =
sorry.> Date: Thu, 25 Oct 2007 15:34:20 -0500
From: philthathril@xxxxxxxxxxx
To: php-general@xxxxxxxxxxx
Subject: [PHP] Executing PHP
=20
Hi. Feel free to tell me this is a "duh" question. I do not know which PHP
executable (php.exe, php-cgi.exe, php-win.exe) is being run - how can I
tell?
=20
I am on a Win2k3 server running PHP5 (manual install) and IIS6. I have poin=
ted
to the php5isapi.dll in IIS. I'm assuming b/c I do this that I am using t=
he
php.exe. Thoughts? I have searched the PHP manual, but have had no luck.
=20
Thanks in advance,
~Philip



_________________________________________________________________
Help yourself to FREE treats served up daily at the Messenger Caf=E9. Stop =
by today.
http://www.cafemessenger.com/info/info_sweetstuff2.html?ocid=3DTXT_TAGLM_Oc=
tWLtagline=

--_e8dfe32b-296a-4a35-8f46-47ab079e1f8a_--


From: philthathril Date:   Friday, October 26, 2007
------=_Part_7018_26485303.1193425726413

Content-Disposition: inline

wrote in message:
Well on Mac/Unix/Linux you could type "ps" at the terminal to see the path
to the running processes or "which php" to see which one you'd invoke.
Maybe you can upgrade to a Mac?
Parallels running Windows XP did not show me such info in the Task Manager;
sorry.


Oh I wish! I am a Mac user.... but my work is a Windoze shop so I do not have
much of an option. =/ Woe is me.

~Philip

PS... Anyone getting Leopard today? =D> Date: Thu, 25 Oct 2007 15:34:20 -0500
> From: philthathril@xxxxxxxxxxx
> To: php-general@xxxxxxxxxxx
> Subject: [PHP] Executing PHP
>
> Hi. Feel free to tell me this is a "duh" question. I do not know which
PHP
> executable (php.exe, php-cgi.exe, php-win.exe) is being run - how can I
> tell?
>
> I am on a Win2k3 server running PHP5 (manual install) and IIS6. I have
pointed
> to the php5isapi.dll in IIS. I'm assuming b/c I do this that I am using
the
> php.exe. Thoughts? I have searched the PHP manual, but have had no luck.
>
> Thanks in advance,
> ~Philip


------=_Part_7018_26485303.1193425726413--


From: instructicc Date:   Friday, October 26, 2007
--_a9b67df7-791a-408e-bf56-4ddb86e3218c_



> Well on Mac/Unix/Linux you could type "ps" at the terminal to see the p=
ath
> to the running processes or "which php" to see which one you'd invo=
ke.
>
> Maybe you can upgrade to a Mac?
>
> Parallels running Windows XP did not show me such info in the Task Manag=
er;
> sorry.
=20
=20
=20
Oh I wish! I am a Mac user.... but my work is a Windoze shop so I do not h=
ave
much of an option. =3D/ Woe is me.
=20
~Philip
=20
PS... Anyone getting Leopard today? =3DD



Earlier this week, the upgrade was poo pooood at the job, but now that the =
manager knows it is 64-bit, it's a go.

Personally, I will wait and probably get a new mini as well.
Old mini is Core Duo and unless having it at work makes me really want to g=
et it, I was not going to put it on my MacBook Pro yet.

_________________________________________________________________
Climb to the top of the charts!=A0 Play Star Shuffle:=A0 the word scramble =
challenge with star power.
http://club.live.com/star_shuffle.aspx?icid=3Dstarshuffle_wlmailtextlink_oc=
t=

--_a9b67df7-791a-408e-bf56-4ddb86e3218c_--



Next Message: POST variable as an array?


Blogs related to Executing PHP

[PHP-Nuke Forum] 3.3 security patch to PHP-Nuke 7.9 hosed my website
While executing query "SELECT * FROM thealli_users, nuke_cpg_usergroups WHERE user_group_cp = group_id AND user_id='1' AND user_active_cp = 'YES'" on 0 mySQL error: Table 'thealli_nuke.thealli_users' doesn't exist any help on this?

Get & Post Methods: How to & why. in PHP Tutorials
The strip_tags() command simply removes HTML and PHP tags from a string, & returns only its true text value. The reason for this is simple. You don't want someone to input PHP code that will execute when your script fires off. ...

#2445: Bug in doctrine-build-schema with MSSQL
pakeTask->execute() C:\xampp\php\pear\symfony\vendor\pake\pakeTask.class.php:181 1.0736 2440072 6. call_user_func_array() C:\xampp\php\pear\symfony\vendor\pake\pakeTask.class.php:218 1.0736 2440264 7. run_doctrine_build_schema() ...

Job Posting: OnForce Seeks PHP Developers (Lexington, MA)
OnForce is recruiting sharp, energetic PHP programmers to help develop, enhance and maintain its internal and external marketplace applications. The ideal candidate is self-motivated, with a passion for technology and a strong desire to ...

PHP Debugger DBG :: RE: moodle and 64bit platform
I believe this is okay because otherwise they would be shown from cache without executing any scripts on the server. Still I see no relation to php sessions. BTW what did you mean under "I do not get the session timed out problems"? ...

FTP functions in PHP
The FTP functions in PHP allows an user to connect to and login into a server, creating and removing directories, listing files in the current directory, execute a command, upload and download files to and from the server. ...


Programming | Sports | Autos

copyright 2006
Valid XHTML 1.0 Transitional