G
G
Ghash2019-04-20 23:14:51
PHP
Ghash, 2019-04-20 23:14:51

How to connect php 7 to Apache on Mac OS?

Delivered through homebrew apache2, in /usr/local/etc/httpd/httpd.conf changed ServerName, DocumentRoot.
Installed php7.3:

curl -s https://php-osx.liip.ch/install.sh | bash -s 7.3

In the terminal, php -v gave:
PHP 7.3.3 (cli) (built: Mar 30 2019 08:43:01) ( NTS )

created phpinfo in localhost folder, but it doesn't work.
What should be written where in php.ini? or something to uncommit in httpd.conf?

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