10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi am new to perl script ..
i need some useful tutorials links to learn perl script..
and a sample script to call a php file from perl script..
thanks.. (3 Replies)
Discussion started by: senkerth
2. Shell Programming and Scripting
good afternoon forums.
i have a problem that ive been trying to work out all morning and cant seem to get my head around it.
what i have in my script is individual letters saved in different variables. so if the word unix was saved then 'u' would be stored in the variable 'wvar1' 'n' in 'wvar2'... (7 Replies)
Discussion started by: strasner
3. Shell Programming and Scripting
Maybe someone here can help out.
I have a script
cat <somefile> | while read hostname
/usr/bin/php <some php script> $hostname
This script works great for the first entry in the host list. However it will only execute and ignores the loop part. It's almost as if it loses... (4 Replies)
Discussion started by: dbakyle
I am stuck with a ruby script that extracts detials from yaml file and processes accordingly.
the yaml file
... (1 Reply)
Discussion started by: wrapster
5. UNIX for Dummies Questions & Answers
I am on SunOS 5.8 box. The problem is when i move files from one folder to another the command is executed and file is moved, but file permissions in the destination folder are "----------". i have to chmod the file and change the permissions everytime. i dont have a clue why this is... (3 Replies)
Discussion started by: The Nemi
6. Shell Programming and Scripting
I have a webpage that is in HTML and PHP. In PHP I have tried using exec, system, shell_exec and passthru functions to call an Expect Script file (temp.exp). This Expect file spawns a telnet session that uses "expect/send" commands to retrieve information from an environmental unit (not a normal... (0 Replies)
Discussion started by: CCUSmith
7. Shell Programming and Scripting
I have a shell script and I'm trying to execute it from my php script. The command I'm using is:
Is this correct? It seems to not do anything for me. Not sure if this might be a permission issue or not. I have both scripts 777 permissions. Maybe I got the... (1 Reply)
Discussion started by: eltinator
8. Shell Programming and Scripting
Hello all -
I have two systems.
1) Linux box running Redhat 8.0
2) Tru64 box running V4.0f
From the Linux box I am remotely mounting a directory (nfs mount) that resides on the Tru64 machine.
The directory that is nfs mounted contains two subdirectories:
I want... (3 Replies)
Discussion started by: Heron
9. UNIX for Dummies Questions & Answers
This is a line from my crontab:
12 12 * * * /home/users/ElburdNDL/www/backups/adddate.php
The permissions of the script is 755 it should execute ok....but it doesn't.
Do I somehow have to give cron the path to PHP or something?
If so, how exactly? Thanks.
PS Am a total newbie... (10 Replies)
Discussion started by: eludlow
I'm not familiar with C programming in Unix, but I'm trying to make work an example to execute external procedures (developed in C) from PL/SQL.
The example includes .c and .pc source files, which I have compiled succesfully.
After that, links the .o files into .so to declare... (0 Replies)
Discussion started by: lwnorowski
php-config(1) Scripting Language php-config(1)
php-config - get information about PHP configuration and compile options
php-config is a simple shell script for obtaining information about installed PHP configuration.
--prefix Directory prefix where PHP is installed, e.g. /usr/local
--includes List of -I options with all include files
--ldflags LD Flags which PHP was compiled with
--libs Extra libraries which PHP was compiled with
--man-dir The directory prefix where the manpages is installed
Directory where extensions are searched by default
--include-dir Directory prefix where header files are installed by default
--php-binary Full path to php CLI or CGI binary
--php-sapis Show all SAPI modules available
Configure options to recreate configuration of current PHP installation
--version PHP version
--vernum PHP version as integer
This manpage describes php, version 5.4.17.
Copyright (C) 1997-2010 The PHP Group
This source file is subject to version 3.01 of the PHP license, that is bundled with this package in the file LICENSE, and is available
through the world-wide-web at the following url:
If you did not receive a copy of the PHP license and are unable to obtain it through the world-wide-web, please send a note to
firstname.lastname@example.org so we can mail you a copy immediately.
The PHP Group 2010 php-config(1)