M
moonraker
Guest
Reading the previous post this is a follow on from ethea's post, so hopefully some feedback will help us both.
To set the picture, i have been creating PHP scripts and testing them on a web sever that it hosted by Lunarpages. So as is the norm i have a username/password etc along with FTP details so i can connect to this server and upload files. Then i test them using a www url.
My MySQL databases reside on my MAC and i can run queries etc from the Terminal. I have created a user name for myself and a password.
The next step is for me to get PHP and MySQL talking. I had access issues connecting to my database from the remote server, so have decided to store my PHP scripts on my Mac.
Apache 1.3 is running fine, and i believe PHP is already installed (if not i can download it), however im not sure how to display HTML/PHP pages in the web browser via localhost (replacing the Apache welcome page). Can anybody tell me where to put files so i can see them in the browser? It sounds dumb but i cant even get phpinfo() to be displayed.
To set the picture, i have been creating PHP scripts and testing them on a web sever that it hosted by Lunarpages. So as is the norm i have a username/password etc along with FTP details so i can connect to this server and upload files. Then i test them using a www url.
My MySQL databases reside on my MAC and i can run queries etc from the Terminal. I have created a user name for myself and a password.
The next step is for me to get PHP and MySQL talking. I had access issues connecting to my database from the remote server, so have decided to store my PHP scripts on my Mac.
Apache 1.3 is running fine, and i believe PHP is already installed (if not i can download it), however im not sure how to display HTML/PHP pages in the web browser via localhost (replacing the Apache welcome page). Can anybody tell me where to put files so i can see them in the browser? It sounds dumb but i cant even get phpinfo() to be displayed.