Questions tagged [php]

PHP is a server-side scripting language used to build dynamic web pages.

15 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
0answers
50 views

PHP mail not sending (possible macOS Server or Firewall issue?)

This is a relatively complex problem and LONG description, so bear with me. Please ask questions in the comments if you think I can clarify something. I am hosting multiple websites on a single ...
2
votes
0answers
229 views

Installing a different version of Apache and PHP

I have OS X Yosemite, it comes with default Apache 2 and PHP versions. I want to set up a development environment with older version of Apache (2.2) and PHP (5.3). I have a product set up running on ...
2
votes
1answer
854 views

How to make ffmpeg use correct libfreetype version?

I have a PHP application that uses ffmpeg with libfreetype. I installed both ffmpeg and libfreetype from macports. But I keep getting this error: 2013-08-30 14:44:21 - Generate poster - Create ...
1
vote
0answers
163 views

Installing and using CodeIgniter on macOS?

I followed this tutorial online and I'm currently running macOS High Sierra. I tried a simple rest API using PHP and now I'm trying to implement it using CodeIgniter3.x framework. The one I created ...
1
vote
0answers
75 views

How to set PHP alias for all users

This is probably easy, but I don't know how to set it for all users. So, when I run: which php it shows /usr/local/php5-7.2.0-20171215-181251/bin/php However I've just installed PHP using brew on ...
1
vote
0answers
803 views

Unable to connect to localhost on my development machine

I'm configuring a new Web development machine using the very complete and well-written guide published by Echo Software but I cannot connect to localhost after following/checking every step. My only ...
1
vote
0answers
518 views

Apache/PHP can't resolve localhost

After upgrading to Yosemite, I'm having an issue with Apache and PHP running locally. PHP can't find my local database server using localhost but it can if I specify 127.0.0.1 or test.dev (which ...
1
vote
0answers
60 views

Different file kinds for same kind(/type) of files

I am seeing this weird thing on Mac (OSX). I have a PHP project where the file kind of certain PHP is listed as PHP where as other listed as TextWrangler text document; although all PHP files are ...
1
vote
0answers
796 views

How do I switch which instance of php is used on my Mac?

I have three installed versions of php on my Mac. When I check using phpinfo() via a web browser, the one that is being invoked is version 5.3.15. I would like to switch it to the installed instance ...
1
vote
1answer
1k views

Uninstalling all instances of apache, php and mysql

So When I first got my mac mini, I installed things like apache, mysql and php - not knowing that apple either came with these or had a tool called mamp that would allow you to run these. I thought ...
0
votes
0answers
688 views

Mcrypt Extension for Mojave's PHP 7.1 not using brew

I'm using macOS Mojave (10.14.3) and it already has apache2 and php 7.1 which are setup. I want mcrypt installed but all the info on the internet including this uses brew. I didn't install php using ...
0
votes
0answers
597 views

PHP and Apache not working after upgrading to Mojave

I have a very similar question as this PHP not working after upgrading to OS Mojave so it's not a duplicate as I get a different error I had Apache and PHP working absolutely fine running on High ...
0
votes
0answers
1k views

How to compile PHP with OpenSSL on OS X 10.9?

So I'm while trying to compile PHP 5.6.10 from the source faced the following problem: Undefined symbols for architecture x86_64: "_PKCS5_PBKDF2_HMAC", referenced from: _zif_openssl_pbkdf2 in ...
0
votes
1answer
64 views

Upgrade PHP, not install additional PHP

My new work has just given me a MacBook Pro running macOS Sierra 10.12.6 to use as a development machine. It has PHP 5.6 installed and when I ran curl -s http://php-osx.liip.ch/install.sh | bash -s 7....
0
votes
1answer
1k views

403 forbidden on Apache vHost

I'm using Mac OS X 10.6.8 and I'm trying to configure a vHost. I configured it and it gave me a 403 Forbidden, and I'm having trouble giving _www permission to read/write in ~/Document/workspace/dev ...