S
S
SmithIT72014-12-01 09:52:05
Plesk
SmithIT7, 2014-12-01 09:52:05

How to use PleskPHP54 from the command line?

Good day!
There was a need to change the php settings during the script execution. Plesk 12 IIS PHP
installed on windows server C:\Program Files (x86)\Parallels\Plesk\Additional\PleskPHP54\php.ini ; Maximum execution time of each script, in seconds ; php.net/max-execution-time ; Note: This directive is hardcoded to 0 for the CLI SAPI max_execution_time = 0 Even with these settings, max_execution_time = 30 Which data does php give priority to, how can I determine where the settings are being read from? php script is run via bat file. Like this @echo off
cd "C:\Program Files (x86)\Parallels\Plesk\Additional\PleskPHP54\"
php.exe "C:\inetpub\vhosts\site.org\httpdocs\convert.php"
pause
How to use PleskPHP54 in such cases and correctly whether to use like this?
ini_set returns false
set_time_limit returns false

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question