php-general Digest 16 Nov 2010 14:08:46 -0000 Issue 7039

2010-11-19 Thread php-general-digest-help

php-general Digest 16 Nov 2010 14:08:46 - Issue 7039

Topics (messages 309498 through 309509):

Is it possible to install PHP on IIS?
309498 by: Himani Aggarwal
309499 by: Aman Singh
309500 by: Richard Quadling
309502 by: Bastien
309503 by: Jay Blanchard
309504 by: Richard Quadling
309505 by: Jay Blanchard
309507 by: Richard Quadling

DOMDocument/DOMElement problem
309501 by: Peter Lind

mysql help (sorry, a bit OT)
309506 by: Gary
309508 by: a...@ashleysheridan.co.uk
309509 by: Andre Polykanine

Administrivia:

To subscribe to the digest, e-mail:
php-general-digest-subscr...@lists.php.net

To unsubscribe from the digest, e-mail:
php-general-digest-unsubscr...@lists.php.net

To post to the list, e-mail:
php-gene...@lists.php.net


--
---BeginMessage---
Hi Folks, is it possible to install PHP on IIS? If yes, can someone please
guide me on how to go about doing it? Thanks
---End Message---
---BeginMessage---
Himani,
See
http://blogs.iis.net/bills/archive/2006/09/19/how-to-install-php-on-iis7-_2800_rc1_2900_.aspx?WT.mc_id=soc-c-in-loc--cfp.
Also, see
http://blogs.iis.net/donraman/archive/2009/10/07/installing-php-on-windows.aspx?WT.mc_id=soc-c-in-loc--cfp

On Tue, Nov 16, 2010 at 12:16 PM, Himani Aggarwal 
incrediblehim...@gmail.com wrote:

 Hi Folks, is it possible to install PHP on IIS? If yes, can someone please
 guide me on how to go about doing it? Thanks

---End Message---
---BeginMessage---
On 16 November 2010 06:46, Himani Aggarwal incrediblehim...@gmail.com wrote:
 Hi Folks, is it possible to install PHP on IIS? If yes, can someone please
 guide me on how to go about doing it? Thanks


PHP on IIS. Certainly.

http://docs.php.net/manual/en/install.windows.iis7.php : IIS7 specific
instructions.
http://docs.php.net/manual/en/install.windows.manual.php : General
instructions for installing PHP manually.
http://docs.php.net/manual/en/install.windows.commandline.php :
Additional instructions for better integration of PHP into the
commandline.




-- 
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
---End Message---
---BeginMessage---


On 2010-11-16, at 6:55 AM, Richard Quadling rquadl...@gmail.com wrote:

 On 16 November 2010 06:46, Himani Aggarwal incrediblehim...@gmail.com wrote:
 Hi Folks, is it possible to install PHP on IIS? If yes, can someone please
 guide me on how to go about doing it? Thanks
 
 
 PHP on IIS. Certainly.
 
 http://docs.php.net/manual/en/install.windows.iis7.php : IIS7 specific
 instructions.
 http://docs.php.net/manual/en/install.windows.manual.php : General
 instructions for installing PHP manually.
 http://docs.php.net/manual/en/install.windows.commandline.php :
 Additional instructions for better integration of PHP into the
 commandline.
 
 
 
 
 -- 
 Richard Quadling
 Twitter : EE : Zend
 @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php


The windows web platform installer is also an option and will install php/Mysql 
and other apps like moodle, sugarcrm and others.

Bastien
 
---End Message---
---BeginMessage---
[snip]
 Hi Folks, is it possible to install PHP on IIS? If yes, can someone
please guide me on how to go about doing it? Thanks
[/snip]

http://www.wampserver.com/en/
---End Message---
---BeginMessage---
On 16 November 2010 13:21, Jay Blanchard jblanch...@pocket.com wrote:
 [snip]
 Hi Folks, is it possible to install PHP on IIS? If yes, can someone
 please guide me on how to go about doing it? Thanks
 [/snip]

 http://www.wampserver.com/en/


Jay, if that had been wimpserver ...

-- 
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
---End Message---
---BeginMessage---
[snip]
http://www.wampserver.com/en/
[/snip]

And yes, I know that this is Apache - I am just not a fan of IIS.

---End Message---
---BeginMessage---
On 16 November 2010 13:30, Jay Blanchard jblanch...@pocket.com wrote:
 [snip]
 http://www.wampserver.com/en/
 [/snip]

 And yes, I know that this is Apache - I am just not a fan of IIS.



I quite like it. It probably does way so much more than I need or want
and I think I can do everything that I can on Apache.

IIS7 is certainly a massive leap ahead of the PWS I first tried to use.

IIS+FastCGI+PHP. Add the Rewrite plugin and the PHP extensions
WinCache and SQLSvr (PDO if you want it) and you have a well defined
simple setup.

Obviously, getting to grips with the administration UI is a bit
different to just editing a plain text config file, but IIS does use
an XML file for its config, so, once you know the xsd, you can do that
by hand also. Full docs on the xsd are available online, so really,
I'd guess in terms of ability, IIS and Apache are on-par.

Richard.



-- 
Richard 

Re: [PHP] How to protect the source code.

2010-11-19 Thread Tamara Temple


On Nov 19, 2010, at 3:39 PM, Hans Åhlin wrote:


Does any one know if there is any way for me to protect my source code
without the requirement of a extension being installed on the server?
i.e encryption, obfusicator, script library, compile the code.


