I download XAMPP for Mac os x, but Http://127.0.0.1/xampp/index.php wont open. It opens on XAMPP for my windows laptop but not mac. Please help figure this out.
What doesn't open? What do you mean by "won't open?" Are you getting an error? Is the page displaying an error? Did you check the PHP error log?
Similar issue. http://localhost/ runs well (so xampp itself is ok),
but http://localhost/phpinfo.php will not :(
[ phpinfo.php is standard diag for php and reads:
<?php phpinfo.php ?>
running the script in terminal:
php phpinfo.php runs correctly
SO; it's the (xampp + php) configuration.
the xampp error_log contains:
[client 127.0.0.1] (13)Permission denied: exec of '/Applications/xampp/xamppfiles/cgi-bin/phpinfo.php' failed
[client client 127.0.0.1] Premature end of script headers: phpinfo.php
Copyright © 2024 QUIZLS.COM - All rights reserved.
Answers & Comments
Verified answer
What doesn't open? What do you mean by "won't open?" Are you getting an error? Is the page displaying an error? Did you check the PHP error log?
Similar issue. http://localhost/ runs well (so xampp itself is ok),
but http://localhost/phpinfo.php will not :(
[ phpinfo.php is standard diag for php and reads:
<?php phpinfo.php ?>
running the script in terminal:
php phpinfo.php runs correctly
SO; it's the (xampp + php) configuration.
the xampp error_log contains:
[client 127.0.0.1] (13)Permission denied: exec of '/Applications/xampp/xamppfiles/cgi-bin/phpinfo.php' failed
[client client 127.0.0.1] Premature end of script headers: phpinfo.php