Thats the bit that confused me, I'm not to keyed up on this side of things.
I dont know how to go to the terminal shell and login as the administrator? is that simply just log into the machine as admin? in which case there is only one login on this machine.
how do you call in a command? lol!
sudo su
/Applications/xampp/xamppfiles/mampp start
That all seems to have been entered ok now.
I am using dreamweaver (i know, i know! Purely for code view though) i think this is where I am going wrong, in the set up stages, where it asks for the URL of the root folder, which i'm guessing should be http://localhost? its saying dreamweaver cannot use this prefix to display live data, and when i go to preview the index.php it just shows NOT FOUND and in the url bar its showing http://localhost/index.php.
http://localhost
Yeah I get the Xampp page.
I just changed the Xampp settings from PHP 5 to PHP 4 and it doesnt mention the prefix bit, and says it was tested sucessfully, but shows NOT FOUND
Yeah I get the Xampp page.
seems to be all running OK:
Macintosh:~ Mark$ sudo su
Password:
sh-3.2# /Applications/xampp/xamppfiles/mampp start
Starting XAMPP for MacOS X 0.7.2...
XAMPP: XAMPP-Apache is already running.
XAMPP: XAMPP-MySQL is already running.
XAMPP: XAMPP-ProFTPD is already running.
XAMPP for MacOS X started.
sh-3.2#
I just changed the Xampp settings from PHP 5 to PHP 4 and it doesnt mention the prefix bit, and says it was tested sucessfully, but shows NOT FOUND
<?php
phptest();
?>
http://localhost/test.php
okay, no worries matey, i appreciate all the help you have already given.
I just restarted all the components and got this, it mentions invalid arguement:
Stopping XAMPP for MacOS X 0.7.2...
XAMPP: Stopping Apache with SSL...
/Applications/xampp/xamppfiles/bin/apachectl: line 70: ulimit: open files: cannot modify limit: Invalid argument
XAMPP: Stopping MySQL...
XAMPP: Stopping ProFTPD...
XAMPP stopped.
Starting XAMPP for MacOS X 0.7.2...
XAMPP: Starting Apache with SSL (and PHP4)...
XAMPP: Starting MySQL...
XAMPP: Starting ProFTPD...
XAMPP for MacOS X started.
with the test.php file i get this:
Fatal error: Call to undefined function: phptest() in /Applications/xampp/xamppfiles/htdocs/test.php on line 9
okay, no worries matey, i appreciate all the help you have already given.
I just restarted all the components and got this, it mentions invalid arguement:
Stopping XAMPP for MacOS X 0.7.2...
XAMPP: Stopping Apache with SSL...
/Applications/xampp/xamppfiles/bin/apachectl: line 70: ulimit: open files: cannot modify limit: Invalid argument
XAMPP: Stopping MySQL...
XAMPP: Stopping ProFTPD...
XAMPP stopped.
Starting XAMPP for MacOS X 0.7.2...
XAMPP: Starting Apache with SSL (and PHP4)...
XAMPP: Starting MySQL...
XAMPP: Starting ProFTPD...
XAMPP for MacOS X started.
Anyway, for what I think you are trying to do, macs do it out the box![]()
I only need it for testing PHP.
I couldnt see the php includes without it? unless there is a way of doing it without xammp?