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:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[email protected]
----------------------------------------------------------------------
--- Begin Message ---
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
--- End Message ---
--- Begin Message ---
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
--- End Message ---
--- Begin Message ---
Maybe Smarty? Don't know if it depends on PEAR.
http://smarty.php.net
--
Esú - http://esu.proyectoanonimo.com
http://www.proyectoanonimo.com
--- End Message ---
--- Begin Message ---
> -----Original Message-----
> Cc: [email protected]
> 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
--- End Message ---
--- Begin Message ---
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
--- End Message ---
--- Begin Message ---
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
--- End Message ---
--- Begin Message ---
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.
--- End Message ---