This forum is dedicated to basic help and support :
Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.
Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer
by laidlaws » Dec 11th, '12, 15:44
Several supposedly OS-insensitive programs want the path to my PHP executable. I have never seen one in Linux. Does it exist?
Last edited by
laidlaws on Dec 12th, '12, 08:52, edited 1 time in total.
-
laidlaws
-
- Posts: 287
- Joined: May 24th, '11, 04:58
by djennings » Dec 11th, '12, 16:34
If you want to run php as a script you will need the php-cli package installed
- Code: Select all
Name : php-cli
Version : 5.3.15
Release : 1.mga2
Group : Development/Other
Size : 36224 Architecture: x86_64
Source RPM : php-5.3.15-1.mga2.src.rpm
URL : http://www.php.net
Summary : PHP5 CLI interface
Description :
PHP5 is an HTML-embeddable scripting language. PHP5 offers built-in database
integration for several commercial and non-commercial database management
systems, so writing a database-enabled script with PHP5 is fairly simple. The
most common use of PHP5 coding is probably as a replacement for CGI scripts.
This package contains a command-line (CLI) version of php.
This version of php has the suhosin patch 0.9.10 applied. Please
report bugs here: http://bugs.mageia.org/ so that the official maintainer of
this Mageia package can help you. More information regarding the
suhosin patch 0.9.10 here: http://www.suhosin.org/
The path to the executable is /usr/bin/php
-

djennings
-
- Posts: 613
- Joined: Jun 2nd, '11, 23:51
- Location: Wokingham, UK
by laidlaws » Dec 12th, '12, 06:48
Thanks. That was what I needed. Strangely, a file search for /usr/bin/php in rpmdrake had produced nothing.
-
laidlaws
-
- Posts: 287
- Joined: May 24th, '11, 04:58
Return to Basic support
Who is online
Users browsing this forum: No registered users and 1 guest