php-process | Process library -
kandi X-RAY | php-process Summary
kandi X-RAY | php-process Summary
Process library
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Executes a shell command .
- Clean up the process .
- Wait for the process .
- Returns the process status .
- Sends a signal to the process .
- Read data from source .
- Check if the process is running .
- Get the output stream .
- Get process ID
- Returns the error stream .
php-process Key Features
php-process Examples and Code Snippets
Community Discussions
Trending Discussions on php-process
QUESTION
I just upgraded my phpversion from php 7.1 to 7.3. Unfortunately I can't seem to get mysql working. I'm on a centos 7 box using yum package manager. These are my installed php packages. I've rebooted and tried uninstalling, reinstalling the mysql extension and it still won't show up in the phpinfo. The only mention of mysql is in the credits section.
...ANSWER
Answered 2021-May-14 at 02:38If you are using php-fpm, you can use php-fpm -i | grep php.ini
to find the loaded configuration file.
If using php-cli, php -i | grep php.ini
, and so on.
On some occasions, php-fpm and php-cli aren't using the same php.ini.
php -i -> php-cli
php-fpm -i -> php-fpm
Then add extension=yourExtension.so
to php.ini, and restart your php-fpm, using php-fpm -m | grep yourExtension
to check if the extension is loaded, it means work if printed you extension name.
If there's not, then, you need to find the extension_dir of php : php-fpm -i | grep extension_dir
, and check if there is yourExtension.so file, if there's not, it means your extension installed to a wrong place, you need make a soft link or simply cp yourExtension.so to that place.
If you're using multi-version php, you need check which php you are using.
QUESTION
My webserver's PHP was not working. I planned to reinstall PHP on the server. However, not able to uninstall PHP. When I tried to find the PHP from the terminal, I able to find it from php -v. Even when I tried to find the installed package using yum, I can see PHP is installed there. But when I tried to yum remove php*, it does not uninstall the php.
Here is my terminal output.
...ANSWER
Answered 2021-Apr-17 at 11:51I believe that the asterisk is interpreted by the shell, did you try yum -y remove 'php*'?
QUESTION
I have acquired VPS and got it with LAMP.
...ANSWER
Answered 2021-Mar-14 at 06:19Your installation seems a mess
1/ 2 PHP Stacks
You have both PHP 7.4 (php-* packages) and 7.3 installed (php73-php-* packages)
Read: Difference between php-* and php##-php-* packages ?
I recommend you remove everything
QUESTION
I want to execute php-fpm (7.2) with another group while staying in the original groups.
Currently php-fpm runs with www-data as user and group. I've created a new group (testgrp) and added the user www-data to the group.
www-data has gid: 33
testgrp has gid: 144
For a spawned PHP-process, /proc/PID/status
gives me:
ANSWER
Answered 2020-Apr-30 at 02:32So after looking into the source-code of php-fpm, I found the solution:
I had to add the user www-data to the www-data group (again).
Even though www-data is the primary group of user www-data, it has to be assigned in /etc/group
, because php-fpm uses the groups from /etc/group
+ the provided group while ignoring the primary group.
QUESTION
CentOS 7.6
I've ran through this same process on 5.x versions and 7.2 without issue, but some pear/pecl steps are failing in 7.4 as I'm attempting an upgrade migration from 7.2 right now.
During the provisioning process I am running a timezonedb upgrade from pecl and hitting an error:
...ANSWER
Answered 2020-Jan-06 at 23:48EDIT: Updated Solution
Below is my original solution. However the root issue here is that the remi install for some reason doesn't add anything to the $PATH when yum is used to install the packages.
It installs things into /opt/remi/php74/
and then its up to you to update your environment variables.
There is an environment source file left over as a hint on what to do:
QUESTION
I'm setting up a new server and trying to connect to Microsoft SQL Server Express 2014's database using "sqlsrv" extension/module with PHP 7.3 running in CentOS 7.6, but failed. However, with the same method in XAMPP, it does work!
I have installed php with the drivers according to the instructions from Microsoft page: https://docs.microsoft.com/en-us/sql/connect/php/installation-tutorial-linux-mac?view=sql-server-2017
In step 3, first two methods were not working, so I have installed PHP driver from the Remi repo instead:
[~]$ sudo yum install php-sqlsrv
And here is the list of installed packages:
...ANSWER
Answered 2019-Apr-11 at 08:37Sorry, but using all examples from Microsoft SQL Server from PHP, I cannot reproduce your issue. Connection works.
- check that server is ready to server client connections
- check firewall configuration (at least 1433 should be allowed, check with netstat of used ports)
- check from command line using sqlcmd command (from mssql-tools package)
- check from command line using a simple PHP script
- check SElinux configuration (httpd_can_network_connect)
P.S. notice I have push a small update of php-sqlsrv which properly pull msodbcsql17 instead of msodbcsql.
QUESTION
We are currently upgrading a TYPO3-Installation with about 60.000 Pages to V9.
The Upgrade-Wizard "Introduce URL parts ("slugs") to all existing pages" does not finish. In Browser (Install-Tool) I get a time-out. Calling it via
...ANSWER
Answered 2019-Apr-30 at 08:03After debugging I found out that the reason for this are messed up relations in database. So there are non deleted pages which points to non existing parents. This was mainly caused by a heavy clean up of the database before. Beside the wizard is not checking that and could be an improvement on it - the main problem is my database in that case.
QUESTION
I updated php from 7.0.31 to 7.2.8. Then installed php-fpm and nginx. Now I have next installed packages:
...ANSWER
Answered 2018-Aug-13 at 11:13I just deleted php72-php-fpm and installed again. yum install php72-php-fpm.x86_64 php72-php-devel.x86_64 php72-php-gd.x86_64 php72-php-mysqlnd.x86_64 php72-php-mbstring.x86_64 php72-php-pecl-igbinary.x86_64 php72-php-opcache.x86_64 php72-php-pecl-memcached.x86_64 php72-php-pecl-mcrypt.x86_64 php72-php-pecl-zip.x86_64 php72-php-pecl-msgpack.x86_64
and did settings for ini files in /etc/opt/remi/php72/php.d memcached.ini and etc.
QUESTION
Most PHP vital libraries have been mandating PHP7.1 in their releases lately and I happen to have an API staged on AWS elastic beanstalk PHP7.0 platform that I'd like to make compliant with this recent change.
Seeing as Amazon has greatly delayed this shift since December 1, 2016 release of PHP7.1, I've tried so many things to make PHP7.1 available on this AWS Elastic beanstalk platform originally intended for PHP7.0
Below is my sample upgrade script:
...ANSWER
Answered 2017-Sep-06 at 11:48Remi repository provides 2 way to install PHP 7.1
- base packages (php-*) 1 repository by version, single version allowed, so you need remi-php71 repository enabled
- SCL packages (php71-php-*) designed for parallel installation in remi-safe repository (which you have installed)
QUESTION
I have upgraded openssl version to 1.02l
from 1.0.1e
and PHP version from PHP 5.6
to PHP 7.1.8
(PHP is installed using yum)
The problem is, PHP still detects openssl version to 1.0.1e
whereas I want it to be updated to latest openssl version installed i.e 1.0.2l
I want to know what are my options here, how do I go about telling PHP to use the latest installed openssl version?
My finding tells me that the only way to do it is by recompiling PHP? (will appreciate if someone can tell me if there is other way) If the only way is by recompiling, I need help on how to go about it? what are the steps involved. From my understanding, here is how I think I have to do.
- Remove PHP version installed from YUM
- Download latest version of PHP from source and unzip in tmp directory
- Compile & Install PHP
Am I missing anything here?
** UPDATE **
Here are the list of php extensions installed using yum
...ANSWER
Answered 2017-Aug-15 at 18:22Yes, you need to download dev package of openssl (sources/headers), sources of PHP and configure it with following keys:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install php-process
PHP requires the Visual C runtime (CRT). The Microsoft Visual C++ Redistributable for Visual Studio 2019 is suitable for all these PHP versions, see visualstudio.microsoft.com. You MUST download the x86 CRT for PHP x86 builds and the x64 CRT for PHP x64 builds. The CRT installer supports the /quiet and /norestart command-line switches, so you can also script it.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page