Perhaps it's just me, but I'm completely missing the point of this.  
How is someone going to get your code off of a server?



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] How to protect the source code.

2010-11-19 Thread Daniel P. Brown
On Fri, Nov 19, 2010 at 17:07, Tamara Temple tamouse.li...@gmail.com wrote:

 Perhaps it's just me, but I'm completely missing the point of this. How is
 someone going to get your code off of a server?

It's more likely that he's interested in learning how to protect
code he will be distributing or otherwise delivering to a third party
than worried about it being discovered on or taken from his server.

That said, the OP may benefit from Hip-Hop by Facebook, which
converts PHP code into optimized C++, which can then be compiled into
an optimized binary.

-- 
/Daniel P. Brown
Dedicated Servers, Cloud and Cloud Hybrid Solutions, VPS, Hosting
(866-) 725-4321
http://www.parasane.net/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] How to protect the source code.

2010-11-19 Thread Nathan Nobbe
On Fri, Nov 19, 2010 at 3:07 PM, Tamara Temple tamouse.li...@gmail.comwrote:


 On Nov 19, 2010, at 3:39 PM, Hans Åhlin wrote:

  Does any one know if there is any way for me to protect my source code
 without the requirement of a extension being installed on the server?
 i.e encryption, obfusicator, script library, compile the code.


 Perhaps it's just me, but I'm completely missing the point of this. How is
 someone going to get your code off of a server?


most likely op intends to distribute code to others which they do not want
to be recognizable yet still be runnable.

one way to cope with this as mentioned before on this list is to provide a
thin api client in non-obfusticated form for an api which houses most of the
proprietary logic on a remote server.

most (all?) of the proposed solutions require installations of non-standard
extensions or runtime environments on the server for clients and that
typically is not realistic.

-nathan


Re: [PHP] mysql help (sorry, a bit OT)

2010-11-19 Thread Andre Polykanine
Hello Gary,

Actually, what I do here is the following: I create a subdomain called
beta.mysite.com (for me it's http://beta.oire.org/ and
http://beta.gviragon.org/ :-)). There I have a copy of my database and
all of my files. The only difference is the mysql_select_db in the
connect.php file.
There I can easily test everything I need (including PHP files and
MySql queries) without any danger to crash the main release).
-- 
With best regards from Ukraine,
Andre
Skype: Francophile
Twitter: http://twitter.com/m_elensule
Facebook: http://facebook.com/menelion

- Original message -
From: Gary php-gene...@garydjones.name
To: php-general@lists.php.net php-general@lists.php.net
Date: Tuesday, November 16, 2010, 3:35:12 PM
Subject: [PHP] mysql help (sorry, a bit OT)

Is there a way to check the syntax of a query, short of running it? I've
got an insert to do (but of course it's a valid question for any query
that changes the db contents) and would like to know that the sql I am
generating (in php - see! not so off-topic!) is correct. 

What I don't want to do is run it for testing (live system *sigh*) and
find out it is correct (it will change the db), but... I have to test it
to check that the syntax (at least) *is* correct.


-- 
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] My project requires creating office documents on PHP. Any recommendations on what to use?

2010-11-19 Thread chetan ahuja
My project requires creating office documents on PHP. Any recommendations on
what to use?


[PHP] How good is IIS for hosting PHP? Can I get stuff like mod_rewrite rules, op-code caching, etc.?

2010-11-19 Thread lavanya pandita
How good is IIS for hosting PHP? Can I get stuff like mod_rewrite rules,
op-code caching, etc.?


Re: [PHP] How good is IIS for hosting PHP? Can I get stuff like mod_rewrite rules, op-code caching, etc.?

2010-11-19 Thread Aman Singh
Check out
http://learn.iis.net/page.aspx/773/how-to-install-the-microsoft-web-platform-for-php
?WT.mc_id=soc-c-in-loc--cfp/
Also mod_rewrite is possible:
http://learn.iis.net/page.aspx/470/importing-apache-modrewrite-rules?WT.mc_id=soc-c-in-loc--cfp.

Ditto for caching: http://www.iis.net/download/wincacheforphp

On Sat, Nov 20, 2010 at 11:45 AM, lavanya pandita
lavanyapand...@gmail.comwrote:

 How good is IIS for hosting PHP? Can I get stuff like mod_rewrite rules,
 op-code caching, etc.?



Re: [PHP] How to protect the source code.

2010-11-19 Thread Hans Åhlin
2010/11/19 Daniel P. Brown daniel.br...@parasane.net

 On Fri, Nov 19, 2010 at 17:07, Tamara Temple tamouse.li...@gmail.com wrote:
 
  Perhaps it's just me, but I'm completely missing the point of this. How is
  someone going to get your code off of a server?

    It's more likely that he's interested in learning how to protect
 code he will be distributing or otherwise delivering to a third party
 than worried about it being discovered on or taken from his server.

    That said, the OP may benefit from Hip-Hop by Facebook, which
 converts PHP code into optimized C++, which can then be compiled into
 an optimized binary.

 --
 /Daniel P. Brown
 Dedicated Servers, Cloud and Cloud Hybrid Solutions, VPS, Hosting
 (866-) 725-4321
 http://www.parasane.net/

It's mainly to protect the code from leaking when I or a client are
using a shared-host.
Then the other reason is so i can distribute the work for approval and
then the code when I get paid.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php