Jump to content

PHP in MAC


RaRa3
 Share

Recommended Posts

hello i have a problem i just want to run a simple php code, it use to work but i think once i updated to Yosemite something changed im not sure. So i want to create a php code that links with a database, but right now im doing a test code and i get nothing. I use XAMPP and i turned everything on and i used netbeans and set a php file hit run and i get "Object Not Found!" what is there i need to do? I know in XAMPP there PHP extension that can be turned on but when i use terminal to enter the code lines i get command not found. I need help please i just want to run right now this code:




			
				


	Edited  by RaRa3
	
	

			
		
Link to comment
Share on other sites

Glad to help. And no, there is no other way as PHP must be 'traslated' by a server to HTML and that's what your browser will show to you!EDIT: buying an actual server will do the job too but I suponse that has no sense for only practicing.

Edited by Stemar
  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...