OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
php-general Digest 15 Jan 2006 19:30:35 -0000 Issue 3907

php-general-digest-helplists.php.net
Date: Sun Jan 15 2006 - 13:30:35 CST


php-general Digest 15 Jan 2006 19:30:35 -0000 Issue 3907

Topics (messages 228624 through 228630):

Re: I have stange problem
        228624 by: Oliver Grätz

Template engine that doesn't rely on PEAR?
        228625 by: Murray . PlanetThoughtful
        228628 by: Jesús Fernández
        228629 by: Erin Fortenberry

PHP and Apache
        228626 by: Erik Saline

Running php scripts under cygwin
        228627 by: Robert Fitzpatrick
        228630 by: Robert Fitzpatrick

Administrivia:

To subscribe to the digest, e-mail:
        php-general-digest-subscribelists.php.net

To unsubscribe from the digest, e-mail:
        php-general-digest-unsubscribelists.php.net

To post to the list, e-mail:
        php-generallists.php.net

----------------------------------------------------------------------

attached mail follows:


Some other program blocking the port? Skype is known to cause trouble
when the "port 80/443 as fallback" option is activated (which is the
default). Of course, many other programs might cause such problems.

OLLi

attached mail follows:


Hi All,

Can anyone recommend a PHP 4.x compliant template engine that doesn't
depend on PEAR?

I can't get PEAR to operate properly on my remote host, so I'm looking
for something that can be dropped in to an existing site and is complete
in and of itself.

Any recommendations that suit the above would be very welcome!

Much warmth,

Murray

attached mail follows:


Maybe Smarty? Don't know if it depends on PEAR.

http://smarty.php.net

--
Esú - http://esu.proyectoanonimo.com
http://www.proyectoanonimo.com

attached mail follows:


> -----Original Message-----
> Cc: php-generallists.php.net
> Subject: Re: [PHP] Template engine that doesn't rely on PEAR?
>
> Maybe Smarty? Don't know if it depends on PEAR.
>
> http://smarty.php.net

I have used tiny but strong before... It is a lighter weight template system
then Smarty.

 http://tinybutstrong.com/

-Erin

attached mail follows:


Using Fedora Core 4 using the already Apache and Mysql. I tried using the already installed PHP but mysql support was not setup or shown when using phpinfo().

I recompiled PHP with the following.

'./configure' '--with-mysqli=/usr/bin/mysql_config' '--with-mysql=/usr/bin/mysql_config' '--enable-sockets' '--with-jpeg-dir=/usr' '--enable-exif' '--with-apx'

Now all my PHP scripts do not work here is the error I find in the Apache Error logs.

[Sat Jan 14 15:19:02 2006] [error] [client 192.168.1.1] (8)Exec format error: exec of '/var/www/cgi-bin/create_user.php' failed,
[Sat Jan 14 15:19:02 2006] [error] [client 192.168.1.1] Premature end of script headers: create_user.php,>

I can use php -i >phpinfo.html and see that PHP works and that mysql is now loaded.
I added this to my httpd.conf

AddType application/x-httpd-php .php

# which php at the command line returns
 /usr/local/bin/php

Do I need to add something in the httpd.d to direct it to /usr/local/bin/php instead of the intial defalt where
# which php returned
/usr/bin/php

Erik

attached mail follows:


I have a php script that I use for backup with rsync over ssh and those
tools work great under cygwin. I'd like to use this same script that I
use on my unix/linux servers.

You would think I could find lots of info on this subject, but for some
reason I can't. I found info from googling the subject and some mention
of building php with cygwin, but do not see PHP in cygwin setup. I hope
someone here has PHP running on cygwin and can perhaps point me to some
information or suggest how I can get my php script to run under cygwin,
hopefully via cron service. I am not sure if I need PHP in cygwin or can
access the php.exe already installed under Windows? I tried to run a php
script from a cygwin prompt using the php.exe installed into Windows,
but get lots of module not found errors. Is it possible to run a php
script under cygwin.

--
Robert

attached mail follows:


I have a php script that I use for backup with rsync over ssh and those
tools work great under cygwin. I'd like to use this same script that I
use on my unix/linux servers.

You would think I could find lots of info on this subject, but for some
reason I can't. I found info from googling the subject and some mention
of building php with cygwin, but do not see PHP in cygwin setup. I hope
someone here has PHP running on cygwin and can perhaps point me to some
information or suggest how I can get my php script to run under cygwin,
hopefully via cron service. I am not sure if I need PHP in cygwin or can
access the php.exe already installed under Windows? I tried to run a php
script from a cygwin prompt using the php.exe installed into Windows,
but get lots of module not found errors. Is it possible to run a php
script under cygwin.