Re: exec functions no longer work in PHP4?
| From: | Zack Hamm | Date: | Fri, 25 Aug 2000 03:55:09 +0000 |
| Subject: | Re: exec functions no longer work in PHP4? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-13570@lists.php.net to get a copy of this message | ||
<BLUSH> Pilot error, evidently PHP4 doesn't pick up the system environment
by default like PHP3 did (or at least mine did). I just put
"/usr/local/bin" in front of my app and it ran like a champ.... Duh.
Zack
Zack Hamm wrote:
> Okay,
>
> Running RH linux 6.2 with PHP4pl2
>
> I have a script which calls exec to a shell command, which USED to run
> fine on PHP 3.0.16. I install v.4 last night, and now the execs don't
> run. What gives? Is there some new command line option during the
> configure I'm not aware of?
>
> My configure command:
>
> ./configure' '--with-apxs=/usr/sbin/apxs' '--with-system-regex'
> '--with-zlib' '--enable-ftp' '--with-mysql=/usr/local/mysql'
> '--with-xml' '--with-imap'
>
> Zack
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net