All Questions
52
questions
0
votes
1
answer
2k
views
Configuring Apache for PHP
On my MacBook Pro, I used HomeBrew to install a new version of Apache and PHP. The problem I am dealing with right now is that I've got a problem in my apache configuration file such that php files ...
1
vote
0
answers
60
views
Trouble accessing Neo4j on Mac local network - XAMPP Apache PHP [closed]
I have a XAMPP Apache server running PHP and NEO4j on a Mac Pro/High Sierra. I am accessing a PHP page from another mac on the same network. The PHP page is loading fine but data is not being ...
1
vote
1
answer
9k
views
Modify the file 'config.inc.php' for XAMPP, PHPMyAdmin & MySQL setup
I installed XAMPP and subsequently set a password for PHPMyAdmin & MySQL, which requires me to modify the file 'config.inc.php' to add my password to it. However, I simply can't find a way to ...
2
votes
1
answer
979
views
Install php trader on mac os
I am trying to install on my MAC the trader modul from PHP. I am running on PHP 7.1
Here my error:
sudo pecl install trader
Warning: Invalid argument supplied for foreach() in Downloader.php on ...
0
votes
0
answers
1k
views
Php function fopen is not working in mac
I am running php script in which fopen function is not working its showing error. I am using local environment.
$newf = fopen ($newfname, 'wb');
Warning: fopen(/Applications/XAMPP/xamppfiles/htdocs/...
1
vote
0
answers
553
views
Opening a video through PHP's shell_exec fails on Mac OS X
I'm hosting a local web application on my computer (Mac OS X) which contains a button to open a video with QuickTime. On button click an AJAX request is made to a PHP script with the following content:...
3
votes
0
answers
723
views
Configuring PHP for MongoDB on Mac OS X Sierra
I'm having some difficulty configuring PHP to integrate with MongoDB on my Mac.
I can confirm that PHP is running correctly, and the php.ini file I am tinkering with is the correct one (I can see ...
-2
votes
1
answer
221
views
How to get php 7 on mac?
I want to upgrade my php from php5 to php7. I want to do it through the terminal and I just cant figure out how.
Does anyone have a step by step guide on how to do it?
0
votes
3
answers
179
views
How to develop with php and MySQL on a mac
I have recently started using a Mac, moving over from Windows. On Windows I use XAMPP for php and MySQL. What should I use on a mac?
I know Macs have built in php and the apache server but I am not ...
18
votes
2
answers
99k
views
How can I remove Apache2 that I have installed in Mac OS X?
A while ago I thought that it would be handy to install Apache2 on my MacBook and not go the easy route by just installing MAMP. However now I’ve changed my mind but I can’t simply delete Apache2. I’...
1
vote
1
answer
1k
views
Activate PHP OpenSSL module on Mac Yosemite
I've got a new MacBook Pro (with latest Yosemite) I'm setting up for web development. I am running PHPStorm as my IDE. PHPStorm cannot use its built-in composer functionality, saying it cannot connect ...
0
votes
3
answers
262
views
Building PHP For MacOS
I was using XAMPP and decided to uninstall it and use MacOS' in-built apache and php modules.
But while uninstalling XAMPP I deleted /usr/bin/php files and other PHP-CLI files accidentally. And I ...
1
vote
1
answer
2k
views
Understanding the scope and lifetime of environment variables in shell scripting
I'm pulling my hair out trying to understand shell scripting and passing environment variables, and what not.
I'm trying to execute a PHP script from TextWrangler, that in it's turn opens a new PHP ...
0
votes
2
answers
790
views
How to use built-in PHP-FPM in OS X Mountain Lion?
I would like to know how php-fpm included in Mountain Lion (v10.8.5) can be used (eg. with NGINX).
I am afraid that some configuration might be needed before it is actually used.
NOTE: I know how to ...
1
vote
0
answers
97
views
Activate PHP on Mac Os 10.7.5
Trying to activate PHP. Guides state that web sharing must be turned on but when I go to Apple menu/System Preferences/Sharing and check web sharing, system starts web sharing then immediately ...